diff options
| author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-04-14 14:42:07 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:24 +0200 |
| commit | d6a2dd37e58da8a7516dbabb4411a8cebb843106 (patch) | |
| tree | 73a22b5c4da9b055845340fd36783a659e57eb55 /include/linux/timerqueue.h | |
| parent | a039c41fb75ddc8f915b51822b4d49a33e117cb0 (diff) | |
net: dsa: mv88e6xxx: unlock DSA and CPU ports
commit 65fa40276ac1318e75264e5a204547b57c2cf397 upstream.
Locking a port generates an hardware interrupt when a new SA address is
received. This enables CPU directed learning, which is needed for 802.1X
MAC authentication.
To disable automatic learning on a port, the only configuration needed
is to set its Port Association Vector to all zero.
Clear PAV when SA learning should be disabled instead of locking a port.
Fixes: 4c7ea3c0791e ("net: dsa: mv88e6xxx: disable SA learning for DSA and CPU ports")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
