From bf52ccc344ef6fe2eca228d5c8c1e140533d0e16 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Tue, 6 Dec 2016 17:16:37 +0200 Subject: Fix to Mellanox recevie all mode Signed-off-by: Ido Barnea --- src/main_dpdk.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit 1.2.3-korg