From bed055d35b3ce5be1dd68ea7635dcf2e2da81567 Mon Sep 17 00:00:00 2001 From: imarom Date: Thu, 23 Feb 2017 09:47:55 +0200 Subject: fix: trex-359 has_crc per driver function is obsolete - needs to be removed Signe-off-by: imarom --- src/main_dpdk.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp index df6f63ae..1e780979 100644 --- a/src/main_dpdk.cpp +++ b/src/main_dpdk.cpp @@ -139,7 +139,8 @@ static char global_image_postfix[10]; class CTRexExtendedDriverBase { public: - /* by default NIC driver adds CRC */ + + /* need to remove this function - see bug trex-359 */ virtual bool has_crc_added() { return true; } @@ -250,7 +251,7 @@ public: } virtual bool has_crc_added() { - return false; + return true; } virtual void update_global_config_fdir(port_cfg_t * cfg) {} -- cgit 1.2.3-korg