numam-dpdk/app
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
..
dumpcap app/dumpcap: allow help/version without primary process 2022-03-08 09:32:59 +01:00
pdump app/pdump: free mempool at resources cleanup 2022-03-08 00:19:31 +01:00
proc-info fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test test/cpuflags: add flags for RISC-V 2022-06-08 11:26:34 +02:00
test-acl app/acl: support different formats for IPv6 address 2022-05-30 23:31:37 +02:00
test-bbdev baseband/fpga_5gnr_fec: remove FLR timeout 2022-06-01 16:26:35 +02:00
test-cmdline devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-compress-perf app/compress-perf: fix number of queue pairs to setup 2022-03-04 10:53:09 +01:00
test-crypto-perf app/crypto-perf: allow auth generate followed by encryption 2022-06-01 16:26:36 +02:00
test-eventdev app/eventdev: support asym ops for crypto adapter 2022-06-01 16:26:34 +02:00
test-fib app/fib: fix division by zero 2022-02-11 08:50:13 +01:00
test-flow-perf fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
test-gpudev gpudev: use CPU mapping in communication list 2022-02-22 20:08:52 +01:00
test-pipeline app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test-pmd ethdev: introduce available Rx descriptors threshold 2022-06-08 21:41:00 +02:00
test-regex app/regex: fix number of matches 2022-03-14 12:15:29 +01:00
test-sad devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
meson.build build: make pdump optional 2021-11-17 12:49:19 +01:00