[PATCH v2] net/txgbe: keep flow rules per port

Stephen Hemminger stephen at networkplumber.org
Mon Nov 9 19:00:57 CET 2026


On Mon,  9 Nov 2026 20:51:49 +0800
Zhang Tengfei <zhtfdev at 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 at dpdk.org
> 
> Signed-off-by: Zhang Tengfei <zhtfdev at gmail.com>
> ---

Looks good, applied to next-net


More information about the dev mailing list