Re: [PATCH] ethdev: rte_eth_rx_queue_count is a dataplane function

2022-09-28 Thread Andrew Rybchenko
On 9/22/22 16:46, Morten Brørup wrote: From: Andrew Rybchenko [mailto:andrew.rybche...@oktetlabs.ru] Sent: Monday, 12 September 2022 16.47 On 8/18/22 15:23, Ferruh Yigit wrote: 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 data

RE: [PATCH] ethdev: rte_eth_rx_queue_count is a dataplane function

2022-09-22 Thread Morten Brørup
> From: Andrew Rybchenko [mailto:andrew.rybche...@oktetlabs.ru] > Sent: Monday, 12 September 2022 16.47 > > On 8/18/22 15:23, Ferruh Yigit wrote: > > 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

Re: [PATCH] ethdev: rte_eth_rx_queue_count is a dataplane function

2022-09-12 Thread Andrew Rybchenko
On 8/18/22 15:23, Ferruh Yigit wrote: 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 I don't remember if those ch

Re: [PATCH] ethdev: rte_eth_rx_queue_count is a dataplane function

2022-08-18 Thread Ferruh Yigit
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 I don't remember if those checks done by default intentionally, but