summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-02-22 20:17:02 +0300
committerDavid S. Miller <davem@davemloft.net>2022-02-23 15:38:17 +0300
commitcc4d3de990523bae57ff340734135e2a11098a85 (patch)
tree9cc20d4ce9b50e7199605b51b68e4ebb37ca2ad9 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h
parent902992d18f5a8d121b001ac029acbeaf77db0276 (diff)
downloadlinux-cc4d3de990523bae57ff340734135e2a11098a85.tar.xz
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 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
0 files changed, 0 insertions, 0 deletions