net: ti: icssg-prueth: Fix start counter for ft1 filter
authorMD Danish Anwar <danishanwar@ti.com>
Mon, 27 May 2024 06:30:15 +0000 (12:00 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 28 May 2024 13:29:52 +0000 (15:29 +0200)
commit56a5cf538c3f2d935b0d81040a8303b6e7fc5fd8
treea528b1ba036f14c01c7dff6752b209dfa16aee9c
parent4b4647add7d3c8530493f7247d11e257ee425bf0
net: ti: icssg-prueth: Fix start counter for ft1 filter

The start counter for FT1 filter is wrongly set to 0 in the driver.
FT1 is used for source address violation (SAV) check and source address
starts at Byte 6 not Byte 0. Fix this by changing start counter to
ETH_ALEN in icssg_ft1_set_mac_addr().

Fixes: e9b4ece7d74b ("net: ti: icssg-prueth: Add Firmware config and classification APIs.")
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Link: https://lore.kernel.org/r/20240527063015.263748-1-danishanwar@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/ti/icssg/icssg_classifier.c