]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: airoha: Fix smac_id configuration in bridge mode
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 2 Jun 2025 10:55:39 +0000 (12:55 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Jun 2025 10:55:29 +0000 (12:55 +0200)
commitc86fac5365d3a068422beeb508f2741f1a2d734d
tree6ca162d907c3d5b0b680ab26b6b264886c5c53e5
parent504a577c9b000f9e0e99e1b28616fb4eb369e1ef
net: airoha: Fix smac_id configuration in bridge mode

Set PPE entry smac_id field to 0xf in airoha_ppe_foe_commit_subflow_entry
routine for IPv6 traffic in order to instruct the hw to keep original
source mac address for IPv6 hw accelerated traffic in bridge mode.

Fixes: cd53f622611f ("net: airoha: Add L2 hw acceleration support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250602-airoha-flowtable-ipv6-fix-v2-3-3287f8b55214@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/airoha/airoha_ppe.c