Go to file
Xiaolong Ye 10edf857fd net/af_xdp: make reserve/submit peek/release consistent
As David pointed out, if we reserve N slots for Tx, but only submit n
slots, we would end up with an incorrect opinion of the number of available
slots later, we also would get wrong idx when we call
xsk_ring_prod__reserve next time. It also applies to
xsk_ring_cons__peek()/xsk_ring_cons__release().

This patch ensures that both reserve/submit and peek/release are
consistent.

Fixes: f1debd77ef ("net/af_xdp: introduce AF_XDP PMD")

Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2019-04-19 14:51:54 +02:00
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app app/testpmd: fix port detach cleanup 2019-04-19 14:51:54 +02:00
buildtools build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
config net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
devtools devtools: fix meson build test for plain bourne shell 2019-04-19 23:21:13 +02:00
doc net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
drivers net/af_xdp: make reserve/submit peek/release consistent 2019-04-19 14:51:54 +02:00
examples examples/fips_validation: fix CMAC test 2019-04-18 16:01:28 +02:00
kernel kni: fix type for MAC address 2019-04-19 23:07:17 +02:00
lib vhost: fix silent queue enabling with legacy guests 2019-04-19 14:51:54 +02:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
usertools net/ipn3ke: add new driver 2019-04-19 14:51:54 +02: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 a distinguisher to the extra Travis builds 2019-04-17 13:56:23 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: use integer for max ethdev ports option 2019-03-26 23:08:09 +01:00
meson.build eal: add OS specific header file 2019-04-03 01:11:56 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.05-rc1 2019-04-05 21:58:09 +02: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