[dpdk-stable] patch 'config: enable packet prefetching with Meson' has been queued to stable release 19.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Nov 17 12:13:46 CET 2020


Hi,

FYI, your patch has been queued to stable release 19.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/19/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.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/a382ea6c50bf1d321532a4ae8ce40968d7be718a

Thanks.

Luca Boccassi

---
>From a382ea6c50bf1d321532a4ae8ce40968d7be718a Mon Sep 17 00:00:00 2001
From: Maxime Coquelin <maxime.coquelin at redhat.com>
Date: Fri, 13 Nov 2020 15:52:12 +0100
Subject: [PATCH] config: enable packet prefetching with Meson

[ upstream commit 048a2aa3f30c90c7f9339a17bfd1e663e379625f ]

With Make build system, RTE_PMD_PACKET_PREFETCH was enabled
by default. It got lost when transitioning to Meson build
system.

In order to avoid performance changes, this patch enables
packet prefetching in rte_config.h.

Fixes: 9314afb68a53 ("drivers: add infrastructure for meson build")

Reported-by: Marvin Liu <yong.liu at intel.com>
Suggested-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
---
 config/rte_config.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/config/rte_config.h b/config/rte_config.h
index 765251a25a..0f9dae3ba2 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -99,6 +99,9 @@
 
 /****** driver defines ********/
 
+/* Packet prefetching in PMDs */
+#define RTE_PMD_PACKET_PREFETCH 1
+
 /* QuickAssist device */
 /* Max. number of QuickAssist devices which can be attached */
 #define RTE_PMD_QAT_MAX_PCI_DEVICES 48
-- 
2.27.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-17 11:13:13.487365613 +0000
+++ 0012-config-enable-packet-prefetching-with-Meson.patch	2020-11-17 11:13:12.877115723 +0000
@@ -1 +1 @@
-From 048a2aa3f30c90c7f9339a17bfd1e663e379625f Mon Sep 17 00:00:00 2001
+From a382ea6c50bf1d321532a4ae8ce40968d7be718a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 048a2aa3f30c90c7f9339a17bfd1e663e379625f ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index 25219f04af..a0b5160ff2 100644
+index 765251a25a..0f9dae3ba2 100644
@@ -27 +28 @@
-@@ -103,6 +103,9 @@
+@@ -99,6 +99,9 @@


More information about the stable mailing list