OpenCloudOS-Kernel/drivers/infiniband/hw
Kaike Wan 838b6fd2d9 IB/hfi1: TID RDMA RcvArray programming and TID allocation
TID entries are used by hfi1 hardware to receive data payload from
incoming packets directly into a user buffer and thus avoid data copying
by software. This patch implements the functions for TID allocation,
freeing, and programming TID RcvArray entries in hardware for kernel
clients. TID entries are managed via lists of TID groups similar to PSM.
Furthermore, to track TID resource allocation for each request, software
flows are also allocated and freed as needed. Since software flows
consume large amount of memory for tracking TID allocation and freeing,
it is generally desirable to allocate them dynamically in the send queue
and only for TID RDMA requests, but pre-allocate them for receive queue
because the send queue could have thousands of entries while the receive
queue has only a limited number of entries.

Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-02-05 17:53:55 -05:00
..
bnxt_re Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
cxgb3 Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
cxgb4 Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
hfi1 IB/hfi1: TID RDMA RcvArray programming and TID allocation 2019-02-05 17:53:55 -05:00
hns Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
i40iw Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
mlx4 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
mlx5 Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
mthca Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
nes RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
ocrdma Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
qedr Merge branch 'devx-async' into k.o/for-next 2019-01-29 13:49:31 -07:00
qib IB/hfi: Move RC functions into a header file 2019-02-05 17:51:09 -05:00
usnic infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Support upto 64-bit PFNs 2019-01-29 21:40:28 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00