git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbf8909
)
net/memif: enable promiscuous mode
author
Jakub Grajciar
<jgrajcia@cisco.com>
Thu, 16 Apr 2020 11:10:17 +0000
(13:10 +0200)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:08 +0000
(13:57 +0200)
Enable promisc mode
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/memif/rte_eth_memif.c
patch
|
blob
|
history
diff --git
a/drivers/net/memif/rte_eth_memif.c
b/drivers/net/memif/rte_eth_memif.c
index
653ffa9
..
b6da9a8
100644
(file)
--- a/
drivers/net/memif/rte_eth_memif.c
+++ b/
drivers/net/memif/rte_eth_memif.c
@@
-1498,6
+1498,7
@@
memif_create(struct rte_vdev_device *vdev, enum memif_role_t role,
data->numa_node = numa_node;
data->dev_link = pmd_link;
data->mac_addrs = ether_addr;
+ data->promiscuous = 1;
eth_dev->dev_ops = &ops;
eth_dev->device = &vdev->device;