From: Arkadi Sharshevsky <arkadis@mellanox.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, jiri@resnulli.us, ivecera@redhat.com,
f.fainelli@gmail.com, andrew@lunn.ch,
vivien.didelot@savoirfairelinux.com, Woojung.Huh@microchip.com,
stephen@networkplumber.org, mlxsw@mellanox.com,
Arkadi Sharshevsky <arkadis@mellanox.com>
Subject: [PATCH net-next 00/11] Change DSA's FDB API and perform switchdev cleanup
Date: Tue, 18 Jul 2017 17:20:13 +0300 [thread overview]
Message-ID: <1500387624-4361-1-git-send-email-arkadis@mellanox.com> (raw)
The patchset moves the DSA driver into learning static FDB entries via
the switchdev notification chain rather then by using bridge bypass SELF
flag.
The DSA drivers cannot sync the software bridge with hardware learned
entries and use the switchdev's implementation of bypass FDB dumping.
Because they are the only ones using this functionality, the fdb_dump
implementation is moved from switchdev code into DSA.
Finally after this changes a major cleanup in switchdev can be done.
Arkadi Sharshevsky (11):
net: dsa: Change DSA slave FDB API to be switchdev independent
net: dsa: Remove prepare phase for FDB
net: dsa: Remove switchdev dependency from DSA switch notifier chain
net: dsa: Add support for learning FDB through notification
net: dsa: Remove support for FDB add/del via SELF
net: dsa: Add support for querying supported bridge flags
net: dsa: Remove support for bypass bridge port attributes/vlan set
net: dsa: Remove redundant MDB dump support
net: dsa: Move FDB dump implementation inside DSA
net: bridge: Remove FDB deletion through switchdev object
net: switchdev: Remove bridge bypass support from switchdev
drivers/net/dsa/b53/b53_common.c | 85 +-----
drivers/net/dsa/b53/b53_priv.h | 16 +-
drivers/net/dsa/bcm_sf2.c | 2 -
drivers/net/dsa/dsa_loop.c | 38 ---
drivers/net/dsa/microchip/ksz_common.c | 125 +++-----
drivers/net/dsa/mt7530.c | 44 +--
drivers/net/dsa/mv88e6xxx/chip.c | 148 ++--------
drivers/net/dsa/qca8k.c | 40 +--
include/net/dsa.h | 25 +-
include/net/switchdev.h | 87 ------
net/bridge/br_fdb.c | 18 --
net/dsa/dsa.c | 13 +
net/dsa/dsa_priv.h | 21 +-
net/dsa/port.c | 51 +---
net/dsa/slave.c | 247 +++++++++++++---
net/dsa/switch.c | 21 +-
net/switchdev/switchdev.c | 519 ---------------------------------
17 files changed, 341 insertions(+), 1159 deletions(-)
--
2.4.11
next reply other threads:[~2017-07-18 14:16 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-18 14:20 Arkadi Sharshevsky [this message]
2017-07-18 14:20 ` [PATCH net-next 01/11] net: dsa: Change DSA slave FDB API to be switchdev independent Arkadi Sharshevsky
2017-07-18 14:20 ` [PATCH net-next 02/11] net: dsa: Remove prepare phase for FDB Arkadi Sharshevsky
2017-07-18 14:20 ` [PATCH net-next 03/11] net: dsa: Remove switchdev dependency from DSA switch notifier chain Arkadi Sharshevsky
2017-07-18 14:20 ` [PATCH net-next 04/11] net: dsa: Add support for learning FDB through notification Arkadi Sharshevsky
2017-07-18 17:16 ` Vivien Didelot
2017-07-19 10:27 ` Arkadi Sharshevsky
2017-07-18 14:20 ` [PATCH net-next 05/11] net: dsa: Remove support for FDB add/del via SELF Arkadi Sharshevsky
2017-07-18 17:19 ` Vivien Didelot
2017-07-18 14:20 ` [PATCH net-next 06/11] net: dsa: Add support for querying supported bridge flags Arkadi Sharshevsky
2017-07-18 17:22 ` Vivien Didelot
2017-07-18 14:20 ` [PATCH net-next 07/11] net: dsa: Remove support for bypass bridge port attributes/vlan set Arkadi Sharshevsky
2017-07-18 17:40 ` Vivien Didelot
2017-07-19 11:53 ` Arkadi Sharshevsky
2017-07-18 14:20 ` [PATCH net-next 08/11] net: dsa: Remove redundant MDB dump support Arkadi Sharshevsky
2017-07-18 17:42 ` Vivien Didelot
2017-07-18 14:20 ` [PATCH net-next 09/11] net: dsa: Move FDB dump implementation inside DSA Arkadi Sharshevsky
2017-07-18 18:06 ` Vivien Didelot
2017-07-19 12:00 ` Arkadi Sharshevsky
2017-07-18 14:20 ` [PATCH net-next 10/11] net: bridge: Remove FDB deletion through switchdev object Arkadi Sharshevsky
2017-07-18 18:07 ` Vivien Didelot
2017-07-18 14:20 ` [PATCH net-next 11/11] net: switchdev: Remove bridge bypass support from switchdev Arkadi Sharshevsky
2017-07-18 18:11 ` Vivien Didelot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1500387624-4361-1-git-send-email-arkadis@mellanox.com \
--to=arkadis@mellanox.com \
--cc=Woojung.Huh@microchip.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=ivecera@redhat.com \
--cc=jiri@resnulli.us \
--cc=mlxsw@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
--cc=vivien.didelot@savoirfairelinux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.