OSDN Git Service

net: dsa: tag_dsa: offload the bridge forwarding process
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 22 Jul 2021 15:55:42 +0000 (18:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2021 15:32:37 +0000 (16:32 +0100)
commitd82f8ab0d874b1f2ca45cb9b3b65aaa2638760f6
treec34ce51519680740b9eac79fb772e93f72b490fb
parentce5df6894a5752676a015dfe342f25753971c02f
net: dsa: tag_dsa: offload the bridge forwarding process

Allow the DSA tagger to generate FORWARD frames for offloaded skbs
sent from a bridge that we offload, allowing the switch to handle any
frame replication that may be required. This also means that source
address learning takes place on packets sent from the CPU, meaning
that return traffic no longer needs to be flooded as unknown unicast.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_dsa.c