DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Zhang Tengfei <zhtfdev@gmail.com>
Cc: dev@dpdk.org, jiawenwu@trustnetic.com, zaiyuwang@trustnetic.com,
	stable@dpdk.org
Subject: Re: [PATCH v2] net/txgbe: keep flow rules per port
Date: Mon, 9 Nov 2026 10:00:57 -0800	[thread overview]
Message-ID: <20261109100057.6c1a25c4@phoenix.local> (raw)
In-Reply-To: <20261109125149.16218-1-zhtfdev@gmail.com>

On Mon,  9 Nov 2026 20:51:49 +0800
Zhang Tengfei <zhtfdev@gmail.com> wrote:

> rte_flow rules for every txgbe port were stored in file-scope lists.
> Flushing or closing one port freed the rte_flow handles of the others
> while their hardware rules stayed programmed, and probing another port
> reinitialized the lists. The same lists are used by the PF and VF flow
> operations.
> 
> Keep one flow list in struct txgbe_adapter. A port disables flow
> director only when its own FDIR filter list is empty.
> 
> Fixes: 5c2352b9ece6 ("net/txgbe: support creating consistent filter")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Zhang Tengfei <zhtfdev@gmail.com>
> ---

Looks good, applied to next-net

      reply	other threads:[~2026-11-09 18:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08 16:00 [PATCH] net/txgbe: keep flow rules per port Zhang Tengfei
2026-11-08 16:40 ` Stephen Hemminger
2026-11-09 12:51 ` [PATCH v2] " Zhang Tengfei
2026-11-09 18:00   ` Stephen Hemminger [this message]

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=20261109100057.6c1a25c4@phoenix.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=jiawenwu@trustnetic.com \
    --cc=stable@dpdk.org \
    --cc=zaiyuwang@trustnetic.com \
    --cc=zhtfdev@gmail.com \
    /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