]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fcdc9529a7acd32bf8b390bc6f11477be1b042f
treea498c705dab0aec6ff987f9f9e5cd13523ced27e
parent0dd1873d1ad9f3991469cc99b4489f543ef5bb87
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