summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-02-22 19:17:02 +0200
committerDavid S. Miller <davem@davemloft.net>2022-02-23 12:38:17 +0000
commitcc4d3de990523bae57ff340734135e2a11098a85 (patch)
tree9cc20d4ce9b50e7199605b51b68e4ebb37ca2ad9 /net/switchdev/switchdev.c
parent902992d18f5a8d121b001ac029acbeaf77db0276 (diff)
mlxsw: Remove resource query check
Since SwitchX-2 support was removed in commit b0d80c013b04 ("mlxsw: Remove Mellanox SwitchX-2 ASIC support"), all the ASICs supported by mlxsw support the resource query command. Therefore, remove the resource query check and always query resources from the device. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions