Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
cf72305
)
Fix to Mellanox recevie all mode
39/4139/1
author
Ido Barnea
<
[email protected]
>
Tue, 6 Dec 2016 15:16:37 +0000
(17:16 +0200)
committer
Ido Barnea
<
[email protected]
>
Tue, 6 Dec 2016 15:16:37 +0000
(17:16 +0200)
Signed-off-by: Ido Barnea <
[email protected]
>
src/main_dpdk.cpp
patch
|
blob
|
history
diff --git
a/src/main_dpdk.cpp
b/src/main_dpdk.cpp
index
f92d18c
..
fb937ca
100644
(file)
--- 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;