[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111208.195329.137066250797993852.davem@davemloft.net>
Date: Thu, 08 Dec 2011 19:53:29 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jpirko@...hat.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
bhutchings@...arflare.com, shemminger@...tta.com,
ebiederm@...ssion.com, mirqus@...il.com, kaber@...sh.net,
greearb@...delatech.com, jesse@...ira.com
Subject: Re: [patch net-next 0/6] vlan: introduce per-device vlan id list
From: Jiri Pirko <jpirko@...hat.com>
Date: Thu, 8 Dec 2011 15:11:14 +0100
> Many drivers store vlan ids in their private structures.
> They are maintaining the private lists in vlan_add_vid and vlan_kill_vid.
>
> This patchset creates an infrastructure of storing vlan ids in one place,
> vlan core. Another benefit of this is that it allows to keep track of vlan
> ids needed. For example if eth0 has vlan id 10 on it, then it enters bonding,
> bonding gets added 10 as well, then eth0 leaves bonding. Final step would
> remove vlan id 10 from eth1 vlan filter resulting in potentially unfunction
> vlan device. This patchset fixes this.
>
> Jiri Pirko (6):
> vlan: rename vlan_dev_info to vlan_dev_priv
> net: make vlan ndo_vlan_rx_[add/kill]_vid return error value
> net: introduce vlan_vid_[add/del] and use them instead of direct
> [add/kill]_vid ndo calls
> vlan: introduce vid list with reference counting
> vlan: introduce functions to do mass addition/deletion of vids by
> another device
> team: use vlan_vids_[addr/del]_by_dev
All applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists