]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Only assign the fields of the rq psn if IB_QP_RQ_PSN is set
authorLijun Ou <oulijun@huawei.com>
Sat, 23 Feb 2019 12:01:22 +0000 (20:01 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Mar 2019 23:59:55 +0000 (20:59 -0300)
commitacb90901215631d1ad0ff72b5b635d3bda84b7de
tree063f562ffacbb3c200410cd41808ce6fdb8a7af6
parent9187da20e2d74374fa65de1cd4fa1c46b82f25ab
RDMA/hns: Only assign the fields of the rq psn if IB_QP_RQ_PSN is set

Only when the IB_QP_RQ_PSN flags of attr_mask is set is it valid to assign
the relatived fields of rq'psn into the qp context when modified qp.

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