IB/rdmavt: Correct warning during QPN allocation
authorBrian Welty <brian.welty@intel.com>
Thu, 9 Jun 2016 14:51:20 +0000 (07:51 -0700)
committerDoug Ledford <dledford@redhat.com>
Sat, 18 Jun 2016 00:11:26 +0000 (20:11 -0400)
commit501edc42446e89fa67fb6ef2c9afb50792c310c0
treea498c705dab0aec6ff987f9f9e5cd13523ced27e
parent96605672a4172f6e31f31ce29ee27fef68011de0
IB/rdmavt: Correct warning during QPN allocation

Correct calculation of the low order bits which should be unset
based on use of qos_shift parameter when assigning QPN.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Brian Welty <brian.welty@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/qp.c