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

fengchengwen fengchengwen at huawei.com
Wed Jun 17 06:02:23 CEST 2026


Series-acked-by: Chengwen Feng <fengchengwen at huawei.com>

On 6/16/2026 5:42 PM, Maxime Leroy wrote:
> 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(-)
> 



More information about the dev mailing list