From: imarom Date: Thu, 23 Feb 2017 07:47:55 +0000 (+0200) Subject: fix: trex-359 has_crc per driver function is obsolete - needs to be removed X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=bed055d35b3ce5be1dd68ea7635dcf2e2da81567;p=trex.git fix: trex-359 has_crc per driver function is obsolete - needs to be removed Signe-off-by: imarom --- 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) {}