]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Move rvt_cq_wc struct into uapi directory
authorKamenee Arumugam <kamenee.arumugam@intel.com>
Fri, 28 Jun 2019 18:04:17 +0000 (14:04 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 29 Jun 2019 01:32:16 +0000 (22:32 -0300)
commit3e58a2c2d1c28c9339fdb5ca9f0c2da222df66aa
tree29c73008ca2e769447d578bda2516cf249f11429
parentd4dc8be40c5ea19944a6c2bd2260b1ca86ad2cc5
IB/hfi1: Move rvt_cq_wc struct into uapi directory

The rvt_cq_wc struct elements are shared between rdmavt and the providers
but not in uapi directory.  As per the comment in
https://marc.info/?l=linux-rdma&m=152296522708522&w=2 The hfi1 driver and
the rdma core driver are not using shared structures in the uapi
directory.

In that case, move rvt_cq_wc struct into the rvt-abi.h header file and
create a rvt_k_cq_w for the kernel completion queue.

Signed-off-by: Kamenee Arumugam <kamenee.arumugam@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/qp.c
drivers/infiniband/sw/rdmavt/cq.c
include/rdma/rdmavt_cq.h
include/rdma/rdmavt_qp.h
include/uapi/rdma/rvt-abi.h [new file with mode: 0644]