diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-08-17 15:50:32 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-24 16:15:32 -0400 |
commit | 5ab2d89b85a6c5c2d7604c9674f77a68f3d24f91 (patch) | |
tree | 32297346a387dcabaf069e870d8fb3cd8f3974bd /drivers/infiniband/hw/mlx4/alias_GUID.c | |
parent | 732912c7386120179bf8f666febc232922e3ee17 (diff) |
IB/cma: Fix erroneous validation of supported default GID type
When rdma_cm is initializing a cma_device it checks if this device
supports the preferred default GID type. This check was done in a wrong way
and therefore sometimes rdma_cm is coming up with default GID type that is
not supported by the device.
Fix that by checking for supported GID type properly.
Fixes: 3c7f67d1880d ("IB/cma: Fix default RoCE type setting")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions