DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] net/ixgbe: fix memory and resource leaks
@ 2026-11-29 13:53 Anurag Mandal
  2026-11-29 13:53 ` [PATCH 1/8] net/ixgbe: fix Tx mbuf leak on queue stop Anurag Mandal
                   ` (8 more replies)
  0 siblings, 9 replies; 27+ messages in thread
From: Anurag Mandal @ 2026-11-29 13:53 UTC (permalink / raw)
  To: dev; +Cc: bruce.richardson, vladimir.medvedkin, anatoly.burakov,
	Anurag Mandal

This patch series fixes memory and resource leaks in the ixgbe PMD.

1. The first patch fixes a regression from 26.07: since the common Tx path
frees mbufs during descriptor cleanup, stopping an ixgbe Tx queue that
uses a scalar path (full-featured or simple) drops mbufs without
freeing them. Repeated port stop/start cycles exhaust the mempool.

2. The other patches fix leaks on error paths and in device lifecycle
operations:
a. Tx queue structure when the descriptor ring cannot be reserved
b. Rx mbufs when a failed runtime queue start is retried
c. MAC address arrays on every PF and VF device reset
d. VF representor ports, which are never released
e. security context when the dynamic mbuf field registration fails
f. Rx interrupt eventfds when device start fails
g. VF interrupt callback when it is running during close

Anurag Mandal (8):
  net/ixgbe: fix Tx mbuf leak on queue stop
  net/ixgbe: fix Tx queue leak on ring allocation failure
  net/ixgbe: fix Rx mbuf leak on queue start failure
  net/ixgbe: fix MAC address leak on device reset
  net/ixgbe: fix VF representor port leak
  net/ixgbe: fix security context leak on init failure
  net/ixgbe: fix eventfd leak on start failure
  net/ixgbe: fix VF interrupt callback leak on close

 drivers/net/intel/ixgbe/ixgbe_ethdev.c        | 46 +++++++++++++------
 drivers/net/intel/ixgbe/ixgbe_rxtx.c          | 34 ++++++++++++--
 .../net/intel/ixgbe/ixgbe_vf_representor.c    |  5 +-
 3 files changed, 67 insertions(+), 18 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2026-12-01 11:02 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 13:53 [PATCH 0/8] net/ixgbe: fix memory and resource leaks Anurag Mandal
2026-11-29 13:53 ` [PATCH 1/8] net/ixgbe: fix Tx mbuf leak on queue stop Anurag Mandal
2026-11-30 16:51   ` Bruce Richardson
2026-11-29 13:53 ` [PATCH 2/8] net/ixgbe: fix Tx queue leak on ring allocation failure Anurag Mandal
2026-11-30 17:30   ` Bruce Richardson
2026-11-29 13:53 ` [PATCH 3/8] net/ixgbe: fix Rx mbuf leak on queue start failure Anurag Mandal
2026-11-30 17:30   ` Bruce Richardson
2026-11-29 13:53 ` [PATCH 4/8] net/ixgbe: fix MAC address leak on device reset Anurag Mandal
2026-11-30 17:41   ` Bruce Richardson
2026-11-29 13:53 ` [PATCH 5/8] net/ixgbe: fix VF representor port leak Anurag Mandal
2026-11-30 17:42   ` Bruce Richardson
2026-11-29 13:53 ` [PATCH 6/8] net/ixgbe: fix security context leak on init failure Anurag Mandal
2026-11-30 17:42   ` Bruce Richardson
2026-11-29 13:53 ` [PATCH 7/8] net/ixgbe: fix eventfd leak on start failure Anurag Mandal
2026-11-30 17:43   ` Bruce Richardson
2026-11-29 13:53 ` [PATCH 8/8] net/ixgbe: fix VF interrupt callback leak on close Anurag Mandal
2026-11-30 17:54   ` Bruce Richardson
2026-12-01 10:55 ` [PATCH v2 0/9] net/ixgbe: fix memory and resource leaks Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 1/9] net/ixgbe: fix Tx mbuf leak on queue stop Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 2/9] net/ixgbe: fix Tx queue leak on ring allocation failure Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 3/9] net/ixgbe: fix Rx mbuf leak on queue start failure Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 4/9] net/ixgbe: fix MAC address leak on device reset Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 5/9] net/ixgbe: fix VF representor port leak Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 6/9] net/ixgbe: fix security context leak on init failure Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 7/9] net/ixgbe: fix eventfd leak on start failure Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 8/9] net/ixgbe: fix VF use after free in interrupt handler Anurag Mandal
2026-12-01 10:55   ` [PATCH v2 9/9] net/ixgbe: fix VF interrupt callback leak on close Anurag Mandal

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