diff options
author | Kaike Wan <kaike.wan@intel.com> | 2019-01-24 04:30:07 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-02-05 23:53:55 +0100 |
commit | 838b6fd2d9ca29998869e4d1ecf4566efe807666 (patch) | |
tree | e55c782966d8711adc080ec9c865863f56909107 /.gitignore | |
parent | IB/hfi1: TID RDMA flow allocation (diff) | |
download | linux-838b6fd2d9ca29998869e4d1ecf4566efe807666.tar.xz linux-838b6fd2d9ca29998869e4d1ecf4566efe807666.zip |
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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions