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 <pablo.de.lara.guarch@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
parent
65eca099f4
commit
44e32a671d
@ -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=<path> "
|
||||
"mac=<mac addr> "
|
||||
"cq=<int> "
|
||||
"queue_size=<int> "
|
||||
"queues=<int>");
|
||||
|
@ -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=<mac addr>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user