]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: make switchdev DB ops generic
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 31 Aug 2016 15:50:04 +0000 (11:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Aug 2016 21:15:43 +0000 (14:15 -0700)
commit7520925d959cc0e0261e640c2c13b470e8be5551
tree4c69e75dbd8e0474effac7630bc0eecfcb4608f9
parentf06c5385967a340892f6ba79c3589b99e38139a7
net: dsa: mv88e6xxx: make switchdev DB ops generic

The MDB support for the mv88e6xxx driver will be very similar to the FDB
support, since it consists of loading/purging/dumping address to/from
the Address Translation Unit (ATU).

Prepare the support for MDB by making the FDB code accessing the ATU
generic. The FDB operations now provide access to the unicast addresses
while the MDB operations will provide access to the multicast addresses.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c