diff options
author | Mark Zhang <markzhang@nvidia.com> | 2023-06-05 13:33:23 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-06-11 11:26:02 +0300 |
commit | 58030c76cce473b6cfd630bbecb97215def0dff8 (patch) | |
tree | dcd939cf38a9317910deae1e6fe5e326d7a428c7 /lib/xarray.c | |
parent | 2de43f5b5137e03ef64a2c3f064a01992830c67f (diff) |
RDMA/cma: Always set static rate to 0 for RoCE
Set static rate to 0 as it should be discovered by path query and
has no meaning for RoCE.
This also avoid of using the rtnl lock and ethtool API, which is
a bottleneck when try to setup many rdma-cm connections at the same
time, especially with multiple processes.
Fixes: 3c86aa70bf67 ("RDMA/cm: Add RDMA CM support for IBoE devices")
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Link: https://lore.kernel.org/r/f72a4f8b667b803aee9fa794069f61afb5839ce4.1685960567.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions