Re: [PATCH net-next v3 6/8] net: bridge: Stop calling switchdev_port_attr_get()

2019-02-21 Thread Jiri Pirko
Thu, Feb 21, 2019 at 01:58:24AM CET, f.faine...@gmail.com wrote: >Now that all switchdev drivers have been converted to check the >SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS flags and report flags that they >do not support accordingly, we can migrate the bridge code to try to set >that attribute first

Re: [PATCH net-next v3 6/8] net: bridge: Stop calling switchdev_port_attr_get()

2019-02-21 Thread Ido Schimmel
On Wed, Feb 20, 2019 at 04:58:24PM -0800, Florian Fainelli wrote: > Now that all switchdev drivers have been converted to check the > SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS flags and report flags that they > do not support accordingly, we can migrate the bridge code to try to set > that attribute

[PATCH net-next v3 6/8] net: bridge: Stop calling switchdev_port_attr_get()

2019-02-20 Thread Florian Fainelli
Now that all switchdev drivers have been converted to check the SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS flags and report flags that they do not support accordingly, we can migrate the bridge code to try to set that attribute first, check the results and then do the actual setting. Signed-off-by: F