]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Only assgin the fields of the av if IB_QP_AV bit is set
authorLijun Ou <oulijun@huawei.com>
Mon, 30 Jul 2018 12:20:25 +0000 (20:20 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 02:42:44 +0000 (20:42 -0600)
commit3aaea2386dabe2a80aea74373076241c363e3bcc
tree2663751f43d9edbfe6a4a6f6c8759ae3d4caaa03
parentce615b6292c6a2995662ea792b8916ee0a81c101
RDMA/hns: Only assgin the fields of the av if IB_QP_AV bit is set

Only when the IB_QP_AV flag of attr_mask is set is it valid to assign the
related fields of the av into the qp context.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c