test/crypto: increase mbuf data payload size to 4K
authorSuanming Mou <suanmingm@nvidia.com>
Tue, 20 Jul 2021 13:28:11 +0000 (16:28 +0300)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 30 Jul 2021 18:57:23 +0000 (20:57 +0200)
Currently, there is vendor which can support bigger crypto data size.
Increase the default mbuf data payload size to 4K as needed.

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev.h

index 31e2782..1cdd84d 100644 (file)
@@ -19,7 +19,7 @@
 #define DEFAULT_NUM_XFORMS              (2)
 #define NUM_MBUFS                       (8191)
 #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)