From: Ido Barnea Date: Tue, 6 Dec 2016 15:16:37 +0000 (+0200) Subject: Fix to Mellanox recevie all mode X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=bf52ccc344ef6fe2eca228d5c8c1e140533d0e16;p=trex.git Fix to Mellanox recevie all mode Signed-off-by: Ido Barnea --- diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp index f92d18c4..fb937ca9 100644 --- a/src/main_dpdk.cpp +++ b/src/main_dpdk.cpp @@ -6613,6 +6613,7 @@ int CTRexExtendedDriverBaseMlnx5G::set_rcv_all(CPhyEthIF * _if, bool set_on) { add_del_rules(RTE_ETH_FILTER_ADD, port_id, RTE_ETH_FLOW_NONFRAG_IPV4_UDP, 2, 17, MAIN_DPDK_RX_Q); } else { add_del_rules(RTE_ETH_FILTER_DELETE, port_id, RTE_ETH_FLOW_NONFRAG_IPV4_UDP, 2, 17, MAIN_DPDK_RX_Q); + add_del_rx_filter_rules(_if, true); } return 0;