linux/drivers/infiniband/hw/hfi1
Jubin John f158486527 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>
2016-05-26 12:21:10 -04:00
..
affinity.c
affinity.h
aspm.h
chip_registers.h
chip.c IB/hfi1: Update pkey table properly after link down or FM start 2016-05-26 12:21:10 -04:00
chip.h IB/hfi1: Correct 8051 link parameter settings 2016-05-26 12:21:10 -04:00
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 IB/hfi1: Update pkey table properly after link down or FM start 2016-05-26 12:21:10 -04:00
mad.h
Makefile
mmu_rb.c
mmu_rb.h
opa_compat.h
pcie.c
pio_copy.c
pio.c IB/hfi1: Fix pio map initialization 2016-05-26 12:21:10 -04:00
pio.h
platform.c IB/hfi1: Correct 8051 link parameter settings 2016-05-26 12:21:10 -04:00
platform.h
qp.c IB/hfi1: Fix hard lockup due to not using save/restore spin lock 2016-05-26 12:21:10 -04:00
qp.h
qsfp.c
qsfp.h
rc.c
ruc.c
sdma_txreq.h
sdma.c
sdma.h
sysfs.c
trace.c IB/hfi1: Add tracing support for send with invalidate opcode 2016-05-26 12:21:10 -04:00
trace.h IB/hfi1: Add tracing support for send with invalidate opcode 2016-05-26 12:21:10 -04:00
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 IB/hfi1: Add tracing support for send with invalidate opcode 2016-05-26 12:21:10 -04:00
verbs.h