DPDK, with patches for FM10K Silicom cards with inline Switch Manager https://gist.github.com/WeebDataHoarder/634f2ef54e0c6cde0ccdb00e377e5e28
Go to file
Stephen Hemminger 6b124806a3 examples/multi_process: fix client crash with sparse ports
The mp_client crashes if run on Azure or any system where ethdev
ports are owned. In that case, the tx_buffer and tx_stats for the
real port were initialized correctly, but the wrong port was used.

For example if the server has Ports 3 and 5. Then calling
rte_eth_tx_buffer_flush on any other buffer will dereference null
because the tx buffer for that port was not allocated.

Also:
   - the flush code is common enough that it should not be marked
     unlikely
   - combine conditions to reduce indentation
   - avoid unnecessary if() if sent is zero.

Fixes: e2366e74e0 ("examples: use buffered Tx")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2019-11-25 23:52:00 +01:00
.ci ci: add 32-bit travis builds 2019-11-19 22:23:31 +01:00
app test/rcu: fix build for small number of cores 2019-11-25 23:51:53 +01:00
buildtools buildtools: add ABI version check script 2019-11-20 23:05:39 +01:00
config build: fix Windows build 2019-11-25 15:07:02 +01:00
devtools mk: remove library search path from binary 2019-11-25 23:51:52 +01:00
doc mbuf: extend mbuf pool private structure 2019-11-25 22:44:46 +01:00
drivers bus/pci: clear driver on detach 2019-11-21 00:18:02 +01:00
examples examples/multi_process: fix client crash with sparse ports 2019-11-25 23:52:00 +01:00
kernel kni: increase kernel version requirement for VA 2019-11-21 00:18:02 +01:00
lib mbuf: extend mbuf pool private structure 2019-11-25 22:44:46 +01:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk mk: remove library search path from binary 2019-11-25 23:51:52 +01:00
usertools usertools: fix telemetry client with python 3 2019-10-27 21:38:40 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add 32-bit travis builds 2019-11-19 22:23:31 +01:00
ABI_VERSION build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS buildtools: add ABI version check script 2019-11-20 23:05:39 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
meson_options.txt build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.11-rc3 2019-11-21 00:56:30 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org