DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Anurag Mandal <anurag.mandal@intel.com>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com, Anurag Mandal <anurag.mandal@intel.com>
Subject: [PATCH 0/2] net/i40e: fix memory leaks
Date: Fri, 23 Oct 2026 10:31:28 +0000	[thread overview]
Message-ID: <cover.1792750212.git.anurag.mandal@intel.com> (raw)

This series fixes few memory leaks in the i40e PMD:

1. When the main VSI was released, only the VSIs attached 
   to the floating VEB were released, not the VEB itself,
   leaking the VEB structure and its switch element. 
   This only affects setups with floating VEB enabled.

2. The flow director programming packet memzone was reserved
   at setup but never freed, so it leaked whenever the port 
   was closed.

Anurag Mandal (2):
  net/i40e: fix floating VEB leak
  net/i40e: fix FDIR memzone leak

 drivers/net/intel/i40e/i40e_ethdev.c | 1 +
 drivers/net/intel/i40e/i40e_ethdev.h | 1 +
 drivers/net/intel/i40e/i40e_fdir.c   | 4 ++++
 3 files changed, 6 insertions(+)

-- 
2.25.1


             reply	other threads:[~2026-10-23 10:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-23 10:31 Anurag Mandal [this message]
2026-10-23 10:31 ` [PATCH 1/2] net/i40e: fix floating VEB leak Anurag Mandal
2026-10-23 10:31 ` [PATCH 2/2] net/i40e: fix FDIR memzone leak Anurag Mandal
2026-10-23 14:55 ` [PATCH 0/2] net/i40e: fix memory leaks Bruce Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1792750212.git.anurag.mandal@intel.com \
    --to=anurag.mandal@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox