From dc66a3a82aab2ce41aa6ded38087e02b1eeb9493 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Sun, 25 Dec 2016 14:50:14 +0200 Subject: add a way to change tw configuration Signed-off-by: Hanoh Haim --- src/platform_cfg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/platform_cfg.h') diff --git a/src/platform_cfg.h b/src/platform_cfg.h index d9eca60b..c839bd96 100755 --- a/src/platform_cfg.h +++ b/src/platform_cfg.h @@ -27,6 +27,7 @@ limitations under the License. #include #include #include +#include "tw_cfg.h" #define CONST_NB_MBUF_2_10G (16380/2) @@ -206,6 +207,7 @@ public: m_prefix=""; m_limit_memory="" ; m_thread_per_dual_if=1; + m_tw.reset(); } @@ -240,6 +242,7 @@ public: std::vector m_mac_info; CPlatformMemoryYamlInfo m_memory; CPlatformCoresYamlInfo m_platform; + CTimerWheelYamlInfo m_tw; public: std::string get_use_if_comma_seperated(); -- cgit 1.2.3-korg