Home Home > GIT Browse > openSUSE-15.1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-06-07 13:27:44 +0200
committerThomas Bogendoerfer <tbogendoerfer@suse.de>2019-06-07 13:29:30 +0200
commit81fc41e20ac1ece883fe349702c9c2958b3f175a (patch)
tree5213fccbdf073975939817d0a46ca095d4917f51
parent083532943322d0351908635494ac1a7650632a09 (diff)
RDMA/hns: Modify qp&cq&pd specification according to UM
(bsc#1104427 FATE#326416 bsc#1137233).
-rw-r--r--patches.drivers/RDMA-hns-Modify-qp-cq-pd-specification-according-to-.patch48
-rw-r--r--series.conf1
2 files changed, 49 insertions, 0 deletions
diff --git a/patches.drivers/RDMA-hns-Modify-qp-cq-pd-specification-according-to-.patch b/patches.drivers/RDMA-hns-Modify-qp-cq-pd-specification-according-to-.patch
new file mode 100644
index 0000000000..09e16f07be
--- /dev/null
+++ b/patches.drivers/RDMA-hns-Modify-qp-cq-pd-specification-according-to-.patch
@@ -0,0 +1,48 @@
+From: Lijun Ou <oulijun@huawei.com>
+Date: Sat, 16 Feb 2019 20:10:24 +0800
+Subject: RDMA/hns: Modify qp&cq&pd specification according to UM
+Patch-mainline: v5.1-rc1
+Git-commit: 3e394f9413ecba2779b6a1d77095f4d8611a52d2
+References: bsc#1104427 FATE#326416 bsc#1137233
+
+Accroding to hip08's limitation, qp&cq specification is 1M, mtpt
+specification 1M in kernel space.
+
+Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
+Signed-off-by: Lijun Ou <oulijun@huawei.com>
+Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
+Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
+---
+ drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+--- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
++++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
+@@ -45,14 +45,14 @@
+ #define HNS_ROCE_VF_SGID_NUM 32
+ #define HNS_ROCE_VF_SL_NUM 8
+
+-#define HNS_ROCE_V2_MAX_QP_NUM 0x2000
+-#define HNS_ROCE_V2_MAX_QPC_TIMER_NUM 0x200
++#define HNS_ROCE_V2_MAX_QP_NUM 0x100000
++#define HNS_ROCE_V2_MAX_QPC_TIMER_NUM 0x200
+ #define HNS_ROCE_V2_MAX_WQE_NUM 0x8000
+ #define HNS_ROCE_V2_MAX_SRQ 0x100000
+ #define HNS_ROCE_V2_MAX_SRQ_WR 0x8000
+ #define HNS_ROCE_V2_MAX_SRQ_SGE 0x100
+-#define HNS_ROCE_V2_MAX_CQ_NUM 0x8000
+-#define HNS_ROCE_V2_MAX_CQC_TIMER_NUM 0x100
++#define HNS_ROCE_V2_MAX_CQ_NUM 0x100000
++#define HNS_ROCE_V2_MAX_CQC_TIMER_NUM 0x100
+ #define HNS_ROCE_V2_MAX_SRQ_NUM 0x100000
+ #define HNS_ROCE_V2_MAX_CQE_NUM 0x10000
+ #define HNS_ROCE_V2_MAX_SRQWQE_NUM 0x8000
+@@ -67,7 +67,7 @@
+ #define HNS_ROCE_V2_COMP_VEC_NUM 63
+ #define HNS_ROCE_V2_AEQE_VEC_NUM 1
+ #define HNS_ROCE_V2_ABNORMAL_VEC_NUM 1
+-#define HNS_ROCE_V2_MAX_MTPT_NUM 0x8000
++#define HNS_ROCE_V2_MAX_MTPT_NUM 0x100000
+ #define HNS_ROCE_V2_MAX_MTT_SEGS 0x1000000
+ #define HNS_ROCE_V2_MAX_CQE_SEGS 0x1000000
+ #define HNS_ROCE_V2_MAX_SRQWQE_SEGS 0x1000000
diff --git a/series.conf b/series.conf
index e1a67b1e7c..ce9109016b 100644
--- a/series.conf
+++ b/series.conf
@@ -45510,6 +45510,7 @@
patches.drivers/RDMA-hns-Delete-useful-prints-for-aeq-subtype-event.patch
patches.drivers/RDMA-hns-Configure-capacity-of-hns-device.patch
patches.drivers/RDMA-cxgb4-Remove-kref-accounting-for-sync-operation.patch
+ patches.drivers/RDMA-hns-Modify-qp-cq-pd-specification-according-to-.patch
patches.drivers/iw_cxgb4-Make-function-read_tcb-static.patch
patches.drivers/RDMA-iwcm-Fix-string-truncation-error.patch
patches.drivers/IB-rdmavt-Fix-loopback-send-with-invalidate-ordering.patch