IB/hfi1, qib, rdmavt: Move AETH credit functions into rdmavt
authorBrian Welty <brian.welty@intel.com>
Wed, 8 Feb 2017 13:27:07 +0000 (05:27 -0800)
committerDoug Ledford <dledford@redhat.com>
Sun, 19 Feb 2017 14:18:38 +0000 (09:18 -0500)
commit696513e8cf39ccb8ee8010fd2157f095b3af6a91
tree70758428685c90f9c7f11b28c5a6864aed65f82a
parentbeb5a0426794c9698c4e0349c626d819b5f3b2c7
IB/hfi1, qib, rdmavt: Move AETH credit functions into rdmavt

Add rvt_compute_aeth() and rvt_get_credit() as shared functions in
rdmavt, moved from hfi1/qib logic.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Brian Welty <brian.welty@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
13 files changed:
drivers/infiniband/hw/hfi1/common.h
drivers/infiniband/hw/hfi1/qp.c
drivers/infiniband/hw/hfi1/qp.h
drivers/infiniband/hw/hfi1/rc.c
drivers/infiniband/hw/hfi1/trace.c
drivers/infiniband/hw/hfi1/verbs.h
drivers/infiniband/hw/qib/qib_common.h
drivers/infiniband/hw/qib/qib_qp.c
drivers/infiniband/hw/qib/qib_rc.c
drivers/infiniband/hw/qib/qib_verbs.h
drivers/infiniband/sw/rdmavt/Makefile
drivers/infiniband/sw/rdmavt/rc.c [new file with mode: 0644]
include/rdma/rdmavt_qp.h