]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dsa: mt7530: Enable Rx sptag for EN7581 SoC
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 28 Feb 2025 10:54:14 +0000 (11:54 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 4 Mar 2025 12:22:09 +0000 (13:22 +0100)
commitab667db1e6014634c6607ebdddc16c1b8394a935
treec249825cca6e4b60519bdd7c30113a6dc26d16fc
parentaf3cf757d5c99011b9b94ea8d78aeaccc0153fdc
net: dsa: mt7530: Enable Rx sptag for EN7581 SoC

Packet Processor Engine (PPE) module used for hw acceleration on EN7581
mac block, in order to properly parse packets, requires DSA untagged
packets on TX side and read DSA tag from DMA descriptor on RX side.
For this reason, enable RX Special Tag (SPTAG) for EN7581 SoC.
This is a preliminary patch to enable netfilter flowtable hw offloading
on EN7581 SoC.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h