]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/cm: Use the source GID index type
authorMatan Barak <matanb@mellanox.com>
Wed, 23 Dec 2015 12:56:48 +0000 (14:56 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 15:35:10 +0000 (10:35 -0500)
commitcb57bb849effcaa83addd739595d3dea3a5905fb
tree34dc126c899f861c8b8be5303b34a48053e73e4e
parentb39ffa1df505378336a85064ad9ec403765bbb0b
IB/cm: Use the source GID index type

Previosuly, cm and cma modules supported only IB and RoCE v1 GID type.
In order to support multiple GID types, the gid_type is passed to
cm_init_av_by_path and stored in the path record.

The rdma cm client would use a default GID type that will be saved in
rdma_id_private.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c