Re: [PATCH] net: switchdev: ignore unsupported bridge flags

2015-06-24 Thread David Miller
From: Jiri Pirko Date: Tue, 23 Jun 2015 17:09:20 +0200 > Tue, Jun 23, 2015 at 04:26:04PM CEST, vivien.dide...@savoirfairelinux.com > wrote: >>switchdev_port_bridge_getlink() queries SWITCHDEV_ATTR_PORT_BRIDGE_FLAGS >>attributes, but a driver doesn't need to implement this in order to get >>bridg

Re: [PATCH] net: switchdev: ignore unsupported bridge flags

2015-06-23 Thread Scott Feldman
On Tue, Jun 23, 2015 at 7:26 AM, Vivien Didelot wrote: > switchdev_port_bridge_getlink() queries SWITCHDEV_ATTR_PORT_BRIDGE_FLAGS > attributes, but a driver doesn't need to implement this in order to get > bridge link information. > > So error out only on errors different than -EOPNOTSUPP. > > (Th

Re: [PATCH] net: switchdev: ignore unsupported bridge flags

2015-06-23 Thread Jiri Pirko
Tue, Jun 23, 2015 at 04:26:04PM CEST, vivien.dide...@savoirfairelinux.com wrote: >switchdev_port_bridge_getlink() queries SWITCHDEV_ATTR_PORT_BRIDGE_FLAGS >attributes, but a driver doesn't need to implement this in order to get >bridge link information. > >So error out only on errors different than