staging/rdma/hfi1: move txreq header code
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Sun, 14 Feb 2016 20:44:34 +0000 (12:44 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:38:11 +0000 (20:38 -0500)
commit45842abbb292338d7d328c40bae411218242d2cd
tree856efda3e78158f7e402998c6f9e5a7dbec2a3b8
parentd2421a82f6d8ad407d3f4acdbacedfb06d9f47f5
staging/rdma/hfi1: move txreq header code

The patch separates the txreq defines into new files, one for
verbs and one for sdma.

The verbs_txreq implementation handles the setup and teardown
of the txreq cache, so the register routine is changed to call
the new init/exit routines.

This patch allows for followup patches enhance the send engine.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/Makefile
drivers/staging/rdma/hfi1/qp.c
drivers/staging/rdma/hfi1/ruc.c
drivers/staging/rdma/hfi1/sdma.h
drivers/staging/rdma/hfi1/sdma_txreq.h [new file with mode: 0644]
drivers/staging/rdma/hfi1/verbs.c
drivers/staging/rdma/hfi1/verbs_txreq.c [new file with mode: 0644]
drivers/staging/rdma/hfi1/verbs_txreq.h [new file with mode: 0644]