diff options
author | Yixian Liu <liuyixian@huawei.com> | 2018-01-03 05:44:07 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-03 23:58:59 +0300 |
commit | 10bd2ade4b5fe0e8d0f3a4c4b20f008c4cb06bd2 (patch) | |
tree | 0c3bb2cdbabc26b2ed82e75695496559d93bd570 /drivers/infiniband/hw/hns/hns_roce_hem.h | |
parent | 52e3b42a2f587912f0558cd4989da160d8b1304a (diff) | |
download | linux-10bd2ade4b5fe0e8d0f3a4c4b20f008c4cb06bd2.tar.xz |
RDMA/hns: Fix QP state judgement before sending work requests
The QP can accept send work requests only when the QP is
in the states that allow them to be submitted.
This patch updates the QP state judgement based on the
specification.
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hem.h')
0 files changed, 0 insertions, 0 deletions