[dpdk-stable] patch 'net/hinic: optimize Rx performance for x86' has been queued to stable release 19.11.4

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Aug 6 11:53:54 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/08/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Thanks.

Luca Boccassi

---
>From 989c8ed8803aee11de856ad8c5a27e5ea164e6df Mon Sep 17 00:00:00 2001
From: Xiaoyun Wang <cloud.wangxiaoyun at huawei.com>
Date: Sat, 25 Jul 2020 16:15:34 +0800
Subject: [PATCH] net/hinic: optimize Rx performance for x86

[ upstream commit fae4b8c47c25286e5d87cde55ff16d1bed298e15 ]

For x86 platform, the rq cqe without cache aligned, which can
improve performance for some gateway scenarios.

Fixes: 361a9ccf81d6 ("net/hinic: optimize Rx performance")

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun at huawei.com>
---
 drivers/net/hinic/hinic_pmd_rx.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/hinic/hinic_pmd_rx.h b/drivers/net/hinic/hinic_pmd_rx.h
index 49fa56517..8a45f2d9f 100644
--- a/drivers/net/hinic/hinic_pmd_rx.h
+++ b/drivers/net/hinic/hinic_pmd_rx.h
@@ -35,7 +35,11 @@ struct hinic_rq_cqe {
 	u32 rss_hash;
 
 	u32 rsvd[4];
+#if defined(RTE_ARCH_ARM64)
 } __rte_cache_aligned;
+#else
+};
+#endif
 
 struct hinic_rq_cqe_sect {
 	struct hinic_sge	sge;
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-08-06 10:53:16.823253686 +0100
+++ 0026-net-hinic-optimize-Rx-performance-for-x86.patch	2020-08-06 10:53:15.812597639 +0100
@@ -1,13 +1,14 @@
-From fae4b8c47c25286e5d87cde55ff16d1bed298e15 Mon Sep 17 00:00:00 2001
+From 989c8ed8803aee11de856ad8c5a27e5ea164e6df Mon Sep 17 00:00:00 2001
 From: Xiaoyun Wang <cloud.wangxiaoyun at huawei.com>
 Date: Sat, 25 Jul 2020 16:15:34 +0800
 Subject: [PATCH] net/hinic: optimize Rx performance for x86
 
+[ upstream commit fae4b8c47c25286e5d87cde55ff16d1bed298e15 ]
+
 For x86 platform, the rq cqe without cache aligned, which can
 improve performance for some gateway scenarios.
 
 Fixes: 361a9ccf81d6 ("net/hinic: optimize Rx performance")
-Cc: stable at dpdk.org
 
 Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun at huawei.com>
 ---


More information about the stable mailing list