diff options
author | Damjan Marion <damarion@cisco.com> | 2017-11-24 11:15:38 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2017-11-24 11:15:38 +0100 |
commit | 227bf211ab65e7aed6862fc881cc949c342200fd (patch) | |
tree | 669ce7c6dc720f1d35ace3bf1423c55f11aeb1da /src/plugins | |
parent | 122f7e20f379227d6688689c8ab0b199bde51974 (diff) |
dpdk: avoid false sharing of dpdk_buffer_per_thread_data
Change-Id: Iaae69a1219ccaedbfee5c3075c41c7b31c6e2b70
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/dpdk/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/dpdk/buffer.c b/src/plugins/dpdk/buffer.c index baa190df4c4..3ac9c69a9d2 100644 --- a/src/plugins/dpdk/buffer.c +++ b/src/plugins/dpdk/buffer.c @@ -81,6 +81,7 @@ STATIC_ASSERT (VLIB_BUFFER_PRE_DATA_SIZE == RTE_PKTMBUF_HEADROOM, typedef struct { + CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); struct rte_mbuf ***mbuf_pending_free_list; /* cached last pool */ |