DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test/ipsec: fix a typo in function name
@ 2020-02-19 11:26 Thomas Monjalon
  2020-02-19 11:49 ` Ananyev, Konstantin
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2020-02-19 11:26 UTC (permalink / raw)
  To: dev
  Cc: stable, Konstantin Ananyev, Bernard Iremonger,
	Vladimir Medvedkin, Mohammad Abdul Awal, Akhil Goyal,
	Declan Doherty

The name of the static function check_cryptodev_capablity()
is fixed for the word "capability".
There is no functional change.

The same typo is fixed in a comment in ip_fragmentation example.

Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 app/test/test_ipsec.c            | 4 ++--
 examples/ip_fragmentation/main.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index 7dc83fee7e..9e14472938 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@ -237,7 +237,7 @@ fill_crypto_xform(struct ipsec_unitest_params *ut_params,
 }
 
 static int
-check_cryptodev_capablity(const struct ipsec_unitest_params *ut,
+check_cryptodev_capability(const struct ipsec_unitest_params *ut,
 		uint8_t dev_id)
 {
 	struct rte_cryptodev_sym_capability_idx cap_idx;
@@ -302,7 +302,7 @@ testsuite_setup(void)
 
 	/* Find first valid crypto device */
 	for (i = 0; i < nb_devs; i++) {
-		rc = check_cryptodev_capablity(ut_params, i);
+		rc = check_cryptodev_capability(ut_params, i);
 		if (rc == 0) {
 			ts_params->valid_dev = i;
 			ts_params->valid_dev_found = 1;
diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c
index 104612339c..28febf49e7 100644
--- a/examples/ip_fragmentation/main.c
+++ b/examples/ip_fragmentation/main.c
@@ -646,7 +646,7 @@ check_all_ports_link_status(uint32_t port_mask)
 	}
 }
 
-/* Check L3 packet type detection capablity of the NIC port */
+/* Check L3 packet type detection capability of the NIC port */
 static int
 check_ptype(int portid)
 {
-- 
2.25.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] test/ipsec: fix a typo in function name
  2020-02-19 11:26 [dpdk-dev] [PATCH] test/ipsec: fix a typo in function name Thomas Monjalon
@ 2020-02-19 11:49 ` Ananyev, Konstantin
  2020-02-20 10:37   ` Akhil Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: Ananyev, Konstantin @ 2020-02-19 11:49 UTC (permalink / raw)
  To: Thomas Monjalon, dev
  Cc: stable, Iremonger, Bernard, Medvedkin, Vladimir, Awal,
	Mohammad Abdul, Akhil Goyal, Doherty, Declan

> 
> The name of the static function check_cryptodev_capablity()
> is fixed for the word "capability".
> There is no functional change.
> 
> The same typo is fixed in a comment in ip_fragmentation example.
> 
> Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
>  app/test/test_ipsec.c            | 4 ++--
>  examples/ip_fragmentation/main.c | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
> index 7dc83fee7e..9e14472938 100644
> --- a/app/test/test_ipsec.c
> +++ b/app/test/test_ipsec.c
> @@ -237,7 +237,7 @@ fill_crypto_xform(struct ipsec_unitest_params *ut_params,
>  }
> 
>  static int
> -check_cryptodev_capablity(const struct ipsec_unitest_params *ut,
> +check_cryptodev_capability(const struct ipsec_unitest_params *ut,
>  		uint8_t dev_id)
>  {
>  	struct rte_cryptodev_sym_capability_idx cap_idx;
> @@ -302,7 +302,7 @@ testsuite_setup(void)
> 
>  	/* Find first valid crypto device */
>  	for (i = 0; i < nb_devs; i++) {
> -		rc = check_cryptodev_capablity(ut_params, i);
> +		rc = check_cryptodev_capability(ut_params, i);
>  		if (rc == 0) {
>  			ts_params->valid_dev = i;
>  			ts_params->valid_dev_found = 1;
> diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c
> index 104612339c..28febf49e7 100644
> --- a/examples/ip_fragmentation/main.c
> +++ b/examples/ip_fragmentation/main.c
> @@ -646,7 +646,7 @@ check_all_ports_link_status(uint32_t port_mask)
>  	}
>  }
> 
> -/* Check L3 packet type detection capablity of the NIC port */
> +/* Check L3 packet type detection capability of the NIC port */
>  static int
>  check_ptype(int portid)
>  {
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.25.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] test/ipsec: fix a typo in function name
  2020-02-19 11:49 ` Ananyev, Konstantin
@ 2020-02-20 10:37   ` Akhil Goyal
  0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2020-02-20 10:37 UTC (permalink / raw)
  To: Ananyev, Konstantin, Thomas Monjalon, dev
  Cc: stable, Iremonger, Bernard, Medvedkin, Vladimir, Awal,
	Mohammad Abdul, Doherty, Declan

> >
> > The name of the static function check_cryptodev_capablity()
> > is fixed for the word "capability".
> > There is no functional change.
> >
> > The same typo is fixed in a comment in ip_fragmentation example.
> >
> > Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > ---
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

Applied to dpdk-next-crypto

Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-20 10:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-19 11:26 [dpdk-dev] [PATCH] test/ipsec: fix a typo in function name Thomas Monjalon
2020-02-19 11:49 ` Ananyev, Konstantin
2020-02-20 10:37   ` Akhil Goyal

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).