diff mbox series

example/vhost_crypto: add new line character in usage

Message ID 20201102113825.5550-1-ibtisam.tariq@emumba.com (mailing list archive)
State Accepted, archived
Delegated to: Maxime Coquelin
Headers show
Series example/vhost_crypto: add new line character in usage | expand

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-testing success Testing PASS
ci/travis-robot success Travis build: passed
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/checkpatch success coding style OK

Commit Message

Ibtisam Tariq Nov. 2, 2020, 11:38 a.m. UTC
Add new line character(\n) in the usage of vhost_crypto example for
better readability

Fixes: 709521f4c2c ("examples/vhost_crypto: support multi-core")
Cc: roy.fan.zhang@intel.com

Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
---
 examples/vhost_crypto/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Marchand Nov. 5, 2020, 8:56 a.m. UTC | #1
On Mon, Nov 2, 2020 at 12:56 PM Ibtisam Tariq <ibtisam.tariq@emumba.com> wrote:
>
> Add new line character(\n) in the usage of vhost_crypto example for
> better readability
>
> Fixes: 709521f4c2c ("examples/vhost_crypto: support multi-core")
> Cc: roy.fan.zhang@intel.com
>
> Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
> ---
>  examples/vhost_crypto/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c
> index 11ad49159..29c8f7228 100644
> --- a/examples/vhost_crypto/main.c
> +++ b/examples/vhost_crypto/main.c
> @@ -195,7 +195,7 @@ vhost_crypto_usage(const char *prgname)
>  {
>         printf("%s [EAL options] --\n"
>                 "  --%s <lcore>,SOCKET-FILE-PATH\n"
> -               "  --%s (lcore,cdev_id,queue_id)[,(lcore,cdev_id,queue_id)]"
> +               "  --%s (lcore,cdev_id,queue_id)[,(lcore,cdev_id,queue_id)]\n"
>                 "  --%s: zero copy\n"
>                 "  --%s: guest polling\n",
>                 prgname, SOCKET_FILE_KEYWORD, CONFIG_KEYWORD,
> --
> 2.17.1
>

Reviewed-by: David Marchand <david.marchand@redhat.com>
Maxime Coquelin Nov. 9, 2020, 9:11 a.m. UTC | #2
On 11/2/20 12:38 PM, Ibtisam Tariq wrote:
> Add new line character(\n) in the usage of vhost_crypto example for
> better readability
> 
> Fixes: 709521f4c2c ("examples/vhost_crypto: support multi-core")
> Cc: roy.fan.zhang@intel.com
> 
> Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
> ---
>  examples/vhost_crypto/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c
> index 11ad49159..29c8f7228 100644
> --- a/examples/vhost_crypto/main.c
> +++ b/examples/vhost_crypto/main.c
> @@ -195,7 +195,7 @@ vhost_crypto_usage(const char *prgname)
>  {
>  	printf("%s [EAL options] --\n"
>  		"  --%s <lcore>,SOCKET-FILE-PATH\n"
> -		"  --%s (lcore,cdev_id,queue_id)[,(lcore,cdev_id,queue_id)]"
> +		"  --%s (lcore,cdev_id,queue_id)[,(lcore,cdev_id,queue_id)]\n"
>  		"  --%s: zero copy\n"
>  		"  --%s: guest polling\n",
>  		prgname, SOCKET_FILE_KEYWORD, CONFIG_KEYWORD,
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime
Maxime Coquelin Nov. 9, 2020, 4:32 p.m. UTC | #3
On 11/2/20 12:38 PM, Ibtisam Tariq wrote:
> Add new line character(\n) in the usage of vhost_crypto example for
> better readability
> 
> Fixes: 709521f4c2c ("examples/vhost_crypto: support multi-core")
> Cc: roy.fan.zhang@intel.com
> 
> Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
> ---
>  examples/vhost_crypto/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c
> index 11ad49159..29c8f7228 100644
> --- a/examples/vhost_crypto/main.c
> +++ b/examples/vhost_crypto/main.c
> @@ -195,7 +195,7 @@ vhost_crypto_usage(const char *prgname)
>  {
>  	printf("%s [EAL options] --\n"
>  		"  --%s <lcore>,SOCKET-FILE-PATH\n"
> -		"  --%s (lcore,cdev_id,queue_id)[,(lcore,cdev_id,queue_id)]"
> +		"  --%s (lcore,cdev_id,queue_id)[,(lcore,cdev_id,queue_id)]\n"
>  		"  --%s: zero copy\n"
>  		"  --%s: guest polling\n",
>  		prgname, SOCKET_FILE_KEYWORD, CONFIG_KEYWORD,
> 


Applied to dpdk-next-virtio/main.

Thanks,
Maxime
diff mbox series

Patch

diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c
index 11ad49159..29c8f7228 100644
--- a/examples/vhost_crypto/main.c
+++ b/examples/vhost_crypto/main.c
@@ -195,7 +195,7 @@  vhost_crypto_usage(const char *prgname)
 {
 	printf("%s [EAL options] --\n"
 		"  --%s <lcore>,SOCKET-FILE-PATH\n"
-		"  --%s (lcore,cdev_id,queue_id)[,(lcore,cdev_id,queue_id)]"
+		"  --%s (lcore,cdev_id,queue_id)[,(lcore,cdev_id,queue_id)]\n"
 		"  --%s: zero copy\n"
 		"  --%s: guest polling\n",
 		prgname, SOCKET_FILE_KEYWORD, CONFIG_KEYWORD,