]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-mdb-support'
authorDavid S. Miller <davem@davemloft.net>
Wed, 31 Aug 2016 21:15:43 +0000 (14:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Aug 2016 21:15:43 +0000 (14:15 -0700)
commitaa116c0104916808ee5e27823b383e09ad77e176
treeb99ac0142b8b97a6aff835089b003eb721357de2
parent97b7278afb12f87d3b5cf6b2d091350aafbb8915
parentb5f73669f2f818dc96a0e06d4e9fe62efe5ae45c
Merge branch 'dsa-mdb-support'

Vivien Didelot says:

====================
net: dsa: add MDB support

This patchset adds the switchdev MDB object support to the DSA layer.

The MDB support for the mv88e6xxx driver is very similar to the FDB
support. The FDB operations care about unicast addresses while the MDB
operations care about multicast addresses.

Both operation set load/purge/dump the Address Translation Table (ATU),
thus common code is used.

Changes in v2 based on Andrew's comments:
  - drop "group" in multicast database related doc and comment
  - change _one for more relevant _fid in mv88e6xxx_port_db_dump_one
  - return -EOPNOTSUPP if switchdev obj ID is neither _FDB nor _MDB
====================

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>