Steven Luong
aa72578637
bonding: Add /if/lacp/<bond-sw_if_index>/<slave-sw_if_index>/partner-state
...
We already had /if/lacp/<bond-sw_if_index>/<slave-sw_if_index>/state in
the stats segment. Add also the partner-state to be complete.
Change to populate stats segment with the states at startup, after processing
an lacp pdu, and after timer expiration.
Unit test
---------
sudo vpp_get_stats dump | grep /if/lacp
63.00 /if/lacp/3/1/state
61.00 /if/lacp/3/1/partner-state
63.00 /if/lacp/3/2/state
61.00 /if/lacp/3/2/partner-state
Type: feature
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Ib7b8e1183d572bb6e422a846aaa2b7b3559a0dc7
2019-12-13 22:28:55 +00:00
Nathan Skrzypczak
380e857830
hsa: Fix timing & nits
...
Type: fix
Change-Id: I4fef896a3556df75532ef938ca2e263287dd74e8
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2019-12-13 22:05:49 +00:00
Klement Sekera
407f593dc0
ip: SVR: fix wrong return value
...
Type: fix
Change-Id: I9498b660bf2045bb6aac96d19bb9456a14b35847
Signed-off-by: Klement Sekera <ksekera@cisco.com>
2019-12-13 14:08:19 +00:00
Filip Tehlar
4c6b1b6da5
ikev2: fix crash during SA rekey
...
Type: fix
Change-Id: Ib00ab9b2f28c0f4d85e96bf95697f61b8e415f37
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2019-12-12 23:01:10 +00:00
Florin Coras
64cf459bc9
vcl: fix disconnect from binary api
...
Type: fix
Change-Id: I4398d26879b5efd932fa1d9ae232aa918ec736d6
Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-12 12:06:16 -08:00
Dave Barach
6d5df8d229
vlib: fix "<command> help"
...
Walk the sub_commands vector directly.
Type: fix
Fixes: 6b3f25caff262b536a5449ac5461dd041c92a655
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I3022b39e5a739647ec68effc6756166ce2da85b6
2019-12-12 18:02:48 +00:00
Florin Coras
ef4f3e7fea
session svm: support for segments larger than 4GB
...
Type: feature
Change-Id: I7d3017bbb369261d74f51807a226f2c12f45291c
Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-12 17:38:30 +00:00
Ole Troan
38277e4071
gbp: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ia886858fe608782d64a5346dd33e1e9fa22d8b8f
2019-12-12 16:10:40 +00:00
Florin Coras
62ddc03029
session svm: per thread fifo segment slices
...
Type: refactor
Change-Id: I9be652e56cdb48b0aee3253f7ce8d9bed299d824
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Dave Barach <dave@barachs.net>
2019-12-12 15:20:10 +00:00
Ole Troan
a0bf06d74c
avf: explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: If693e066eeb9312d4535893c279446dc43e8baa2
2019-12-12 13:35:10 +00:00
Filip Varga
e6eaa24f15
nat: session cleanup fix
...
Ticket: VPP-1795
Type: fix
Change-Id: Ib3b5742119d7013c293a11eb3dd1aadf46b422dd
Signed-off-by: Filip Varga <fivarga@cisco.com>
2019-12-12 13:34:41 +00:00
Ole Troan
b644eb54f2
rdma: add explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I80c674b73b7f86cf159b8779aab31a87b20def9a
2019-12-12 08:55:25 +00:00
John DeNisco
4f85968a43
docs: Rework the startup configuration section
...
Type: docs
Signed-off-by: John DeNisco <jdenisco@cisco.com>
Change-Id: Ic60aac96a4aeb5532f98dfb85c776bf549c0d660
Signed-off-by: Dave Barach <dave@barachs.net>
2019-12-11 20:41:24 +00:00
Florin Coras
d4c709222b
vcl: separate binary api connections per thread worker
...
Type: fix
Change-Id: I2d72efc74a3b0a5b9e4da265475b1b01bf361125
Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-11 19:26:27 +00:00
Nathan Skrzypczak
0aa4013e20
api: Use vl_msg_push/pop_heap
...
Type: refactor
Change-Id: I0eb46676fc22ce6825b2d879498df344b5a855e8
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2019-12-11 16:54:26 +00:00
Nathan Skrzypczak
cfdb109180
session: Add mq debug cli
...
Type: feature
This add a `show app message queue` cli command
that shows mq size per app & thread.
Change-Id: I5c6ce024b149fb7a47d899bc514c5a4887429982
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2019-12-11 16:46:51 +00:00
Nathan Skrzypczak
c00f480ba0
quic: Add support for unidirectional streams
...
Type: feature
Change-Id: I3a642626a444504594c5e3df40dbc92df54136f0
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2019-12-11 16:44:24 +00:00
Nathan Skrzypczak
f98e59b86d
hsa: Add option for multiple ips
...
Type: feature
Change-Id: I133f12f9075a09bda0c5c1ed143d03838b33f6da
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2019-12-11 16:39:56 +00:00
Nathan Skrzypczak
038c7e662a
quic: Use per thread next_cid
...
Type: fix
Change-Id: Ia89427257b78f6f7ba62c9d1076bf0593ee2dca7
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2019-12-11 15:44:26 +00:00
Jakub Grajciar
5d4c99f27e
devices: vhost API cleanup
...
Use consistent API types.
Type: fix
Change-Id: I2dec594cb834a45004edc9ca58ad7c7b4bd7ff06
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
2019-12-11 15:23:55 +00:00
Nathan Skrzypczak
deaf97f453
quic: Add aggregated quicly stats
...
Type: feature
Change-Id: Ice8de7030a0330cfe77a58657701f0703e0695dd
Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
2019-12-11 11:00:15 +01:00
MathiasRaoul
1802fcc5f1
quic: add more detailed statistics
...
Type: feature
Change-Id: I3df7b054ec08c7b307413d24468fc3df6a5aacc3
Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
2019-12-11 10:58:52 +01:00
Jakub Grajciar
5de4fb7076
devices: tap API cleanup
...
Use consistent API types.
Type: fix
Change-Id: I11cc7f6347b7a60e5fd41e54f0c7994e2d81199f
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
2019-12-11 09:39:42 +00:00
Neale Ranns
8dc75c0cc3
ipsec: Init salt value in SA creation CLI (so it's not random)
...
Type: fix
Change-Id: Idf4d0b59a1eb2c739a67a4786470884050f81561
Signed-off-by: Neale Ranns <nranns@cisco.com>
2019-12-10 21:24:57 +00:00
MathiasRaoul
05d7312ebe
quic: removing quicly_send call from quic_accept_connection
...
Type: fix
Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
Change-Id: I429b50b88c8e029b06854c7433d0bc77619e98a3
2019-12-10 14:44:44 +00:00
Florin Coras
684fb6e930
api: pass api and client main to rx thread
...
Type: fix
Change-Id: Ib8313e87a89c80045edd897924917a88b98d1937
Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-10 12:28:47 +00:00
Ole Troan
0fa66d618e
ioam: use explicit api types
...
Also remove API boilerplate.
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I62e795f5af3843af7912707ade4ba178ff326942
2019-12-10 04:11:04 +00:00
Ole Troan
668605fc87
ip: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I1fd190da28a765ba430952539c291a741aaa3dce
2019-12-10 04:10:23 +00:00
Ole Troan
3013e69884
flowprobe: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I4f1cccca7de0c07cee472bde80cd6b0ef60046bd
2019-12-10 04:08:58 +00:00
Dave Barach
39d69112fc
api: multiple connections per process
...
Type: feature
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I2272521d6e69edcd385ef684af6dd4eea5eaa953
2019-12-10 01:13:05 +00:00
Dave Barach
6b3f25caff
vlib: improve test coverage
...
Add tests.
Remove unused rule-based parser code.
Type: test
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I3ca3a9dd9da8ee8f3a47004c98f2f5644db10057
2019-12-09 21:19:47 +00:00
Florin Coras
5224b5cbd5
api: fix sock reg passing on read event
...
Type: fix
Change-Id: I383242e04a114b69fe247d912842be3560e96c10
Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-09 15:50:02 +00:00
Benoît Ganne
4505f0154e
ipsec: make sure pad_bytes does not exceed pad data size
...
This helps GCC understand the memcpy will not overflow pad_data. GCC-6
(default on Debian 9) in particular got confused.
Type: fix
Change-Id: I176eb01531b9d5c7ebec40f015e510b2d56e77c4
Signed-off-by: Benoît Ganne <bganne@cisco.com>
2019-12-09 15:49:31 +00:00
Ole Troan
4a65b910a1
marvell: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I1af842f38f90d3ede971da74cd28179b61f613cf
2019-12-09 12:43:56 +00:00
Ole Troan
55636cb623
gtpu: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I16fcbd5e63526dbf062a3032701479324fe2a4f5
2019-12-09 12:43:47 +00:00
Ole Troan
60f5108a99
l3xc: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ia94eab60689a07de522b8106dd48ff6b669bc770
2019-12-09 12:43:37 +00:00
johny
a633a4318b
ip: coverity fix
...
Delete Null-checking "p0" in function ip6_tcp_udp_icmp_bad_length,
because it's not necessary.
Type: fix
Signed-off-by: johny <jan.cavojsky@pantheon.tech>
Change-Id: I2bf43a60c1c1d76e42581df27f2285c9e9563093
2019-12-08 19:02:11 +00:00
Ole Troan
ebef4a9e5d
lacp: use explit api types
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I3f19c69a6f6282a97fd591adcd1e4490cf21e743
2019-12-07 11:46:45 +00:00
Ole Troan
3f2d5718b8
lacp: fix control_ping from plugins
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I030f75234a346ef6a20640c1a0ed65f4934867f2
2019-12-07 11:46:04 +00:00
Ole Troan
7929f9f5c6
stn: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ifba4ff0e0f61641ca3f5e7bb72086cb4f32f1909
2019-12-07 11:23:02 +00:00
Ole Troan
277f03f067
vmxnet3: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I2e699fc812c45f88e359f0f7231f372955e70149
2019-12-07 11:22:10 +00:00
Ole Troan
8e388390d5
vlib: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ib3a5d9fc36692553eb109976e9365dc7d82911ab
2019-12-07 11:21:32 +00:00
Ole Troan
be31c2a25f
map: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I8f01f9e71c788fbca989d43d5b87da9c33fba0b1
2019-12-07 11:20:55 +00:00
Ole Troan
5e913f3741
svs: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ic9570fca7e434c9b861be8ed064503492225f9fd
2019-12-07 11:19:47 +00:00
Ole Troan
04338e85ae
pppoe: use explicit types in api
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ifd1e1907740e55420dc040eb2afbbbf9887aea3c
2019-12-07 11:18:58 +00:00
MathiasRaoul
69885b72a9
quic: update quicly to v0.0.7-vpp
...
Type: feature
Change-Id: Ieeb9abb59b4d094bbd7bfc04a9007d3cebd645d7
Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
2019-12-06 22:37:42 +00:00
Florin Coras
8d820857d9
api: avoid swapping vlib_rp before barrier sync
...
Type: fix
Change-Id: I9868d13e827c6f5aa5535a38f629efb62ff12dbc
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-06 19:29:02 +00:00
Mohsin Kazmi
157a4ab404
gso: fix the tap/virtio driver for header offset
...
Type: fix
Change-Id: Ied34466907fa8ad44f997c600dbf481be4d22027
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2019-12-06 17:22:32 +00:00
Florin Coras
b0384230d9
api: fix free socket process args
...
Type: fix
Change-Id: I910be067de6ed65790d25cc95a3d8b5b66680567
Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-12-06 15:10:32 +00:00
Ole Troan
7b22df06fc
mactime: update api to use explicit types
...
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Id347e77d0230bf1b22df75bf1ae63a50eaf4d564
2019-12-06 14:09:40 +00:00