git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/qede: free packets in bulk
[dpdk.git]
/
drivers
/
net
/
octeontx2
/
otx2_mac.c
diff --git
a/drivers/net/octeontx2/otx2_mac.c
b/drivers/net/octeontx2/otx2_mac.c
index
262d185
..
49a700c
100644
(file)
--- a/
drivers/net/octeontx2/otx2_mac.c
+++ b/
drivers/net/octeontx2/otx2_mac.c
@@
-76,6
+76,8
@@
otx2_nix_mac_addr_add(struct rte_eth_dev *eth_dev, struct rte_ether_addr *addr,
/* Enable promiscuous mode at NIX level */
otx2_nix_promisc_config(eth_dev, 1);
+ dev->dmac_filter_enable = true;
+ eth_dev->data->promiscuous = 0;
done:
return rc;