Re: [PATCH net-next 05/16] rocker: Check bridge flags during prepare phase

2019-02-09 Thread Jiri Pirko
Sat, Feb 09, 2019 at 01:32:37AM CET, f.faine...@gmail.com wrote: >In preparation for getting rid of switchdev_port_attr_get(), have rocker >check for the bridge flags being set through switchdev_port_attr_set() >with the SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS attribute identifier. > >Signed-off-by: Fl

[PATCH net-next 05/16] rocker: Check bridge flags during prepare phase

2019-02-08 Thread Florian Fainelli
In preparation for getting rid of switchdev_port_attr_get(), have rocker check for the bridge flags being set through switchdev_port_attr_set() with the SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS attribute identifier. Signed-off-by: Florian Fainelli --- drivers/net/ethernet/rocker/rocker_main.c | 40 ++