diff options
author | 2016-12-06 17:16:37 +0200 | |
---|---|---|
committer | 2016-12-06 17:16:37 +0200 | |
commit | bf52ccc344ef6fe2eca228d5c8c1e140533d0e16 (patch) | |
tree | 82edc97db0d066ead8ce9d388c048ec275debdec | |
parent | cf72305f2f5632f977d2596db4c912100b438e1f (diff) |
Fix to Mellanox recevie all mode
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
-rw-r--r-- | src/main_dpdk.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |