projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
019cd05
)
RDMA/hns: Modify the mask of QP number for CQE of hip08
author
Lang Cheng
<chenglang@huawei.com>
Thu, 26 Mar 2020 03:40:18 +0000
(11:40 +0800)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Sun, 29 Mar 2020 14:04:21 +0000
(11:04 -0300)
The hip08 supports up to 1M QPs, so the qpn mask of cqe should be
modified.
Link:
https://lore.kernel.org/r/1585194018-4381-4-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
index c74bf3cdc9b166e50ed5a3ac3da6d12b51eb0bf2..82dd9f6f4845afd252042aae77240717c907ee3b 100644
(file)
--- 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 0x
3
ffff
+#define HNS_ROCE_V2_CQE_QPN_MASK 0x
f
ffff
enum {
HNS_ROCE_V2_WQE_OP_SEND = 0x0,