Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473626

[PATCH net-next v2 0/3] net: dsa: add MDB support

From Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Newsgroups linux.kernel
Subject [PATCH net-next v2 0/3] net: dsa: add MDB support
Date 2016-08-31 18:00 +0200
Message-ID <scg5H-4hl-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Vivien Didelot (3):
  net: dsa: add MDB support
  net: dsa: mv88e6xxx: make switchdev DB ops generic
  net: dsa: mv88e6xxx: add MDB support

 Documentation/networking/dsa/dsa.txt |  23 +++++
 drivers/net/dsa/mv88e6xxx/chip.c     | 163 ++++++++++++++++++++++++++---------
 include/net/dsa.h                    |  16 ++++
 net/dsa/slave.c                      |  55 ++++++++++++
 4 files changed, 215 insertions(+), 42 deletions(-)

-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH net-next v2 0/3] net: dsa: add MDB support Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-31 18:00 +0200
  [PATCH net-next v2 3/3] net: dsa: mv88e6xxx: add MDB support Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-31 18:00 +0200
  [PATCH net-next v2 1/3] net: dsa: add MDB support Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-31 18:00 +0200
  [PATCH net-next v2 2/3] net: dsa: mv88e6xxx: make switchdev DB ops generic Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-31 18:00 +0200
  Re: [PATCH net-next v2 0/3] net: dsa: add MDB support Andrew Lunn <andrew@lunn.ch> - 2016-08-31 18:10 +0200
    Re: [PATCH net-next v2 0/3] net: dsa: add MDB support David Miller <davem@davemloft.net> - 2016-08-31 23:20 +0200

csiph-web