From: Pablo de Lara Date: Sat, 9 Jul 2016 01:06:12 +0000 (+0100) Subject: drivers: split parameters infos in multiple lines X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=65eca099f405e23b9f382a3b4ca611bc32fddc88;p=dpdk.git 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 Acked-by: Neil Horman --- diff --git a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c index f9be44ab76..dc0b0337f9 100644 --- a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c +++ b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c @@ -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= " -"max_nb_sessions= socket_id="); +DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_AESNI_GCM_PMD, + "max_nb_queue_pairs= " + "max_nb_sessions= " + "socket_id="); diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c index 2140b920b5..b2d0c8ca41 100644 --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c @@ -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= " -"max_nb_sessions= socket_id="); +DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_AESNI_MB_PMD, + "max_nb_queue_pairs= " + "max_nb_sessions= " + "socket_id="); diff --git a/drivers/crypto/kasumi/rte_kasumi_pmd.c b/drivers/crypto/kasumi/rte_kasumi_pmd.c index 400a248263..1cdbc063df 100644 --- a/drivers/crypto/kasumi/rte_kasumi_pmd.c +++ b/drivers/crypto/kasumi/rte_kasumi_pmd.c @@ -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= " -"max_nb_sessions= socket_id="); +DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_KASUMI_PMD, + "max_nb_queue_pairs= " + "max_nb_sessions= " + "socket_id="); diff --git a/drivers/crypto/null/null_crypto_pmd.c b/drivers/crypto/null/null_crypto_pmd.c index e03d0eb27b..909b04f989 100644 --- a/drivers/crypto/null/null_crypto_pmd.c +++ b/drivers/crypto/null/null_crypto_pmd.c @@ -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= " -"max_nb_sessions= socket_id="); +DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_NULL_PMD, + "max_nb_queue_pairs= " + "max_nb_sessions= " + "socket_id="); diff --git a/drivers/crypto/snow3g/rte_snow3g_pmd.c b/drivers/crypto/snow3g/rte_snow3g_pmd.c index a474a4d515..87cd070a46 100644 --- a/drivers/crypto/snow3g/rte_snow3g_pmd.c +++ b/drivers/crypto/snow3g/rte_snow3g_pmd.c @@ -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= " -"max_nb_sessions= socket_id="); +DRIVER_REGISTER_PARAM_STRING(CRYPTODEV_NAME_SNOW3G_PMD, + "max_nb_queue_pairs= " + "max_nb_sessions= " + "socket_id="); diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c index 238eed8127..f795566282 100644 --- a/drivers/net/af_packet/rte_eth_af_packet.c +++ b/drivers/net/af_packet/rte_eth_af_packet.c @@ -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= " -"qpairs= blocksz= framesz= framecnt="); +DRIVER_REGISTER_PARAM_STRING(eth_af_packet, + "iface= " + "qpairs= " + "blocksz= " + "framesz= " + "framecnt="); diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 0361be3eec..f617eea08f 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++ b/drivers/net/bonding/rte_eth_bond_pmd.c @@ -2516,7 +2516,13 @@ static struct rte_driver bond_drv = { PMD_REGISTER_DRIVER(bond_drv, eth_bond); -DRIVER_REGISTER_PARAM_STRING(eth_bond, "slave= primary= mode=[0-4] " -"xmit_policy=[l2 | l23 | l34] socket_id= mac= " -"lsc_poll_period_ms= up_delay= down_delay="); - +DRIVER_REGISTER_PARAM_STRING(eth_bond, + "slave= " + "primary= " + "mode=[0-4] " + "xmit_policy=[l2 | l23 | l34] " + "socket_id= " + "mac= " + "lsc_poll_period_ms= " + "up_delay= " + "down_delay="); diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index 367b884b2b..7a2488420a 100644 --- a/drivers/net/null/rte_eth_null.c +++ b/drivers/net/null/rte_eth_null.c @@ -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= copy="); +DRIVER_REGISTER_PARAM_STRING(eth_null, + "size= " + "copy="); diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index 1bcd7e507b..7e213ebb39 100644 --- a/drivers/net/pcap/rte_eth_pcap.c +++ b/drivers/net/pcap/rte_eth_pcap.c @@ -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= tx_pcap= " -"rx_iface= tx_iface= iface="); +DRIVER_REGISTER_PARAM_STRING(eth_pcap, + "rx_pcap= " + "tx_pcap= " + "rx_iface= " + "tx_iface= " + "iface="); diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c index dee5038586..a7048c7709 100644 --- a/drivers/net/ring/rte_eth_ring.c +++ b/drivers/net/ring/rte_eth_ring.c @@ -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]"); diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c index e42ee2cbc8..596faea9be 100644 --- a/drivers/net/vhost/rte_eth_vhost.c +++ b/drivers/net/vhost/rte_eth_vhost.c @@ -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= queues="); +DRIVER_REGISTER_PARAM_STRING(eth_vhost, + "iface= " + "queues=");