[PATCH v2] net/ixgbe: fix repeated Rx packet buffer shrink for FDIR
Burakov, Anatoly
anatoly.burakov at intel.com
Tue Oct 6 11:23:06 CEST 2026
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 at dpdk.org
>
> Signed-off-by: Zhang Tengfei <zhtfdev at gmail.com>
> ---
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
--
Thanks,
Anatoly
More information about the dev
mailing list