diff options
author | 2021-06-06 11:20:46 +0300 | |
---|---|---|
committer | 2021-06-09 17:20:04 -0700 | |
commit | c189716b2a7c1d2d8658e269735273caa1c38b54 (patch) | |
tree | 520716076455961361ad4318ac45609ff9addbcc /drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h | |
parent | net/mlx5e: Fix page reclaim for dead peer hairpin (diff) | |
download | linux-c189716b2a7c1d2d8658e269735273caa1c38b54.tar.gz linux-c189716b2a7c1d2d8658e269735273caa1c38b54.tar.bz2 linux-c189716b2a7c1d2d8658e269735273caa1c38b54.zip |
net/mlx5: Consider RoCE cap before init RDMA resources
Check if RoCE is supported by the device before enable it in
the vport context and create all the RDMA steering objects.
Fixes: 80f09dfc237f ("net/mlx5: Eswitch, enable RoCE loopback traffic")
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h')
0 files changed, 0 insertions, 0 deletions