]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/ocrdma: Fix pkey_index returned by driver in rq work completion
authorSelvin Xavier <selvin.xavier@broadcom.com>
Fri, 5 Feb 2016 14:36:39 +0000 (20:06 +0530)
committerDoug Ledford <dledford@redhat.com>
Fri, 5 Feb 2016 20:14:28 +0000 (15:14 -0500)
commit4ac4cb1b3fdbc129e636fa035de62724d97ab5dd
treec9af2244cfea45234d94bb8403e79c95063e61b0
parentebe6bfc0b70226edd33587708aa528ef9c9949ae
RDMA/ocrdma: Fix pkey_index returned by driver in rq work completion

Currently returning the pkey value instead of pkey index.
pkey index is always zero since ocrdma supports only default
pkey.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c