]> 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)
commitd71bef43e39c9399e1ab47421b8d65f9c9d699e8
treec34ce51519680740b9eac79fb772e93f72b490fb
parent9edf728c14cef001f0ef60c18e28e2c148c73a5d
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