]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
RDMA/ocrdma: Obtain SL from device structure
authorDevesh Sharma <devesh.sharma@emulex.com>
Wed, 2 Jul 2014 06:06:04 +0000 (11:36 +0530)
committerRoland Dreier <roland@purestorage.com>
Wed, 13 Aug 2014 05:07:30 +0000 (22:07 -0700)
commit0ea8726250cae3defa0c1065801017f26a269c93
tree06712b6edb9ed314d049ad6bb6a1731a9704fc4f
parent741742ed71c2cc12573ea6cf41ef1fbb3b2efe97
RDMA/ocrdma: Obtain SL from device structure

Currently, driver obtains service level value from ah_attr->sl field.
However, this field is set to zero all the times from rdma-cm.  This
patch allows create_ah to obtain service level from dev->sl.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_ah.c
drivers/infiniband/hw/ocrdma/ocrdma_hw.c