All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: Zhang Tengfei <zhtfdev@gmail.com>, <dev@dpdk.org>
Cc: <stable@dpdk.org>,
	Vladimir Medvedkin <vladimir.medvedkin@intel.com>,
	Bruce Richardson <bruce.richardson@intel.com>,
	Dongdong Liu <liudongdong3@huawei.com>,
	Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Subject: Re: [PATCH v2] net/ixgbe: fix repeated Rx packet buffer shrink for FDIR
Date: Tue, 6 Oct 2026 11:23:06 +0200	[thread overview]
Message-ID: <9d10d4e1-c931-482a-b3ac-b8d2a2c37cd6@intel.com> (raw)
In-Reply-To: <20260927042545.45152-1-zhtfdev@gmail.com>

On 9/27/2026 6:25 AM, Zhang Tengfei wrote:
> Enabling Flow Director reduces RXPBSIZE(0) to reserve packet buffer
> memory for the filter table. The new size was computed from the current
> register value, and nothing restored it when FDIR state was reset. After
> the last FDIR rule was removed, or when the first rule failed after FDIR
> had been enabled, the next rule created enabled FDIR again and reduced
> the buffer a second time.
> 
> Compute RXPBSIZE(0) from the default packet buffer size, and disable
> FDIR and restore the buffer when the last rule is removed, on flush, and
> on the enable error paths.
> 
> Fixes: 301abd26b118 ("net/ixgbe: reset flow state on clear paths")
> Fixes: 5007ac13189d ("ethdev: remove deprecated Flow Director configuration")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Zhang Tengfei <zhtfdev@gmail.com>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>

-- 
Thanks,
Anatoly

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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-16 13:58 [PATCH] net/ixgbe: fix repeated Rx packet buffer shrink for FDIR Zhang Tengfei
2026-09-18 13:50 ` Bruce Richardson
2026-09-25  9:47 ` Burakov, Anatoly
2026-09-25 10:05   ` Burakov, Anatoly
2026-09-25 18:59     ` Zhang Tengfei
2026-09-27  4:25 ` [PATCH v2] " Zhang Tengfei
2026-10-06  9:23   ` Burakov, Anatoly [this message]
2026-10-06  9:51     ` 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=9d10d4e1-c931-482a-b3ac-b8d2a2c37cd6@intel.com \
    --to=anatoly.burakov@intel.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=liudongdong3@huawei.com \
    --cc=stable@dpdk.org \
    --cc=vladimir.medvedkin@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.