]> Git Repo - linux.git/commit
net: ti: icssg-prueth: Fix start counter for ft1 filter
authorMD Danish Anwar <[email protected]>
Mon, 27 May 2024 06:30:15 +0000 (12:00 +0530)
committerPaolo Abeni <[email protected]>
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
drivers/net/ethernet/ti/icssg/icssg_classifier.c
This page took 0.056077 seconds and 4 git commands to generate.