commit | 792f16e083b5fdf6bd82c76a73d59d9f23c86a40 | [log] [tgz] |
---|---|---|
author | Maor Gottlieb <maorg@nvidia.com> | Sun Jun 06 11:20:46 2021 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 23 14:42:43 2021 +0200 |
tree | 0115c3a6fa0bbc8c49b93e2d513b2739fa829cb1 | |
parent | be7f3f401d224e1efe8112b2fa8b837eeb8c5e52 [diff] |
net/mlx5: Consider RoCE cap before init RDMA resources [ Upstream commit c189716b2a7c1d2d8658e269735273caa1c38b54 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>