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


Groups > linux.kernel > #1333350

Re: [PATCH net-next 2/4] net: dsa: pass bridge down to drivers

From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 2/4] net: dsa: pass bridge down to drivers
Date 2016-02-13 19:50 +0100
Message-ID <r1Nqy-bV-11@gated-at.bofh.it> (permalink)
References <r1pxT-1vA-3@gated-at.bofh.it> <r1pxU-1vA-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-02-12 9:09 GMT-08:00 Vivien Didelot <vivien.didelot@savoirfairelinux.com>:
> Some DSA drivers may or may not support multiple software bridges on top
> of an hardware switch.
>
> It is more convenient for them to access the bridge's net_device for
> finer configuration.
>
> Removing the need to craft and access a bitmask also simplifies the
> code.
>
> This patch changes the signature of bridge related functions, update DSA
> drivers, and removes dsa_slave_br_port_mask.

This is the specific patch that depends on the patch you mention in
your cover letter, I applied it anyway, ignored the rejects in the
mv88e6xxx driver since I wanted to test bcm_sf2 only and the hardware
is still programmed the same way before and after:

Tested-by: Florian Fainelli <f.fainelli@gmail.com>

Thanks!
--
Florian

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


Thread

[PATCH net-next 0/4] net: dsa: pass bridge device to drivers Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-02-12 18:20 +0100
  [PATCH net-next 2/4] net: dsa: pass bridge down to drivers Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-02-12 18:20 +0100
    Re: [PATCH net-next 2/4] net: dsa: pass bridge down to drivers Florian Fainelli <f.fainelli@gmail.com> - 2016-02-13 19:50 +0100
  [PATCH net-next 1/4] net: dsa: mv88e6xxx: add port private structure Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-02-12 18:20 +0100
  [PATCH net-next 4/4] net: dsa: remove dsa_bridge_check_vlan_range Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-02-12 18:20 +0100

csiph-web