summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main_dpdk.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index 3a272bf3..31e77c92 100644
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -1422,7 +1422,12 @@ void CPhyEthIF::tx_queue_setup(uint16_t tx_queue_id,
void CPhyEthIF::stop(){
+#if 0
+ // allowing this causes bad things to happen. Especially on X710 cards.
+ // See trex-237 for details
rte_eth_dev_stop(m_port_id);
+ rte_eth_dev_close(m_port_id);
+#endif
}