net/memif: enable promiscuous mode
Enable promisc mode Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
cbf8909b3a
commit
0a77baed7b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user