[dpdk-dev] [RFC PATCH 16/18] virtio_ethdev: remove type field and initialise name field in rte_driver structure
Bernard Iremonger
bernard.iremonger at intel.com
Fri Sep 4 13:01:52 CEST 2015
Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com>
---
drivers/net/virtio/virtio_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..a19935b 100644
--- a/drivers/net/virtio/virtio_ethdev.c
+++ b/drivers/net/virtio/virtio_ethdev.c
@@ -1570,7 +1570,7 @@ __rte_unused uint8_t is_rx)
}
static struct rte_driver rte_virtio_driver = {
- .type = PMD_PDEV,
+ .name = "rte_virtio_driver", /* PCI device */
.init = rte_virtio_pmd_init,
};
--
1.9.1
More information about the dev
mailing list