test/ipsec: fix a typo in function name
PATCH 1/1 test/ipsec: fix a typo in function name
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")
Signed-off-by Thomas Monjalon <[email protected]>
--- app/test/test_ipsec.c | 4 ++-- examples/ip_fragmentation/main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
app/test/test_ipsec.c +2 -2
@@ -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 ;
examples/ip_fragmentation/main.c +1 -1
@@ -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) {
Signature · 1 line
2.25.0
Quoted 43 lines
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_fragmentationexample.Fixes 05fe65eb66b2 ("test/ipsec: introduce functional test")Signed-off-by Thomas Monjalon <[email protected]>--- app/test/test_ipsec.c | 4 ++-- examples/ip_fragmentation/main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)app/test/test_ipsec.c +2
-2@@ -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 ;examples/ip_fragmentation/main.c +0
-0
examples/ip_fragmentation/main.c check_all_ports_link_status(uint32_t port_mask)
Quoted 9 lines
examples/ip_fragmentation/main.c +1
-2@@ -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) { --
Quoted 1 line
2.25.0
Akhil Goyal
AppliedQuoted 7 lines
Quoted 7 lines
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_fragmentationexample.
Quoted 7 lines
Quoted 5 lines
Fixes 05fe65eb66b2 ("test/ipsec: introduce functional test")Signed-off-by Thomas Monjalon <[email protected]>---
Applied to dpdk-next-crypto
Thanks.