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)
commitaff3ead9fa25b2a472d1a894365f66b28e1e2787
treec9af2244cfea45234d94bb8403e79c95063e61b0
parent7d82df1663e8a66961954258f3a99701f0126e73
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