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:05 +0200
commit7cd88e496e1a4f887a2214421eaf4b3f4f11e87b (patch)
tree62d0e934800b7e31af6d3c9c1e919c0b73dddd8f
parent727f17d530f66d01cfeab1fcc0f6b03173b8317f (diff)
RDMA/hns: Limit minimum ROCE CQ depth to 64 (bsc#1104427
FATE#326416 bsc#1137236).
-rw-r--r--patches.drivers/RDMA-hns-Limit-minimum-ROCE-CQ-depth-to-64.patch27
-rw-r--r--series.conf1
2 files changed, 28 insertions, 0 deletions
diff --git a/patches.drivers/RDMA-hns-Limit-minimum-ROCE-CQ-depth-to-64.patch b/patches.drivers/RDMA-hns-Limit-minimum-ROCE-CQ-depth-to-64.patch
new file mode 100644
index 0000000000..7a6da7c908
--- /dev/null
+++ b/patches.drivers/RDMA-hns-Limit-minimum-ROCE-CQ-depth-to-64.patch
@@ -0,0 +1,27 @@
+From: chenglang <chenglang@huawei.com>
+Date: Sun, 3 Feb 2019 16:13:03 +0800
+Subject: RDMA/hns: Limit minimum ROCE CQ depth to 64
+Patch-mainline: v5.1-rc1
+Git-commit: 704e0e613a6d584fde1c80ead0329e918b4f8671
+References: bsc#1104427 FATE#326416 bsc#1137236
+
+This patch modifies the minimum CQ depth specification of hip08 and is
+consistent with the processing of hip06.
+
+Signed-off-by: chenglang <chenglang@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.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
++++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
+@@ -1512,6 +1512,7 @@ static int hns_roce_v2_profile(struct hn
+ caps->max_wqes = HNS_ROCE_V2_MAX_WQE_NUM;
+ caps->num_cqs = HNS_ROCE_V2_MAX_CQ_NUM;
+ caps->num_srqs = HNS_ROCE_V2_MAX_SRQ_NUM;
++ caps->min_cqes = HNS_ROCE_MIN_CQE_NUM;
+ caps->max_cqes = HNS_ROCE_V2_MAX_CQE_NUM;
+ caps->max_srqwqes = HNS_ROCE_V2_MAX_SRQWQE_NUM;
+ caps->max_sq_sg = HNS_ROCE_V2_MAX_SQ_SGE_NUM;
diff --git a/series.conf b/series.conf
index 2c57d72d66..413d97ee79 100644
--- a/series.conf
+++ b/series.conf
@@ -45504,6 +45504,7 @@
patches.drivers/iw_cxgb4-fix-srqidx-leak-during-connection-abort.patch
patches.drivers/RDMA-mlx5-Fix-memory-leak-in-case-we-fail-to-add-an-.patch
patches.drivers/RDMA-bnxt_re-fix-or-ing-of-data-into-an-uninitialize.patch
+ patches.drivers/RDMA-hns-Limit-minimum-ROCE-CQ-depth-to-64.patch
patches.drivers/RDMA-cxgb4-Remove-kref-accounting-for-sync-operation.patch
patches.drivers/iw_cxgb4-Make-function-read_tcb-static.patch
patches.drivers/RDMA-iwcm-Fix-string-truncation-error.patch