[dpdk-dev] [RFC PATCH 14/18] pcap: remove type field from rte_driver structure
Bernard Iremonger
bernard.iremonger at intel.com
Fri Sep 4 13:01:50 CEST 2015
Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com>
---
drivers/net/pcap/rte_eth_pcap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c
index f2e4634..fd38894 100644
--- a/drivers/net/pcap/rte_eth_pcap.c
+++ b/drivers/net/pcap/rte_eth_pcap.c
@@ -1104,8 +1104,7 @@ rte_pmd_pcap_devuninit(const char *name)
}
static struct rte_driver pmd_pcap_drv = {
- .name = "eth_pcap",
- .type = PMD_VDEV,
+ .name = "eth_pcap", /* Virtual device */
.init = rte_pmd_pcap_devinit,
.uninit = rte_pmd_pcap_devuninit,
};
--
1.9.1
More information about the dev
mailing list