aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-20 16:58:24 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-21 14:55:14 -0800
commit1ef0764486fa6b22d7e211e56486acb416a9ea8d (patch)
tree6076808f1930f89db190ebad17be26b438e951e7 /include/net/switchdev.h
parentrocker: Check Handle PORT_PRE_BRIDGE_FLAGS (diff)
downloadlinux-dev-1ef0764486fa6b22d7e211e56486acb416a9ea8d.tar.xz
linux-dev-1ef0764486fa6b22d7e211e56486acb416a9ea8d.zip
net: bridge: Stop calling switchdev_port_attr_get()
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: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions