drivers: split parameters infos in multiple lines
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 9 Jul 2016 01:06:12 +0000 (02:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 10 Jul 2016 12:51:09 +0000 (14:51 +0200)
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>
drivers/crypto/aesni_gcm/aesni_gcm_pmd.c
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c
drivers/crypto/kasumi/rte_kasumi_pmd.c
drivers/crypto/null/null_crypto_pmd.c
drivers/crypto/snow3g/rte_snow3g_pmd.c
drivers/net/af_packet/rte_eth_af_packet.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/null/rte_eth_null.c
drivers/net/pcap/rte_eth_pcap.c
drivers/net/ring/rte_eth_ring.c
drivers/net/vhost/rte_eth_vhost.c

index f9be44a..dc0b033 100644 (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>");
index 2140b92..b2d0c8c 100644 (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>");
index 400a248..1cdbc06 100644 (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>");
index e03d0eb..909b04f 100644 (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>");
index a474a4d..87cd070 100644 (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>");
index 238eed8..f795566 100644 (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>");
index 0361be3..f617eea 100644 (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>");
index 367b884..7a24884 100644 (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>");
index 1bcd7e5..7e213eb 100644 (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>");
index dee5038..a7048c7 100644 (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]");
index e42ee2c..596faea 100644 (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>");