DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [RFC] net/mlx5: Descriptor status for Vectorized and MPRQ Rx
@ 2020-08-26 21:16 Alexander Kozyrev
  0 siblings, 0 replies; only message in thread
From: Alexander Kozyrev @ 2020-08-26 21:16 UTC (permalink / raw)
  To: dev

There are two APIs that allow getting more insights about Rx queue operations:
- the rte_eth_rx_queue_count API gives the number of used descriptors.
- the rte_eth_rx_descriptor_status API provides the status of a Rx descriptor.
This information is available only for the regular Rx burst in the mlx5 driver.
The ENOTSUP value is returned for the Vectorized Rx burst or the MPRQ Rx burst.

Need to implement corresponding functions to compute the number of used
descriptors in an Rx queue for every Rx burst version available to DPDK users.
Once this is done we can check the required descriptor and tell whether it is
available for the hardware or being processed by the driver software.

Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-26 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26 21:16 [dpdk-dev] [RFC] net/mlx5: Descriptor status for Vectorized and MPRQ Rx Alexander Kozyrev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).