[PATCH 0/2] ethdev: fix fast-path ops on a stopped port
Stephen Hemminger
stephen at networkplumber.org
Wed Jun 17 23:13:24 CEST 2026
On Tue, 16 Jun 2026 11:42:56 +0200
Maxime Leroy <maxime at leroys.fr> 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(-)
>
Applied to next-net
More information about the dev
mailing list