app/test: enable SG tests for cn10k

Message ID 20230224055611.2856055-1-ktejasree@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series app/test: enable SG tests for cn10k |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/intel-Testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/github-robot: build success github build: passed
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS

Commit Message

Tejasree Kondoj Feb. 24, 2023, 5:56 a.m. UTC
  Enabling Scatter Gather tests for cn10k.

Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
---
 app/test/test_cryptodev.c | 4 ----
 1 file changed, 4 deletions(-)
  

Comments

Akhil Goyal Feb. 27, 2023, 6:23 p.m. UTC | #1
> Subject: [PATCH] app/test: enable SG tests for cn10k
> 
test/crypto: enable SG tests for cn10k

> Enabling Scatter Gather tests for cn10k.

Removed PMD specific check in IPsec SG cases
> 
> Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>

Applied with above changes on dpdk-next-crypto

Thanks.
  

Patch

diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index aa831d79a2..10a631dd5f 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -10508,10 +10508,6 @@  test_ipsec_proto_sgl(const void *data __rte_unused)
 		.nb_segs_in_mbuf = 5
 	};
 
-	if (gbl_driver_id == rte_cryptodev_driver_id_get(
-			RTE_STR(CRYPTODEV_NAME_CN10K_PMD)))
-		return TEST_SKIPPED;
-
 	rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info);
 	if (!(dev_info.feature_flags & RTE_CRYPTODEV_FF_IN_PLACE_SGL)) {
 		printf("Device doesn't support in-place scatter-gather. "