Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1333147
| From | Vivien Didelot <vivien.didelot@savoirfairelinux.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH RFC 0/3] net: bridge: set forwarding state when unbridging switchdev ports |
| Date | 2016-02-12 22:40 +0100 |
| Message-ID | <r1tBw-44h-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
When a port leaves a bridge, the bridge layer sets its STP state to Disabled. But switchdev users seem to need to restore its state to Forwarding to keep the communication with the CPU port functional (see DSA and Rocker for instance). br_set_state() tries to set the switchdev port state, if correctly implemented. So call it within del_nbp() to restore the Forwarding state on port removal. Does that make sense or are there scenarios where we don't want this behavior? Thanks, Vivien Didelot (3): net: bridge: log state when setting it net: bridge: set forwarding state on port removal net: dsa: remove dsa_slave_stp_update net/bridge/br_if.c | 5 +++++ net/bridge/br_stp.c | 5 ++--- net/dsa/slave.c | 17 ----------------- 3 files changed, 7 insertions(+), 20 deletions(-) -- 2.7.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH RFC 0/3] net: bridge: set forwarding state when unbridging switchdev ports Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-02-12 22:40 +0100
csiph-web