diff options
author | Jubin John <jubin.john@intel.com> | 2016-05-24 22:51:06 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-05-26 19:21:10 +0300 |
commit | f158486527ebfb4c1fe4dcb69b12479090d66b72 (patch) | |
tree | 4ee0889a8d31ba6bbf84f3b6446e2a9def8200c5 /include | |
parent | f6de3d39cfc30387ce7dadb8542e4a635c706670 (diff) | |
download | linux-f158486527ebfb4c1fe4dcb69b12479090d66b72.tar.xz |
IB/hfi1: Fix pio map initialization
The pio map initialization function is off by 1 causing the last
kernel send context that is allocated to not get mapped into the
pio map which leads to the last kernel send context not being used
by any of the qps.
The send context reserved for VL15 is taken care of by setting the
scontext variable that is used as the index into the kernel send
context array to 1 and does not need to be accounted for in the
kernel send context counting loop as it is currently done.
Fix the kernel send context counting loop to account for all the
allocated send contexts and map all of them to the different VLs.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Jianxin Xiong <jianxin.xiong@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions