[dpdk-dev] [PATCH v4 2/2] test/crypto: add GMAC SGL tests

Akhil Goyal akhil.goyal at nxp.com
Fri Oct 9 16:09:36 CEST 2020


Hi Pablo,

> diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h
> index 41542e055..57003733b 100644
> --- a/app/test/test_cryptodev.h
> +++ b/app/test/test_cryptodev.h
> @@ -17,9 +17,9 @@
>  #define DEFAULT_NUM_QPS_PER_QAT_DEVICE  (2)
>  #define DEFAULT_BURST_SIZE              (64)
>  #define DEFAULT_NUM_XFORMS              (2)
> -#define NUM_MBUFS                       (8191)
> +#define NUM_MBUFS                       (4095)
>  #define MBUF_CACHE_SIZE                 (256)
> -#define MBUF_DATAPAYLOAD_SIZE		(2048 +
> DIGEST_BYTE_LENGTH_SHA512)
> +#define MBUF_DATAPAYLOAD_SIZE		(4096 +
> DIGEST_BYTE_LENGTH_SHA512)
>  #define MBUF_SIZE			(sizeof(struct rte_mbuf) + \
>  		RTE_PKTMBUF_HEADROOM + MBUF_DATAPAYLOAD_SIZE)
> 
Why are these changes done? Any specific requirement for GMAC? I believe 2048 is also good enough.

Regards,
Akhil


More information about the dev mailing list