Go to file
Spike Du bc70e55948 ethdev: introduce available Rx descriptors threshold
A new event RTE_ETH_EVENT_RX_AVAIL_THRESH should be generated by HW
when number of available descriptors in Rx queue goes below the
threshold.

The threshold is defined as a percentage of an Rx queue size with valid
values from 0 to 99 (inclusive). Zero (default) value disables it.

There is no capability reporting for the feature. Application should
simply try to set required threshold value and handle result.

Add testpmd commands to control the threshold:
  set port <port_id> rxq <rxq_id> avail_thresh <avail_thresh_num>

Signed-off-by: Spike Du <spiked@nvidia.com>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2022-06-08 21:41:00 +02:00
.ci ci: add RISC-V cross compilation 2022-06-08 11:26:34 +02:00
.github/workflows ci: add RISC-V cross compilation 2022-06-08 11:26:34 +02:00
app ethdev: introduce available Rx descriptors threshold 2022-06-08 21:41:00 +02:00
buildtools build: add definitions for use as Meson subproject 2022-06-07 20:49:20 +02:00
config eal/riscv: support RISC-V architecture 2022-06-08 11:26:20 +02:00
devtools ethdev: introduce available Rx descriptors threshold 2022-06-08 21:41:00 +02:00
doc ethdev: introduce available Rx descriptors threshold 2022-06-08 21:41:00 +02:00
drivers net/tap: fix device freeing 2022-06-08 14:39:13 +02:00
examples examples/l3fwd: merge l3fwd-acl example 2022-06-08 12:09:05 +02:00
kernel kernel/linux: get kernel version from kernel source 2022-06-08 17:40:51 +02:00
lib ethdev: introduce available Rx descriptors threshold 2022-06-08 21:41:00 +02:00
license lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
usertools usertools/devbind: support virtio block device 2022-06-01 11:50:10 +02:00
.editorconfig devtools: clarify that lines up to 100 characters are ok 2021-11-25 11:51:24 +01:00
.gitattributes
.gitignore doc: add eventdev feature matrices 2021-11-26 16:29:25 +01:00
.travis.yml version: 22.07-rc0 2022-03-21 13:56:40 +01:00
ABI_VERSION version: 22.07-rc0 2022-03-21 13:56:40 +01:00
MAINTAINERS eal: remove unused arch-specific headers for locks 2022-06-08 15:44:20 +02:00
Makefile
meson_options.txt config: add option for atomic mbuf reference counting 2021-10-25 17:53:30 +02:00
meson.build eal/riscv: support RISC-V architecture 2022-06-08 11:26:20 +02:00
README
VERSION version: 22.07-rc0 2022-03-21 13:56:40 +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