DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ethdev: fix fast-path ops on a stopped port
@ 2026-06-16  9:42 Maxime Leroy
  2026-06-16  9:42 ` [PATCH 1/2] ethdev: keep fast-path ops valid after port stop Maxime Leroy
  2026-06-16  9:42 ` [PATCH 2/2] ethdev: return 0 from dummy queue count Maxime Leroy
  0 siblings, 2 replies; 5+ messages in thread
From: Maxime Leroy @ 2026-06-16  9:42 UTC (permalink / raw)
  To: dev; +Cc: Maxime Leroy

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-16 14:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16  9:42 [PATCH 0/2] ethdev: fix fast-path ops on a stopped port Maxime Leroy
2026-06-16  9:42 ` [PATCH 1/2] ethdev: keep fast-path ops valid after port stop Maxime Leroy
2026-06-16  9:42 ` [PATCH 2/2] ethdev: return 0 from dummy queue count Maxime Leroy
2026-06-16  9:54   ` Morten Brørup
2026-06-16 14:07   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox