From: Pablo de Lara Date: Sat, 9 Jul 2016 01:06:13 +0000 (+0100) Subject: drivers: add virtio and xenvirt parameters infos X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=44e32a671d7086a55da7571def65cca248020ec3;p=dpdk.git drivers: add virtio and xenvirt parameters infos Virtio and Xenvirt are two virtual device drivers that admit arguments, so DRIVER_REGISTER_PARAM_STRING should be used in them. Fixes: cb6696d22023 ("drivers: update registration macro usage") Signed-off-by: Pablo de Lara Acked-by: Neil Horman --- diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c index 8eb166e47b..27b6d60c71 100644 --- a/drivers/net/virtio/virtio_user_ethdev.c +++ b/drivers/net/virtio/virtio_user_ethdev.c @@ -437,3 +437,9 @@ static struct rte_driver virtio_user_driver = { }; PMD_REGISTER_DRIVER(virtio_user_driver, virtio_user); +DRIVER_REGISTER_PARAM_STRING(virtio_user, + "path= " + "mac= " + "cq= " + "queue_size= " + "queues="); diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c b/drivers/net/xenvirt/rte_eth_xenvirt.c index b940e94afe..99f6cc811f 100644 --- a/drivers/net/xenvirt/rte_eth_xenvirt.c +++ b/drivers/net/xenvirt/rte_eth_xenvirt.c @@ -766,3 +766,5 @@ static struct rte_driver pmd_xenvirt_drv = { }; PMD_REGISTER_DRIVER(pmd_xenvirt_drv, eth_xenvirt); +DRIVER_REGISTER_PARAM_STRING(eth_xenvirt, + "mac=");