summaryrefslogtreecommitdiffstats
path: root/src/main_dpdk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_dpdk.cpp')
-rw-r--r--src/main_dpdk.cpp5
1 files 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) {}