summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-06-23 06:17:53 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-23 14:52:09 +0300
commit418e7dab0f83fcef4f3cb1ae5b1c02ee83b8e26c (patch)
treea37f6d45a0b6ce2fe57246bfac8759ce2b6ea00a /tools/perf/scripts/python
parent6ab91e47694e03775bbe874fa8f15f84db404c00 (diff)
downloadlinux-418e7dab0f83fcef4f3cb1ae5b1c02ee83b8e26c.tar.xz
net: pch_gbe: Clean up pch_gbe_set_multi
Refactor pch_gbe_set_multi in order to avoid unnecessary indentation & make it clearer what the code is doing. The one behavioral change from this patch is that we'll no longer configure the MAC address registers for multicast addresses when the IFF_PROMISC or IFF_ALLMULTI flags are set. In these cases, just as when we want to monitor more multicast addresses than we have MAC address registers, we disable multicast filtering so the MAC address registers are unused. Signed-off-by: Paul Burton <paul.burton@mips.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions