[PATCH 0/2] ethdev: fix fast-path ops on a stopped port

Maxime Leroy maxime at leroys.fr
Tue Jun 16 11:42:56 CEST 2026


Two small fixes for fast-path ops on a stopped port:
patch 1 stops rte_eth_rx_queue_count() from dereferencing NULL after a port
stop, patch 2 makes the dummy queue count return 0 (empty queue) instead of
-ENOTSUP.

Maxime Leroy (2):
  ethdev: keep fast-path ops valid after port stop
  ethdev: return 0 from dummy queue count

 lib/ethdev/ethdev_driver.c  | 2 +-
 lib/ethdev/ethdev_private.c | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.43.0



More information about the dev mailing list