]> 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)
commit599e3fdc155bc81847ee14c5f8f36e903c848096
tree2663751f43d9edbfe6a4a6f6c8759ae3d4caaa03
parent676f88bdbe320169c0248c36182d785caeb2e4e2
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