From: Jakub Grajciar Date: Thu, 16 Apr 2020 11:10:17 +0000 (+0200) Subject: net/memif: enable promiscuous mode X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0a77baed7b4a6208cd386a6bb746cc8d5042aa78;p=dpdk.git net/memif: enable promiscuous mode Enable promisc mode Signed-off-by: Jakub Grajciar Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c index 653ffa9b8c..b6da9a8b40 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;