examples/exception_path: align stats on cache line
Align stats structure to cache line to prevent bouncing per CPU stats
structure between cache lines.
Fixes: af75078fec
("first public release")
Cc: stable@dpdk.org
Signed-off-by: Dustin Lundquist <dustin@null-ptr.net>
Acked-by: Remy Horton <remy.horton@intel.com>
This commit is contained in:
parent
3344fb8fa4
commit
ec94968ed4
@ -108,7 +108,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];
|
||||
|
Loading…
Reference in New Issue
Block a user