net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 21 Apr 2020 03:26:55 +0000 (20:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2020 14:33:11 +0000 (16:33 +0200)
commit51c935f6c6ef25f2a24c7d7e98a9cdc5b36b410b
treec41b54688bbb640b2fe8e033e7bf13079b3c3dc8
parentcb1a18a7d328732f72b3e69e525b99389a0b4496
net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL

[ Upstream commit 64fec9493f7dc9bdd7233bcfe98985c45bd0e3c1 ]

Flip the IVL_SVL_SELECT bit correctly based on the VLAN enable status,
the default is to perform Shared VLAN learning instead of Individual
learning.

Fixes: 1da6df85c6fb ("net: dsa: b53: Implement ARL add/del/dump operations")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_regs.h