summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-10-28 10:16:55 +0100
committerDavid S. Miller <davem@davemloft.net>2015-10-30 12:26:40 +0900
commit371e59adcebf9953385bf46d5325ac39a53c5520 (patch)
tree3f8dc264995f9802858e04d0eba61c2ebfd5c282
parent741af0053b43d8b9a688a12c57ece62338616ae8 (diff)
downloadop-kernel-dev-371e59adcebf9953385bf46d5325ac39a53c5520.zip
op-kernel-dev-371e59adcebf9953385bf46d5325ac39a53c5520.tar.gz
switchdev: Make flood to CPU optional
In certain use cases it is not always desirable for the switch device to flood traffic to CPU port. Instead, only certain packet types (e.g. STP, LACP) should be trapped to it. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/networking/switchdev.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/networking/switchdev.txt b/Documentation/networking/switchdev.txt
index ce510e1..9199413 100644
--- a/Documentation/networking/switchdev.txt
+++ b/Documentation/networking/switchdev.txt
@@ -278,8 +278,8 @@ Flooding L2 domain
For a given L2 VLAN domain, the switch device should flood multicast/broadcast
and unknown unicast packets to all ports in domain, if allowed by port's
current STP state. The switch driver, knowing which ports are within which
-vlan L2 domain, can program the switch device for flooding. The packet should
-also be sent to the port netdev for processing by the bridge driver. The
+vlan L2 domain, can program the switch device for flooding. The packet may
+be sent to the port netdev for processing by the bridge driver. The
bridge should not reflood the packet to the same ports the device flooded,
otherwise there will be duplicate packets on the wire.
OpenPOWER on IntegriCloud