[dpdk-dev] [PATCH] net/virtio: fix the wrong comment

Yong Wang wang.yong19 at zte.com.cn
Fri Jun 23 06:14:45 CEST 2017


Since "rte_eal_dev_init()" has been removed, the comment referred to
it should be modified simultaneously.

Signed-off-by: Yong Wang <wang.yong19 at zte.com.cn>
---
 drivers/net/virtio/virtio_user_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c
index 280406c..bcf2a9a 100644
--- a/drivers/net/virtio/virtio_user_ethdev.c
+++ b/drivers/net/virtio/virtio_user_ethdev.c
@@ -388,7 +388,7 @@
 }
 
 /* Dev initialization routine. Invoked once for each virtio vdev at
- * EAL init time, see rte_eal_dev_init().
+ * EAL init time, see rte_bus_probe().
  * Returns 0 on success.
  */
 static int
-- 
1.8.3.1




More information about the dev mailing list