summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2017-02-23 09:47:55 +0200
committerimarom <imarom@cisco.com>2017-02-23 09:47:55 +0200
commitbed055d35b3ce5be1dd68ea7635dcf2e2da81567 (patch)
tree73226979216f6f01ab631309a90190d8aa1cae36 /src
parentd45195617e23255049c1234b49cd677f7b06f72d (diff)
fix: trex-359 has_crc per driver function is obsolete - needs to be removed
Signe-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'src')
-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) {}