summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-08-02 14:50:16 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-08-02 14:50:16 +0300
commit88b9d2dd713da99e35a20e20008484017c6ec907 (patch)
tree2d5ee62fd5dc4a9cd5b791c1ac7d327f8de1555a /src
parentd89544104f5c24932bd4d0f700dacc9d0ed9035e (diff)
Remove call to rte_eth_dev_stop. See trex-237 for details
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
}