> From: Maxime Leroy [mailto:[email protected]] On Behalf Of Maxime > Leroy > Sent: Tuesday, 16 June 2026 11.43 > > The dummy rx_queue_count/tx_queue_count callback returned -ENOTSUP. On > a > port that is not started (freshly allocated, or stopped once the fast- > path > ops are reset to dummies) there are no packets queued, so the truthful > answer is 0, not an error: querying the count is not an unsupported > operation. This also matches the dummy Rx/Tx burst, which reports 0 > packets. > > A poll-mode worker checking rte_eth_rx_queue_count() across a > concurrent > port stop then sees an empty queue instead of a negative error. > > Fixes: 066f3d9cc21c ("ethdev: remove callback checks from fast path") > Cc: [email protected] > > Suggested-by: Stephen Hemminger <[email protected]> > Signed-off-by: Maxime Leroy <[email protected]> > ---
Acked-by: Morten Brørup <[email protected]>

