Re: [PATCH net-next 1/7] net: dsa: add support for switchdev VLAN objects

2015-08-13 Thread Andrew Lunn
On Thu, Aug 13, 2015 at 05:01:57PM -0400, Vivien Didelot wrote: > Hi Andrew, > > On 15-08-13 22:16:08, Andrew Lunn wrote: > > On Thu, Aug 13, 2015 at 12:52:17PM -0400, Vivien Didelot wrote: > > > Add new functions in DSA drivers to access hardware VLAN entries through > > > SWITCHDEV_OBJ_PORT_VLAN

Re: [PATCH net-next 1/7] net: dsa: add support for switchdev VLAN objects

2015-08-13 Thread Vivien Didelot
Hi Andrew, On 15-08-13 22:16:08, Andrew Lunn wrote: > On Thu, Aug 13, 2015 at 12:52:17PM -0400, Vivien Didelot wrote: > > Add new functions in DSA drivers to access hardware VLAN entries through > > SWITCHDEV_OBJ_PORT_VLAN objects: > > > > - port_pvid_get() and vlan_getnext() to dump a VLAN > >

Re: [PATCH net-next 1/7] net: dsa: add support for switchdev VLAN objects

2015-08-13 Thread Andrew Lunn
On Thu, Aug 13, 2015 at 12:52:17PM -0400, Vivien Didelot wrote: > Add new functions in DSA drivers to access hardware VLAN entries through > SWITCHDEV_OBJ_PORT_VLAN objects: > > - port_pvid_get() and vlan_getnext() to dump a VLAN > - port_vlan_del() to exclude a port from a VLAN > - port_pvid_s

[PATCH net-next 1/7] net: dsa: add support for switchdev VLAN objects

2015-08-13 Thread Vivien Didelot
Add new functions in DSA drivers to access hardware VLAN entries through SWITCHDEV_OBJ_PORT_VLAN objects: - port_pvid_get() and vlan_getnext() to dump a VLAN - port_vlan_del() to exclude a port from a VLAN - port_pvid_set() and port_vlan_add() to join a port to a VLAN The DSA infrastructure wi