From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: dev@dpdk.org
Cc: nhorman@tuxdriver.com, thomas.monjalon@6wind.com,
Pablo de Lara <pablo.de.lara.guarch@intel.com>
Subject: [dpdk-dev] [PATCH 4/5] drivers: add missing virtio and xenvirt arguments
Date: Sat, 9 Jul 2016 02:06:13 +0100 [thread overview]
Message-ID: <1468026374-28042-5-git-send-email-pablo.de.lara.guarch@intel.com> (raw)
In-Reply-To: <1468026374-28042-1-git-send-email-pablo.de.lara.guarch@intel.com>
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>
---
drivers/net/virtio/virtio_user_ethdev.c | 6 ++++++
drivers/net/xenvirt/rte_eth_xenvirt.c | 2 ++
2 files changed, 8 insertions(+)
diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c
index 8eb166e..27b6d60 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=<path> "
+ "mac=<mac addr> "
+ "cq=<int> "
+ "queue_size=<int> "
+ "queues=<int>");
diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c b/drivers/net/xenvirt/rte_eth_xenvirt.c
index b940e94..99f6cc8 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=<mac addr>");
--
2.7.4
next prev parent reply other threads:[~2016-07-09 1:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-09 1:06 [dpdk-dev] [PATCH 0/5] Driver register fixes Pablo de Lara
2016-07-09 1:06 ` [dpdk-dev] [PATCH 1/5] drivers: revert vdev driver names to original Pablo de Lara
2016-07-09 1:06 ` [dpdk-dev] [PATCH 2/5] drivers: remove static driver names Pablo de Lara
2016-07-09 1:06 ` [dpdk-dev] [PATCH 3/5] drivers: split driver arguments in multiple lines Pablo de Lara
2016-07-09 1:06 ` Pablo de Lara [this message]
2016-07-09 1:06 ` [dpdk-dev] [PATCH 5/5] net/bonding: fix range of mode argument Pablo de Lara
2016-07-09 13:45 ` [dpdk-dev] [PATCH 0/5] Driver register fixes Neil Horman
2016-07-09 21:53 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1468026374-28042-5-git-send-email-pablo.de.lara.guarch@intel.com \
--to=pablo.de.lara.guarch@intel.com \
--cc=dev@dpdk.org \
--cc=nhorman@tuxdriver.com \
--cc=thomas.monjalon@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).