]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net: dsa: Allow drivers to filter packets they can decode source port from"
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 26 Jul 2021 16:55:36 +0000 (19:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2021 21:35:22 +0000 (22:35 +0100)
commit61a89848f08419eb67a1e81c43ad2a3d6b8eb449
treeae345263f38ccab88dfe975bfce8d2f5939718a2
parent0b060087a4847b1ee9310a6d26c346a5a06fbf94
Revert "net: dsa: Allow drivers to filter packets they can decode source port from"

This reverts commit 3bf9f57b249fcb044f250eeba59f823a76462928.

Currently 2 classes of DSA drivers are able to send/receive packets
directly through the DSA master:
- drivers with DSA_TAG_PROTO_NONE
- sja1105

Now that sja1105 has gained the ability to perform traffic termination
even under the tricky case (VLAN-aware bridge), and that is much more
functional (we can perform VLAN-aware bridging with foreign interfaces),
there is no reason to keep this code in the receive path of the network
core. So delete it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/port.c
net/ethernet/eth.c