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: [email protected]

Signed-off-by: Zhang Tengfei <[email protected]>
---

Acked-by: Anatoly Burakov <[email protected]>

--
Thanks,
Anatoly

Reply via email to