numam-dpdk/doc/guides/testpmd_app_ug
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
..
build_app.rst doc: remove some build instructions where unneeded 2020-06-29 16:33:39 +02:00
index.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
intro.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
run_app.rst ethdev: add namespace 2021-10-22 18:15:38 +02:00
testpmd_funcs.rst ethdev: introduce available Rx descriptors threshold 2022-06-08 21:41:00 +02:00