]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ab1289ef333b2cdc2b4b1ae819e9c5734ae961b
tree5efcd294f393fa6a3c0725ff2b8ff8af075d3a32
parentbfb7f00e08e6af3f8cf7cee1b993fa7f75afdfcb
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