[dpdk-stable] patch 'examples/exception_path: align stats on cache line' has been queued to LTS release 16.11.5
Luca Boccassi
bluca at debian.org
Thu Feb 15 13:03:08 CET 2018
Hi,
FYI, your patch has been queued to LTS release 16.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/17/18. So please
shout if anyone has objections.
Thanks.
Luca Boccassi
---
>From 908fe358e3dee537d7883776ea740f409d548a46 Mon Sep 17 00:00:00 2001
From: Dustin Lundquist <dustin at null-ptr.net>
Date: Tue, 13 Feb 2018 08:58:56 -0800
Subject: [PATCH] examples/exception_path: align stats on cache line
[ upstream commit ec94968ed4c53d7fa16a49b7243ece10b93ab8ba ]
Align stats structure to cache line to prevent bouncing per CPU stats
structure between cache lines.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Dustin Lundquist <dustin at null-ptr.net>
Acked-by: Remy Horton <remy.horton at intel.com>
---
examples/exception_path/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/exception_path/main.c b/examples/exception_path/main.c
index 89bf1cc06..331d2f484 100644
--- a/examples/exception_path/main.c
+++ b/examples/exception_path/main.c
@@ -141,7 +141,7 @@ struct stats {
uint64_t rx;
uint64_t tx;
uint64_t dropped;
-};
+} __rte_cache_aligned;
/* Array of lcore-specific stats */
static struct stats lcore_stats[RTE_MAX_LCORE];
--
2.14.2
More information about the stable
mailing list