aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorGrygorii Strashko <[email protected]>2019-04-26 20:12:33 +0300
committerDavid S. Miller <[email protected]>2019-04-27 17:11:49 -0400
commit06095f34f8a0a2c4c83a19514c272699edd5f80b (patch)
treea219665d9938d1d78a876e947cf491c70fa44de4 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent91c88659a7e85d0723ea95bd54f7a64d1a45d27c (diff)
net: ethernet: ti: cpsw: fix allmulti cfg in dual_mac mode
Now CPSW ALE will set/clean Host port bit in Unregistered Multicast Flood Mask (UNREG_MCAST_FLOOD_MASK) for every VLAN without checking if this port belongs to VLAN or not when ALLMULTI mode flag is set for nedev. This is working in non dual_mac mode, but in dual_mac - it causes enabling/disabling ALLMULTI flag for both ports. Hence fix it by adding additional parameter to cpsw_ale_set_allmulti() to specify ALE port number for which ALLMULTI has to be enabled and check if port belongs to VLAN before modifying UNREG_MCAST_FLOOD_MASK. Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions