summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-21 01:58:24 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-21 23:55:14 +0100
commit1ef0764486fa6b22d7e211e56486acb416a9ea8d (patch)
tree6076808f1930f89db190ebad17be26b438e951e7 /drivers/net/ethernet/mellanox
parentrocker: Check Handle PORT_PRE_BRIDGE_FLAGS (diff)
downloadlinux-1ef0764486fa6b22d7e211e56486acb416a9ea8d.tar.xz
linux-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 'drivers/net/ethernet/mellanox')
0 files changed, 0 insertions, 0 deletions