fix: trex-359 has_crc per driver function is obsolete - needs to be removed
authorimarom <[email protected]>
Thu, 23 Feb 2017 07:47:55 +0000 (09:47 +0200)
committerimarom <[email protected]>
Thu, 23 Feb 2017 07:47:55 +0000 (09:47 +0200)
Signe-off-by: imarom <[email protected]>
src/main_dpdk.cpp

index df6f63a..1e78097 100644 (file)
@@ -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) {}