]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ti: icssg: Add HSR/PRP protocol frame filtering
authorMD Danish Anwar <danishanwar@ti.com>
Fri, 27 Feb 2026 17:42:54 +0000 (23:12 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Mar 2026 11:45:30 +0000 (12:45 +0100)
commitf56438a74d8809fa0c28811cd782a74477994fdd
treec63a0495db6c84a14fcb0f8c0beab99e574e21b2
parentc006396f59aae01fccc758a0243402f5c0a9a54d
net: ti: icssg: Add HSR/PRP protocol frame filtering

Add support for HSR and PRP protocol frame filtering in the ICSSG
classifier by configuring filter table 3 (FT3) to detect PTP frames
(EtherType 0x88F7) in HSR/PRP tagged packets.

Also add rx_class_or_base to miig_rt_offsets structure to support
RX_CLASS_OR register access, and fix typos in FT1_N_REG and FT3_N_REG
macros (slize -> slice).

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Link: https://patch.msgid.link/20260227174254.3821443-1-danishanwar@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/ti/icssg/icssg_classifier.c
drivers/net/ethernet/ti/icssg/icssg_prueth.c
drivers/net/ethernet/ti/icssg/icssg_prueth.h