On Fri, Nov 20, 2026 at 10:22:09AM +0000, Anatoly Burakov wrote:
> Currently, the Rx path decides whether a packet is a PTP packet by looking
> at which ETQF filter index it was matched against, and it expects the
> 1588 filter to always be at index 3. However, when the Ethertype filter
> table was made dynamic, the 1588 filter started being installed into
> the first free slot instead, so the Rx path may not recognize PTP packets
> and, if that happens, never sets RTE_MBUF_F_RX_IEEE1588_PTP on them.
> 
> Fix it by always reserving the last ETQF slot for the 1588 filter, and
> only allocating the remaining slots dynamically.
> 
> Fixes: 3ba3f96f8f71 ("net/ixgbe: make ethertype filter table dynamic")
> Cc: [email protected]
> 
> Signed-off-by: Anatoly Burakov <[email protected]>
> ---
>  drivers/net/intel/ixgbe/ixgbe_ethdev.c | 33 +++++---------------------
>  drivers/net/intel/ixgbe/ixgbe_ethdev.h |  9 +++----
>  drivers/net/intel/ixgbe/ixgbe_rxtx.c   |  5 ++--
>  3 files changed, 13 insertions(+), 34 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>

Despite it being late in cycle, after discussion with Anatoly and asking AI
to do a detailed review of this (which came back clean), I'm going to take
this patch.

Applied to dpdk-next-net-intel.
Thanks,
/Bruce

Reply via email to