IB/cma: Set default gid type to RoCEv2
authorMoni Shoua <monis@mellanox.com>
Tue, 30 May 2017 06:47:34 +0000 (09:47 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 12:43:55 +0000 (08:43 -0400)
commit63a5f483af0ead9e936e8580c6a029b13819b4dc
treea95f58f3790e52497934ce975363d80c4d052741
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9
IB/cma: Set default gid type to RoCEv2

RoCEv2 is the preferred RDMA protocol for Ethernet link layer because
of its advantages over RoCEv1. For better user experience make it the
default choice for RDMA_CM connections if device/port support it.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c