drivers: split parameters infos in multiple lines

Driver arguments shown with DRIVER_REGISTER_PARAM_STRING
have been separated in multiple lines and indented to
ease their readability.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
Pablo de Lara 2016-07-09 02:06:12 +01:00 committed by Thomas Monjalon
parent bae696ebd4
commit 65eca099f4
11 changed files with 50 additions and 21 deletions

View File

@ -521,5 +521,7 @@ static struct rte_driver aesni_gcm_pmd_drv = {
};
PMD_REGISTER_DRIVER(aesni_gcm_pmd_drv, CRYPTODEV_NAME_AESNI_GCM_PMD);
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_AESNI_GCM_PMD, "max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> socket_id=<int>");
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_AESNI_GCM_PMD,
"max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> "
"socket_id=<int>");

View File

@ -721,5 +721,7 @@ static struct rte_driver cryptodev_aesni_mb_pmd_drv = {
};
PMD_REGISTER_DRIVER(cryptodev_aesni_mb_pmd_drv, CRYPTODEV_NAME_AESNI_MB_PMD);
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_AESNI_MB_PMD, "max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> socket_id=<int>");
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_AESNI_MB_PMD,
"max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> "
"socket_id=<int>");

View File

@ -654,5 +654,7 @@ static struct rte_driver cryptodev_kasumi_pmd_drv = {
};
PMD_REGISTER_DRIVER(cryptodev_kasumi_pmd_drv, CRYPTODEV_NAME_KASUMI_PMD);
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_KASUMI_PMD, "max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> socket_id=<int>");
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_KASUMI_PMD,
"max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> "
"socket_id=<int>");

View File

@ -275,5 +275,7 @@ static struct rte_driver cryptodev_null_pmd_drv = {
};
PMD_REGISTER_DRIVER(cryptodev_null_pmd_drv, CRYPTODEV_NAME_NULL_PMD);
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_NULL_PMD, "max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> socket_id=<int>");
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_NULL_PMD,
"max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> "
"socket_id=<int>");

View File

@ -645,5 +645,7 @@ static struct rte_driver cryptodev_snow3g_pmd_drv = {
};
PMD_REGISTER_DRIVER(cryptodev_snow3g_pmd_drv, CRYPTODEV_NAME_SNOW3G_PMD);
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_SNOW3G_PMD, "max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> socket_id=<int>");
DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_SNOW3G_PMD,
"max_nb_queue_pairs=<int> "
"max_nb_sessions=<int> "
"socket_id=<int>");

View File

@ -896,5 +896,9 @@ static struct rte_driver pmd_af_packet_drv = {
};
PMD_REGISTER_DRIVER(pmd_af_packet_drv, eth_af_packet);
DRIVER_REGISTER_PARAM_STRING(eth_af_packet, "iface=<string> "
"qpairs=<int> blocksz=<int> framesz=<int> framecnt=<int>");
DRIVER_REGISTER_PARAM_STRING(eth_af_packet,
"iface=<string> "
"qpairs=<int> "
"blocksz=<int> "
"framesz=<int> "
"framecnt=<int>");

View File

@ -2516,7 +2516,13 @@ static struct rte_driver bond_drv = {
PMD_REGISTER_DRIVER(bond_drv, eth_bond);
DRIVER_REGISTER_PARAM_STRING(eth_bond, "slave=<ifc> primary=<ifc> mode=[0-4] "
"xmit_policy=[l2 | l23 | l34] socket_id=<int> mac=<mac addr> "
"lsc_poll_period_ms=<int> up_delay=<int> down_delay=<int>");
DRIVER_REGISTER_PARAM_STRING(eth_bond,
"slave=<ifc> "
"primary=<ifc> "
"mode=[0-4] "
"xmit_policy=[l2 | l23 | l34] "
"socket_id=<int> "
"mac=<mac addr> "
"lsc_poll_period_ms=<int> "
"up_delay=<int> "
"down_delay=<int>");

View File

@ -693,4 +693,6 @@ static struct rte_driver pmd_null_drv = {
};
PMD_REGISTER_DRIVER(pmd_null_drv, eth_null);
DRIVER_REGISTER_PARAM_STRING(eth_null, "size=<int> copy=<int>");
DRIVER_REGISTER_PARAM_STRING(eth_null,
"size=<int> "
"copy=<int>");

View File

@ -1090,5 +1090,9 @@ static struct rte_driver pmd_pcap_drv = {
};
PMD_REGISTER_DRIVER(pmd_pcap_drv, eth_pcap);
DRIVER_REGISTER_PARAM_STRING(eth_pcap, "rx_pcap=<string> tx_pcap=<string> "
"rx_iface=<ifc> tx_iface=<ifc> iface=<ifc>");
DRIVER_REGISTER_PARAM_STRING(eth_pcap,
"rx_pcap=<string> "
"tx_pcap=<string> "
"rx_iface=<ifc> "
"tx_iface=<ifc> "
"iface=<ifc>");

View File

@ -630,4 +630,5 @@ static struct rte_driver pmd_ring_drv = {
};
PMD_REGISTER_DRIVER(pmd_ring_drv, eth_ring);
DRIVER_REGISTER_PARAM_STRING(eth_ring, "nodeaction=[attach|detach]");
DRIVER_REGISTER_PARAM_STRING(eth_ring,
"nodeaction=[attach|detach]");

View File

@ -921,4 +921,6 @@ static struct rte_driver pmd_vhost_drv = {
};
PMD_REGISTER_DRIVER(pmd_vhost_drv, eth_vhost);
DRIVER_REGISTER_PARAM_STRING(eth_vhost, "iface=<ifc> queues=<int>");
DRIVER_REGISTER_PARAM_STRING(eth_vhost,
"iface=<ifc> "
"queues=<int>");