diff options
| author | Parav Pandit <[email protected]> | 2017-11-14 14:52:00 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2017-12-18 15:37:06 -0700 |
| commit | 5c181bda77f409d89ad513528eccac5f3a416474 (patch) | |
| tree | ac54d4d9a841eb1be5c2df5ff5eb82fc51849399 /tools/perf/scripts/python | |
| parent | edf1a84fe37c51290e2c88154ecaf48dadff3d27 (diff) | |
RDMA/cma: Set default GID type as RoCE when resolving RoCE route
As the function name suggests cma_resolve_iboe_route() resolves RoCE
route. However, its default GID type is IB_GID_TYPE_IB and not
IB_GID_TYPE_ROCE, even though both are mapped to the same enum value.
Change default GID type to IB_GID_TYPE_ROCE.
cma_iboe_set_mgid() is updated to reflect the RoCEv2 GID check.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Daniel Jurgens <[email protected]>
Reviewed-by: Noa Osherovich <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions