]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: Remove unused CAPs
authorShay Drory <shayd@nvidia.com>
Sun, 2 Jan 2022 12:57:39 +0000 (14:57 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 14 Aug 2023 21:40:22 +0000 (14:40 -0700)
commit0b4eb603d635ca47c1c372f69b4b96672e4c2c05
tree72080026db3b0b9ddf9398f8a7c6fdfb2fd08abb
parent36e5a0efc81010dab29b17c66c58417a15851836
net/mlx5: Remove unused CAPs

mlx5 driver queries the device for VECTOR_CALC and SHAMPO caps, but
there isn't any user who requires them.
As well as, MLX5_MCAM_REGS_0x9080_0x90FF is queried but not used.

Thus, drop all usages and definitions of the mentioned caps above.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Maher Sanalla <msanalla@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fw.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h