diff options
author | Lang Cheng <[email protected]> | 2020-03-26 11:40:18 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-03-29 11:04:21 -0300 |
commit | 90e735aecc4ce94eb4a2838f9fe04ee8da70b529 (patch) | |
tree | cafae87775f5deba10b2ce26527712a88c9ff79e | |
parent | 019cd05ce59d1f7c9cde4b77237d2c5fd114ce83 (diff) |
RDMA/hns: Modify the mask of QP number for CQE of hip08
The hip08 supports up to 1M QPs, so the qpn mask of cqe should be
modified.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lang Cheng <[email protected]>
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
-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 c74bf3cdc9b1..82dd9f6f4845 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h @@ -162,7 +162,7 @@ enum { #define GID_LEN_V2 16 -#define HNS_ROCE_V2_CQE_QPN_MASK 0x3ffff +#define HNS_ROCE_V2_CQE_QPN_MASK 0xfffff enum { HNS_ROCE_V2_WQE_OP_SEND = 0x0, |