net/memif: enable promiscuous mode
authorJakub Grajciar <jgrajcia@cisco.com>
Thu, 16 Apr 2020 11:10:17 +0000 (13:10 +0200)
committerFerruh 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

index 653ffa9..b6da9a8 100644 (file)
@@ -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;