test/ipsec: fix a typo in function name
authorThomas Monjalon <thomas@monjalon.net>
Wed, 19 Feb 2020 11:26:50 +0000 (12:26 +0100)
committerAkhil Goyal <akhil.goyal@oss.nxp.com>
Thu, 20 Feb 2020 10:16:46 +0000 (11:16 +0100)
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>
app/test/test_ipsec.c
examples/ip_fragmentation/main.c

index 7dc83fe..9e14472 100644 (file)
@@ -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;
index 1046123..28febf4 100644 (file)
@@ -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)
 {