]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Don't use SW steering when RoCE is not supported
authorMaor Gottlieb <maorg@nvidia.com>
Sun, 6 Jun 2021 08:23:41 +0000 (11:23 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 10 Jun 2021 00:20:04 +0000 (17:20 -0700)
commit863513df1ce983a4af05fdc724b0c68c720a60a9
tree478e718d0fbb1bee9e229246140d669b711ef967
parent996e5f936f5b1f67e6b931358f5d7a0994461acc
net/mlx5: DR, Don't use SW steering when RoCE is not supported

SW steering uses RC QP to write/read to/from ICM, hence it's not
supported when RoCE is not supported as well.

Fixes: f812ea241461 ("net/mlx5: DR, Expose APIs for direct rule managing")
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h