[PATCH] ethdev: rte_eth_rx_queue_count is a dataplane function

Ferruh Yigit ferruh.yigit at xilinx.com
Thu Aug 18 14:23:40 CEST 2022


On 8/18/2022 10:37 AM, Morten Brørup wrote:
> Applications may use rte_eth_rx_queue_count() in the RX stage of the
> dataplane, so only check the function parameters if built with
> RTE_ETHDEV_DEBUG_RX.
> 
> Signed-off-by: Morten Brørup <mb at smartsharesystems.com>

I don't remember if those checks done by default intentionally, but I 
don't think so,

And since other relevant functions do the same thing:

Acked-by: Ferruh Yigit <ferruh.yigit at xilinx.com>



More information about the dev mailing list