]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Apr 2020 19:50:41 +0000 (12:50 -0700)
commitfba65a8a27d1e5bfcd8452ad01a51b66ce88d65d
tree3ead4a49ab245ffc32f825f12299bdfcb53f4f0a
parentcfb72a32eecc2d67e633730dd53b7aea2fe7558c
net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL

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: 42c5927a3531 ("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>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_regs.h