Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>
---
test/validation/crypto/crypto.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/validation/crypto/crypto.c b/test/validation/crypto/crypto.c
index 9229cab..1234f78 100644
--- a/test/validation/crypto/crypto.c
+++ b/test/validation/crypto/crypto.c
@@ -42,6 +42,9 @@ int crypto_init(void)
params.pkt.num = SHM_PKT_POOL_SIZE / SHM_PKT_POOL_BUF_SIZE;
params.type = ODP_POOL_PACKET;
+ if (SHM_PKT_POOL_BUF_SIZE > odp_config_packet_buf_len_max())
+ params.pkt.len = odp_config_packet_buf_len_max();
+
pool = odp_pool_create("packet_pool", ¶ms);
if (ODP_POOL_INVALID == pool) {
--
2.6.2.406.gaaaec35
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp