8213 Commits

Author SHA1 Message Date
Benoît Ganne
207a163309 dpdk: enforce max tx retries
n_retry was never decremented and so never enforced.

Type: fix

Change-Id: I71d60a72c156286f7e5b82b1c77a723361317c69
Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-01-14 15:49:10 +00:00
Neale Ranns
fec52edb3c acl: Remove unsued type
Type: style

and add some indent offs.

Change-Id: I31cf3ab9ff9b64d2cd1f2034dcedd4a9c453efb4
Signed-off-by: Neale Ranns <nranns@cisco.com>
2020-01-13 17:13:54 +00:00
Neale Ranns
629e268aa1 ct6: dst,src copy typo
Type: fix

Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I266fa5dc637383fd8dac6592c9c266a1b70a73e9
2020-01-13 16:56:54 +00:00
Ole Troan
b3745c431e misc: feature file for unsupported feature l2tp
Type: docs
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I11db583650bc051f88f38358b877410f355b110f
Signed-off-by: Ole Troan <ot@cisco.com>
2020-01-13 16:52:25 +00:00
Andrew Yourtchenko
f63bf6a7d7 tests: disable the tap test for the time being
TAP tests require root access, which breaks
the testing in unprivileged scenario.
Disable the test until we find consensus on how
to deal with it.

Type: test
Change-Id: I66ee2b130723233682d858cad0b6e424ab0b2383
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2020-01-13 14:55:07 +00:00
Yu Ping
1c6486f7b8 tls: enable TLS OpenSSL plugin works in 3.0.0
Type: fix

Change-Id: Id1602981fcc6efed1b0efe79a1fc8177457acdb5
Signed-off-by: Yu Ping <ping.yu@intel.com>
2020-01-13 08:13:55 +00:00
Andrew Yourtchenko
d66848fdd0 misc: VPP 19.08.1 release notes
Change-Id: I365696bfcf11fcc74a698f764dec62e470fc7853
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Type: docs
2020-01-11 18:07:14 +00:00
Nitin Saxena
2d18d2ea9f ip: avoid fib lookup for consecutive pkts having same source IP
Type: fix
Fixes: be2286b0

This patch does following:

- If terminating frame has consecutive packets with same source IP, this patch
  avoids fib lookup for those packets in ip4-local node. This drops cycle count
  for ip4-local node on both ARM and x86. It being done by enabling dead code in
  else {} case of ip4_local_check_src_x2() and ip4_local_check_src() functions.

- In case all packets in terminating frame have unique source IP (e.g:
  incrementing), ip4-local is costlier by 2 cycles (broadwell)

Change-Id: I472ddc324716cec8bfe601568b8aeb7565f97ab3
Signed-off-by: Nitin Saxena <nsaxena@marvell.com>
2020-01-11 16:53:41 +00:00
Mohsin Kazmi
dfb3e4106f gso: add FEATURE.yaml
Type: docs

Change-Id: I64743c9f5ad7eef21855e883e1a00f355fddf3ee
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2020-01-10 17:21:36 +00:00
pcamaril
ebd21c949a sr: feature YAML files for Segment Routing
Type: docs
Signed-off-by: pcamaril <pcamaril@cisco.com>
Change-Id: Ia35d18113e17fd2ba5310e81ca527d3569cd110e
Signed-off-by: pcamaril <pcamaril@cisco.com>
2020-01-10 17:21:04 +00:00
John DeNisco
7c9fe920ce docs: Edit FEATURE.yaml files so they can be published
Type: docs
Signed-off-by: John DeNisco <jdenisco@cisco.com>
Change-Id: I7280e5c5ad10a66c0787a5282291a2ef000bff5f
2020-01-10 17:20:21 +00:00
Matthew Smith
854eb6e3ff bonding: process lacp when bond is admin down
Type: fix
Fixes: 6dfd3785e4

When a bond interface is administratively down but the slaves are
up, process inbound LACP packets received over the slaves. This
was the old behavior with bond interfaces in LACP mode and was
altered unintentionally by another change. Restore the old behavior.

Change-Id: I61b0b700211dea4859b6ee447ab83b33197d9d11
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2020-01-09 23:28:05 +00:00
Zhiyong Yang
d3d7ef5ec8 fib: leverage well-optimized clib_memcpy
Type: fix

Change-Id: I684910837ca4d9c8a07262459158bbb0423a33af
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
2020-01-09 21:38:40 +00:00
Florin Coras
87b0c89294 session: remove io event dispatch dbg msg
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I166ab7b96444587a3252925d3a28505e0db52d74
2020-01-09 16:41:31 +00:00
Florin Coras
a6696719cb tcp: fix persist assert
Type: fix

Persist and retransmit can pop at the same time.

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ia9530645cc84c83a881a75d7b4627197dc50ed29
2020-01-09 16:29:10 +00:00
Ole Troan
bbff1439c0 misc: fix feature description spelling
Type: docs
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I46856db81d42c3f10c03a7bf9a245cc998cd8a01
2020-01-09 15:20:07 +00:00
Ole Troan
dbbff8581b misc: feature tracking markdown improvements
Add table of contents to markdown file.
Added --exclude and --include options to user select which
fts fields to include in report.
Sort output based on feature name.

E.g.: ./build-root/scripts/fts.py --all --markdown --exclude="maintainer"

Type: make
Change-Id: I3edf8c2188a9f3e312767bbe12d75cca7d8c5b39
Signed-off-by: Ole Troan <ot@cisco.com>
2020-01-09 15:19:46 +00:00
Florin Coras
edf1da94dc tcp: fix scoreboard assert
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I3c70b331932708a1b773392e089aed9dba9b3b31
2020-01-08 21:28:08 +00:00
Benoît Ganne
d8c1ef925a rdma: api: prepare support for direct verb
Prepare rdma interface creation API for direct verb support:
 - add new optional 'mode' parameters to select between ibverb or direct
   verb backend (optional, default to 'auto')
 - set default value for rxq_num (1), rxq_size (1024) and txq_size
   (1024) so they are now optional
 - bump default create value for rxq_size and txq_size to 1024 if
   unset (0) so they are coherent with default values above

Type: feature

Change-Id: Id9eae2b8eb0baaf34a0fcd55da6ad09515f57a93
Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-01-08 19:51:04 +00:00
Mohsin Kazmi
affc5f6d3d virtio: fix ip4 checksum offload
Type: fix

Change-Id: I08747ac308e5c1768a3a6aa5f83a016dc0274a1c
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2020-01-08 17:09:45 +00:00
Mohsin Kazmi
ba0061feba tap: split gso and checksum offload functionality
Type: refactor

Change-Id: I0d4b79ef384c11c841576d264bfd8ccb21783e10
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2020-01-08 17:09:15 +00:00
Mohsin Kazmi
6d4af8918c virtio: split gso and checksum offload functionality
Type: refactor

Change-Id: I897e36bd5db593b417c2bac9f739bc51cf45bc08
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2020-01-08 17:08:50 +00:00
Florin Coras
0d74dd1f82 tls: improve connection formating
Type: feature

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Iea8abe33cf33036267ccaf58760abc2f48470202
2020-01-08 15:32:40 +00:00
Florin Coras
479f7fec6a tcp: fix last sacked with no holes
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Id12b0a9b8bc47aef8b393544e5b4c8228ed6a606
2020-01-08 15:32:21 +00:00
Florin Coras
42ddf69ed0 vppinfra: retry socket connect on EAGAIN
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I93577acf559a8fa639aab7ec3f7cdbe7df9a248d
2020-01-08 15:32:01 +00:00
Florin Coras
e4a08c1f3b svm: fix eventfd signal write error check
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I706c8642ca0877430a42cc0ca5bc61a45428fc98
2020-01-08 15:31:37 +00:00
John Lo
b2e73b1dcb l2: fix MAC learn counter update on adding MAC entry
Type: fix

Signed-off-by: John Lo <loj@cisco.com>
Change-Id: I711432f589ee4a4527cf795526d3b4031999f71d
2020-01-08 15:17:39 +00:00
Andrew Yourtchenko
1205059284 acl: add FEATURE.yaml
Change-Id: If6f13e7962c27f35528058224928def927fff19f
Type: docs
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2020-01-08 11:36:31 +00:00
Benoît Ganne
5dfc03f110 rdma: add FEATURE.yaml
Type: docs

Change-Id: I91d701814e4bd9953616d2b7c76ae2ea7c07074b
Signed-off-by: Benoît Ganne <bganne@cisco.com>
2020-01-08 09:43:25 +00:00
Dave Barach
5c944eef70 vlib: fix coverity warning / real bug
The path must be next-to-impossible to hit, because the code has been
wrong for at least 5 years.

Type: fix

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I23b8c4e1631827e7931f353c561c1e19c596c598
2020-01-07 12:29:39 -05:00
Yu Ping
a9ed934745 tls: Make tls CPS test run for a quite long time
Type: fix

Change-Id: I8cfb48bd7f92689b296861dd368186408918061b
Signed-off-by: Yu Ping <ping.yu@intel.com>
2020-01-07 15:12:48 +00:00
Florin Coras
067f8f963d tcp: fix duplicate sack whith reneging
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I6f7fb91e059996ff702eb9c36e3abaed237fe221
2020-01-07 14:26:29 +00:00
Neale Ranns
c190cf09a3 vppinfra: hash [un]set malloc/free takes a const key
Type: refactor

the key is not modified by these functions

Change-Id: I578f054355fca69e8a086bb69013155a01ed759f
Signed-off-by: Neale Ranns <nranns@cisco.com>
2020-01-07 12:35:52 +00:00
Ole Troan
22e108d9a9 bonding: fix feature.yaml error
Type: fix
Fixes: 6b32b4aad
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I8bd6bb95135dc280565f357aa5850292f66979a1
Signed-off-by: Ole Troan <ot@cisco.com>
2020-01-07 09:34:29 +01:00
Steven Luong
6b32b4aada bonding: Add FEATURE.yaml
Type: docs

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I53522a60122014741d1c6533a0456bf31445529a
2020-01-07 08:02:20 +00:00
Neale Ranns
8e39e62905 ipsec: Add FEATURE/yaml
Type: docs

Change-Id: I9cb093589b84fdca3f4239da90c431e8bc4d74f1
Signed-off-by: Neale Ranns <nranns@cisco.com>
2020-01-07 08:02:00 +00:00
Neale Ranns
c9ba85f86a qos: Add FEATURE.yaml
Type: docs

Change-Id: Id719ad59dd70f1d97b3cb3722621b10cd63badfb
Signed-off-by: Neale Ranns <nranns@cisco.com>
2020-01-07 08:01:45 +00:00
Neale Ranns
499b864de6 mpls: Add FEATURE.yaml
Type: docs

Change-Id: Ic76a4bbfe2e2e45b7ea44556bc974c243970e9bf
Signed-off-by: Neale Ranns <nranns@cisco.com>
2020-01-07 08:01:27 +00:00
Neale Ranns
dc376eaa0c ip-neighbor: Add FEATURE.yaml
Type: docs

Change-Id: I4c51dad23cf431692ef5b8bdd2391975fb7264d6
Signed-off-by: Neale Ranns <nranns@cisco.com>
2020-01-06 23:17:09 +00:00
Steven Luong
78565f38e8 vmxnet3: add FEATURE.yaml
Type: docs

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I8b0432a3a384dc2431fcb0b4e7c3f0cfb1713d8e
2020-01-06 20:19:31 +00:00
Steven Luong
dfb93d253c lacp: Add FEATURE.yaml
Type: docs

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I6fe5555a9ec867d4e39f0751662256717b45e0f9
2020-01-06 11:17:52 -08:00
MathiasRaoul
84def7cb75 quic: update quicly to v0.0.9-vpp
Type: feature

Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
Change-Id: I5cef549de8380b9b9534b8774819e42988f6b784
2020-01-06 18:01:43 +00:00
John Lo
7adf5735ef l2: Update FEATURE.yaml
Type: docs

Signed-off-by: John Lo <loj@cisco.com>
Change-Id: Ib34440c137f24621002ce9463515c632c472a293
2020-01-06 15:47:12 +00:00
Ole Troan
2e839be97a gre: fix feature.yaml error
vnet/gre/FEATURE.yaml does not conform with the JSON schema definition.
This bug should no longer happen with the patch that ensures
validation is run as part of checkstyle.

Signed-off-by: Ole Troan <ot@cisco.com>
Type: fix
Change-Id: I25bf8d2a442bf7ccdbf693b031a7a383444dfee3
2020-01-06 15:45:39 +00:00
Aloys Augustin
7abab30367 quic: call quic_send_packets only once per ctx
This prevents unnecessary calls to quic_send_packets.

Type: fix
Change-Id: I7abe509aa8b7b9d5a01c9876046cf0f4507a79cf
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
2020-01-06 14:11:55 +00:00
Hongjun Ni
94501c49a4 lb: add FEATURE file for lb/pppoe/gtpu/vxlan-gpe/pppoe
Type: docs

Change-Id: Ia3949954423eb7691c02e99444767a9f01a14adf
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2020-01-06 08:13:05 +00:00
Neale Ranns
297fa0e788 gre: Add FEATURE.yaml
Type: docs

Change-Id: Icda0c8d2141294d78447177dd4823d1b2228e830
Signed-off-by: Neale Ranns <nranns@cisco.com>
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2020-01-06 02:50:00 +00:00
Neale Ranns
3a29c38db6 ip6-nd: Add FEATURE.yaml
Type: docs

Change-Id: I907f2c7f5d73dd88b16a6ff78ef072e13af9739e
Signed-off-by: Neale Ranns <nranns@cisco.com>
2020-01-05 22:17:53 +00:00
Ole Troan
f3aebda7ea misc: fix feature.yaml
Add checkfeaturelist validation to checkstyle.
Fix two files with errors.

Type: docs
Change-Id: I81eda0e25b271f2006b4da22efdf7218d52a67d3
Signed-off-by: Ole Troan <ot@cisco.com>
2020-01-04 16:14:04 +00:00
John Lo
69c2a5895a vxlan: Add FEATURE.yaml
Type: docs

Signed-off-by: John Lo <loj@cisco.com>
Change-Id: I4372195121e05af671a3f48b1c2796cd0132b279
2020-01-04 14:51:07 +00:00