On Thu, Aug 17, 2017 at 6:20 PM, Leon Romanovsky <leon@xxxxxxxxxx> wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > 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@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- Reviewed-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html