diff mbox series

net/memif: enable promisc mode

Message ID 20200416110706.3409-1-jgrajcia@cisco.com (mailing list archive)
State Superseded, archived
Headers show
Series net/memif: enable promisc mode | expand

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
---
 drivers/net/memif/rte_eth_memif.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c
index 81d71c53a..0ac38044e 100644
--- 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;