test/crypto: fix max length for raw data path
authorKai Ji <kai.ji@intel.com>
Fri, 8 Oct 2021 11:33:45 +0000 (12:33 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 4 Nov 2021 18:43:14 +0000 (19:43 +0100)
commit6d4c594e46529b6243f851b3a5e682b88829f3b3
tree659ed670773f8e37600796071c4116d52d3bbbae
parentba2469cddf2a2500ae8020c6398f59329a97d439
test/crypto: fix max length for raw data path

Update the calculation of the max length needed when converting mbuf to
data vec in partial digest test case. This update make sure the enough
vec buffers are allocated for the appended digest in sgl op for raw
datapath api.

Fixes: 4868f6591c6f ("test/crypto: add cases for raw datapath API")
Cc: stable@dpdk.org
Signed-off-by: Kai Ji <kai.ji@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev.c