f158486527
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> |
||
---|---|---|
.. | ||
affinity.c | ||
affinity.h | ||
aspm.h | ||
chip_registers.h | ||
chip.c | ||
chip.h | ||
common.h | ||
debugfs.c | ||
debugfs.h | ||
device.c | ||
device.h | ||
dma.c | ||
driver.c | ||
efivar.c | ||
efivar.h | ||
eprom.c | ||
eprom.h | ||
file_ops.c | ||
firmware.c | ||
hfi.h | ||
init.c | ||
intr.c | ||
iowait.h | ||
Kconfig | ||
mad.c | ||
mad.h | ||
Makefile | ||
mmu_rb.c | ||
mmu_rb.h | ||
opa_compat.h | ||
pcie.c | ||
pio_copy.c | ||
pio.c | ||
pio.h | ||
platform.c | ||
platform.h | ||
qp.c | ||
qp.h | ||
qsfp.c | ||
qsfp.h | ||
rc.c | ||
ruc.c | ||
sdma_txreq.h | ||
sdma.c | ||
sdma.h | ||
sysfs.c | ||
trace.c | ||
trace.h | ||
twsi.c | ||
twsi.h | ||
uc.c | ||
ud.c | ||
user_exp_rcv.c | ||
user_exp_rcv.h | ||
user_pages.c | ||
user_sdma.c | ||
user_sdma.h | ||
verbs_txreq.c | ||
verbs_txreq.h | ||
verbs.c | ||
verbs.h |