IB/rdmavt: Allow reserving just one qpn
authorHarish Chegondi <harish.chegondi@intel.com>
Fri, 22 Jan 2016 20:50:30 +0000 (12:50 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:20 +0000 (20:37 -0500)
commitfef2efd6b4951148cc8dd1df7b3e1ff2f13dd6df
treebcbd95e363f7818c57078800f79a334bd0662bb6
parent5a9cf6f27e36ece71cc8a192a4ca39b62a460807
IB/rdmavt: Allow reserving just one qpn

qib needs to reserve only one qpn for non-verbs stuff. Also fixed the for
loop to reserve the end qpn.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/qp.c