aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2016-06-01 11:45:44 +0800
committerDavid S. Miller <[email protected]>2016-06-01 17:48:46 -0700
commit9c127a016e66a85edaad6f9a674d0d1dce93d251 (patch)
treed8f23cacc9a57251677d1c862e893e3caf6bb6ca /tools/perf/scripts/python/sched-migration.py
parent260916dfb48c374f7840f3b86e69afd3afdb6e96 (diff)
macvlan: Avoid unnecessary multicast cloning
Currently we always queue a multicast packet for further processing, even if none of the macvlan devices are subscribed to the address. This patch optimises this by adding a global multicast filter for a macvlan_port. Note that this patch doesn't handle the broadcast addresses of the individual macvlan devices correctly, if they are not all identical to vlan->lowerdev. However, this is already broken because there is no mechanism in place to update the individual multicast filters when you change the broadcast address. If someone cares enough they should fix this by collecting all broadcast addresses for a macvlan as we do for multicast and unicast. Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions