RDMA/ocrdma: Support user AH creation for RoCE-v2
authorDevesh Sharma <devesh.sharma@avagotech.com>
Thu, 28 Jan 2016 13:59:59 +0000 (08:59 -0500)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Feb 2016 22:12:10 +0000 (17:12 -0500)
commit834d16d66ebc2b5faa06af0bda3bb6f9c71b3996
tree5efcd294f393fa6a3c0725ff2b8ff8af075d3a32
parentbcf117e2cf6f451b46780e0660e9ae7ab33a33ea
RDMA/ocrdma: Support user AH creation for RoCE-v2

This patch adds support to create RoCE-v2 compatible AH. It uses ahid
field to tell network-header-type to user space library. The library
has to decode network-header-type from ahid field.

Signed-off-by: Somnath Kotur <somnath.kotur@avagotech.com>
Signed-off-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_ah.c
drivers/infiniband/hw/ocrdma/ocrdma_ah.h