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:30:59 +0200
commita76fd63ce817b28b22ef8626563b8aa0fcc69fd1 (patch)
treefbb5d15898cfc11df0d0ea8a9604a462c370308f
parentf70f9eae244ee83d39a3ebc1bd49e4126692398c (diff)
RDMA/hns: Update CQE specifications (bsc#1104427 FATE#326416
bsc#1137236).
-rw-r--r--patches.drivers/RDMA-hns-Update-CQE-specifications.patch29
-rw-r--r--series.conf1
2 files changed, 30 insertions, 0 deletions
diff --git a/patches.drivers/RDMA-hns-Update-CQE-specifications.patch b/patches.drivers/RDMA-hns-Update-CQE-specifications.patch
new file mode 100644
index 0000000000..8ce6152688
--- /dev/null
+++ b/patches.drivers/RDMA-hns-Update-CQE-specifications.patch
@@ -0,0 +1,29 @@
+From: Lijun Ou <oulijun@huawei.com>
+Date: Fri, 24 May 2019 15:31:21 +0800
+Subject: RDMA/hns: Update CQE specifications
+Patch-mainline: Queued in subsystem maintainer repository
+Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
+Git-commit: 0502849d0bb133b492eed24fd270441e652c84cc
+References: bsc#1104427 FATE#326416 bsc#1137236
+
+According to hip08 UM, the maximum number of CQEs supported by each CQ is
+4M.
+
+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 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
++++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
+@@ -54,7 +54,7 @@
+ #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_CQE_NUM 0x400000
+ #define HNS_ROCE_V2_MAX_SRQWQE_NUM 0x8000
+ #define HNS_ROCE_V2_MAX_RQ_SGE_NUM 0x100
+ #define HNS_ROCE_V2_MAX_SQ_SGE_NUM 0xff
diff --git a/series.conf b/series.conf
index f478f52a1e..41ceebb55b 100644
--- a/series.conf
+++ b/series.conf
@@ -46785,6 +46785,7 @@
# rdma/rdma for-next
patches.drivers/RDMA-qedr-Fix-incorrect-device-rate.patch
+ patches.drivers/RDMA-hns-Update-CQE-specifications.patch
# dhowells/linux-fs keys-uefi
patches.suse/0001-KEYS-Allow-unrestricted-boot-time-addition-of-keys-t.patch