diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2020-06-13 17:54:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-13 15:37:17 -0700 |
commit | bc139119a1708ae3db1ebb379630f286e28d06e8 (patch) | |
tree | 16d396be725d7e106e6aefe6c84e4ea012007c00 /samples/timers | |
parent | 2074f9eaa58795a99e9da61c10f93180f810cfd6 (diff) | |
download | linux-bc139119a1708ae3db1ebb379630f286e28d06e8.tar.gz linux-bc139119a1708ae3db1ebb379630f286e28d06e8.tar.bz2 linux-bc139119a1708ae3db1ebb379630f286e28d06e8.zip |
net: ethernet: ti: ale: fix allmulti for nu type ale
On AM65xx MCU CPSW2G NUSS and 66AK2E/L NUSS allmulti setting does not allow
unregistered mcast packets to pass.
This happens, because ALE VLAN entries on these SoCs do not contain port
masks for reg/unreg mcast packets, but instead store indexes of
ALE_VLAN_MASK_MUXx_REG registers which intended for store port masks for
reg/unreg mcast packets.
This path was missed by commit 9d1f6447274f ("net: ethernet: ti: ale: fix
seeing unreg mcast packets with promisc and allmulti disabled").
Hence, fix it by taking into account ALE type in cpsw_ale_set_allmulti().
Fixes: 9d1f6447274f ("net: ethernet: ti: ale: fix seeing unreg mcast packets with promisc and allmulti disabled")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/timers')
0 files changed, 0 insertions, 0 deletions