examples/fips_validation: support scatter gather list
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 9 Oct 2020 20:08:21 +0000 (21:08 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 20:22:06 +0000 (22:22 +0200)
commit952e10cdad5e46d66a05e720f773694ffb558bc0
tree4df5c0fb3684dee694e9521a732faa4e42973937
parent8bd98b8d85935e01d334b0da722a2dd0e1bbf79e
examples/fips_validation: support scatter gather list

This patch adds SGL support to FIPS sample application.
Originally the application allocates single mbuf of 64KB - 1
bytes data room. With the change the user may reduce the
mbuf dataroom size by using the add cmdline option. If the
input test data is longer than the user provided data room
size the application will automatically build chained mbufs
for the target cryptodev PMD to test.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: John Griffin <john.griffin@intel.com>
doc/guides/rel_notes/release_20_11.rst
doc/guides/sample_app_ug/fips_validation.rst
examples/fips_validation/fips_validation.h
examples/fips_validation/main.c