From eae78d4356b8834b78a91c52d869a7949f8f3e90 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Wed, 7 Dec 2016 15:24:38 +0200 Subject: improve Stateful scheduler Signed-off-by: Hanoh Haim --- src/stateless/dp/trex_stream_node.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/stateless/dp/trex_stream_node.h') diff --git a/src/stateless/dp/trex_stream_node.h b/src/stateless/dp/trex_stream_node.h index bc7be057..b74e0f62 100644 --- a/src/stateless/dp/trex_stream_node.h +++ b/src/stateless/dp/trex_stream_node.h @@ -42,6 +42,10 @@ public: uint8_t m_pad_end[104]; + /* CACHE_LINE */ + uint64_t m_pad3[8]; + + public: void free_command(); @@ -135,6 +139,9 @@ private: /* pad to match the size of CGenNode */ uint8_t m_pad_end[20]; + /* CACHE_LINE */ + uint64_t m_pad3[8]; + public: @@ -648,6 +655,9 @@ private: /* pad to match the size of CGenNode */ uint8_t m_pad_end[11]; + /* CACHE_LINE */ + uint64_t m_pad3[8]; + } __rte_cache_aligned; -- cgit 1.2.3-korg