* [dpdk-dev] [PATCH v2] net/memif: enable promisc mode
@ 2020-04-16 11:08 Jakub Grajciar
0 siblings, 0 replies; 3+ messages in thread
From: Jakub Grajciar @ 2020-04-16 11:08 UTC (permalink / raw)
To: dev; +Cc: Jakub Grajciar
enable promisc mode
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
---
drivers/net/memif/rte_eth_memif.c | 1 +
1 file changed, 1 insertion(+)
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;
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dpdk-dev] [PATCH] net/memif: enable promisc mode
@ 2020-04-16 11:07 Jakub Grajciar
2020-04-16 11:10 ` [dpdk-dev] [PATCH v2] " Jakub Grajciar
0 siblings, 1 reply; 3+ messages in thread
From: Jakub Grajciar @ 2020-04-16 11:07 UTC (permalink / raw)
To: dev; +Cc: Jakub Grajciar
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
---
drivers/net/memif/rte_eth_memif.c | 1 +
1 file changed, 1 insertion(+)
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;
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dpdk-dev] [PATCH v2] net/memif: enable promisc mode
2020-04-16 11:07 [dpdk-dev] [PATCH] " Jakub Grajciar
@ 2020-04-16 11:10 ` Jakub Grajciar
2020-04-16 13:44 ` Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Jakub Grajciar @ 2020-04-16 11:10 UTC (permalink / raw)
To: dev; +Cc: Jakub Grajciar
enable promisc mode
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
---
drivers/net/memif/rte_eth_memif.c | 1 +
1 file changed, 1 insertion(+)
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;
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-16 13:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-16 11:08 [dpdk-dev] [PATCH v2] net/memif: enable promisc mode Jakub Grajciar
-- strict thread matches above, loose matches on Subject: below --
2020-04-16 11:07 [dpdk-dev] [PATCH] " Jakub Grajciar
2020-04-16 11:10 ` [dpdk-dev] [PATCH v2] " Jakub Grajciar
2020-04-16 13:44 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).