commit | fd231c829b252303183d1f2f0c11003908f7bb9a | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Aug 10 09:09:50 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 11 12:03:19 2015 -0700 |
tree | c2f6023f03a7c221f29c8ed68a8f344f99e69727 | |
parent | 2a778e1b58990e15de5cba4badec1fa7ecb87e80 [diff] |
net: dsa: mv88e6xxx: rework FDB add/del operations Add a mv88e6xxx_atu_entry structure and a low level function for the ATU Load operation, and provide FDB add and delete wrappers functions. This implementation handles the eventual trunk mapping. If the related bit is set, then the ATU data register would contain the trunk ID, and not the port vector. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>