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


Groups > linux.kernel > #1340834 > unrolled thread

Re: [PATCH net-next 0/4] net: dsa: pass bridge device to drivers

Started byVivien Didelot <vivien.didelot@savoirfairelinux.com>
First post2016-02-23 17:20 +0100
Last post2016-02-23 17:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH net-next 0/4] net: dsa: pass bridge device to drivers Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-02-23 17:20 +0100

#1340834 — Re: [PATCH net-next 0/4] net: dsa: pass bridge device to drivers

FromVivien Didelot <vivien.didelot@savoirfairelinux.com>
Date2016-02-23 17:20 +0100
SubjectRe: [PATCH net-next 0/4] net: dsa: pass bridge device to drivers
Message-ID<r5nQT-7QI-45@gated-at.bofh.it>
Hi all,

Vivien Didelot <vivien.didelot@savoirfairelinux.com> writes:

> This patchset simplifies the DSA layer.
>
> A switch may support multiple bridges with the same hardware VLAN. Thus a check
> such as dsa_bridge_check_vlan_range must be moved from the DSA layer to the
> concerned driver.
>
> The first purpose of this patchset is to help moving this check to the
> mv88e6xxx driver, which is the only one affected at the moment.
>
> To do that, pass directly the bridge net_device structure down to the DSA
> drivers, instead of calculating a bitmask of bridge members.
>
> The second purpose is to prepare the replacement of the complex
> port_vlan_getnext approach. A second patchset is ready to follow, implementing
> port_vlan_dump and thus simplifying the DSA slave code one more time.
>
> Note that this patchset applies on top of https://lkml.org/lkml/2016/2/5/532.

The dependent fix from net is now merged into net-next, which makes this
patchset apply well. I'm sending the second patchset right away.

Thanks,
-v

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web