diff options
| author | Parav Pandit <parav@mellanox.com> | 2017-11-14 14:52:00 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-18 15:37:06 -0700 |
| commit | 5c181bda77f409d89ad513528eccac5f3a416474 (patch) | |
| tree | ac54d4d9a841eb1be5c2df5ff5eb82fc51849399 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | edf1a84fe37c51290e2c88154ecaf48dadff3d27 (diff) | |
| download | linux-5c181bda77f409d89ad513528eccac5f3a416474.tar.gz linux-5c181bda77f409d89ad513528eccac5f3a416474.zip | |
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 <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
