]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8cb7e2010c52e446b490e2bea284226a6d0af18e
treec34ce51519680740b9eac79fb772e93f72b490fb
parentde5dcc8d844c64812d8744488b8d0c11180737b6
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