RDMA/cma: Provide a function to set RoCE path record L2 parameters
authorParav Pandit <parav@mellanox.com>
Mon, 8 Jan 2018 15:04:44 +0000 (17:04 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 11 Jan 2018 05:00:33 +0000 (22:00 -0700)
commit9327c7afdce3780895728c8977144bf3b5f854c5
tree056493369c5a8b006619ad5124a6bace42cb7993
parent608bc44634f3a1ce624d9e8586d05a6887bb3b3c
RDMA/cma: Provide a function to set RoCE path record L2 parameters

Introduce a helper function to set path record L2 fields for RoCE.
This includes setting GID type, destination mac address and netdev
ifindex.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c