aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorEgil Hjelmeland <[email protected]>2017-10-31 15:48:02 +0100
committerDavid S. Miller <[email protected]>2017-11-01 21:30:24 +0900
commitf849772915e5501c25f69f4815daa8cd86194634 (patch)
treeb545bef2c57085b3566c09ee6b0a8d95f3abad9d /tools/perf/scripts/python/net_dropmonitor.py
parente9292f2c03851ef81bef38579a0ee9c42140e586 (diff)
net: dsa: lan9303: lan9303_rcv set skb->offload_fwd_mark
The chip flood broadcast and unknown multicast frames. On receive set skb->offload_fwd_mark to prevent the SW from flooding to the same ports. One exception: Because the ALR is set up to forward STP BPDUs only to CPU, the SW bridge should flood STP BPDUs if local STP is not enabled. This is archived by not setting skb->offload_fwd_mark on STP BPDUs. Signed-off-by: Egil Hjelmeland <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions