diff options
author | Wei Hu(Xavier) <xavier.huwei@huawei.com> | 2018-05-23 12:16:28 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-05-24 23:41:52 +0200 |
commit | d59fcacc4b089c9920ff4a148e33a3f3f7275ef6 (patch) | |
tree | 12cae127c6d09c3091953f0ffda585ee166c89bc /drivers/infiniband/hw/hns | |
parent | RDMA/hns: Modify uar allocation algorithm to avoid bitmap exhaust (diff) | |
download | linux-d59fcacc4b089c9920ff4a148e33a3f3f7275ef6.tar.xz linux-d59fcacc4b089c9920ff4a148e33a3f3f7275ef6.zip |
RDMA/hns: Increase checking CMQ status timeout value
This patch increases checking CMQ status timeout value and
uses the same value with NIC driver to avoid deficiency of
time.
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h index 983c0be2afd0..2caeb4cdad5c 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h @@ -76,7 +76,7 @@ #define HNS_ROCE_V2_PAGE_SIZE_SUPPORTED 0xFFFFF000 #define HNS_ROCE_V2_MAX_INNER_MTPT_NUM 2 #define HNS_ROCE_INVALID_LKEY 0x100 -#define HNS_ROCE_CMQ_TX_TIMEOUT 200 +#define HNS_ROCE_CMQ_TX_TIMEOUT 30000 #define HNS_ROCE_CONTEXT_HOP_NUM 1 #define HNS_ROCE_MTT_HOP_NUM 1 |