DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: dev@dpdk.org
Cc: stable@dpdk.org, nirranjan@chelsio.com
Subject: [dpdk-dev] [PATCH 0/5] net/cxgbe: fix rte_flow related hardware resource leaks
Date: Sat, 13 Jun 2020 03:37:22 +0530
Message-ID: <cover.1591998771.git.rahul.lakkireddy@chelsio.com> (raw)

This series of patches fix various hardware resource leaks in flow
create failure and flow destroy paths.

Patch 1 fixes Compressed Local IP (CLIP) entry leaks.

Patch 2 fixes Layer 2 Table (L2T) entry leaks.

Patch 3 fixes double Multi Port Switch (MPS) entry allocations due
to flow validate and create, but only freed once during flow destroy.

Patch 4 fixes Source MAC Table (SMT) entry leaks.

Patch 5 fixes flow validation errors seen due to default masks set
for unrequested fields.

Thanks,
Rahul

Rahul Lakkireddy (5):
  net/cxgbe: fix CLIP leak in filter error path
  net/cxgbe: fix L2T leak in filter error and free path
  net/cxgbe: fix double MPS alloc due to flow validate and create
  net/cxgbe: fix SMT leak in filter error and free path
  net/cxgbe: ignore flow default masks for unrequested fields

 drivers/net/cxgbe/cxgbe_filter.c | 158 ++++++++++++++++++-------------
 drivers/net/cxgbe/cxgbe_filter.h |   4 +-
 drivers/net/cxgbe/cxgbe_flow.c   | 137 +++++++++++++++------------
 drivers/net/cxgbe/smt.c          |   6 ++
 drivers/net/cxgbe/smt.h          |   1 +
 5 files changed, 180 insertions(+), 126 deletions(-)

-- 
2.24.0


             reply	other threads:[~2020-06-12 22:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12 22:07 Rahul Lakkireddy [this message]
2020-06-12 22:07 ` [dpdk-dev] [PATCH 1/5] net/cxgbe: fix CLIP leak in filter error path Rahul Lakkireddy
2020-06-12 22:07 ` [dpdk-dev] [PATCH 2/5] net/cxgbe: fix L2T leak in filter error and free path Rahul Lakkireddy
2020-06-12 22:07 ` [dpdk-dev] [PATCH 3/5] net/cxgbe: fix double MPS alloc due to flow validate and create Rahul Lakkireddy
2020-06-12 22:07 ` [dpdk-dev] [PATCH 4/5] net/cxgbe: fix SMT leak in filter error and free path Rahul Lakkireddy
2020-06-12 22:07 ` [dpdk-dev] [PATCH 5/5] net/cxgbe: ignore flow default masks for unrequested fields Rahul Lakkireddy
2020-06-17 13:33 ` [dpdk-dev] [dpdk-stable] [PATCH 0/5] net/cxgbe: fix rte_flow related hardware resource leaks Ferruh Yigit

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.1591998771.git.rahul.lakkireddy@chelsio.com \
    --to=rahul.lakkireddy@chelsio.com \
    --cc=dev@dpdk.org \
    --cc=nirranjan@chelsio.com \
    --cc=stable@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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git