examples/ipsec-secgw: add offload fallback tests
authorMarcin Smoczynski <marcinx.smoczynski@intel.com>
Mon, 14 Oct 2019 13:48:42 +0000 (15:48 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 8 Nov 2019 12:51:16 +0000 (13:51 +0100)
commit403e9d914bdb2291c3ba73a9262545aa2c9f4eca
tree3f16683587a8d47fc94ac730beeb1d075423defa
parentbba1db3520ad450d9f884a4a024c0db39435ef48
examples/ipsec-secgw: add offload fallback tests

Add tests for offload fallback feature; add inbound config modificator
SGW_CFG_XPRM_IN (offload fallback setting can be set only for inbound
SAs). Tests are using cryptodev for outbound SA.

To test fragmentation with QAT set:
MULTI_SEG_TEST="--reassemble=4096 --cryptodev_mask=0x5555"

Signed-off-by: Marcin Smoczynski <marcinx.smoczynski@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Tested-by: Bernard Iremonger <bernard.iremonger@intel.com>
doc/guides/sample_app_ug/ipsec_secgw.rst
examples/ipsec-secgw/test/trs_aesgcm_common_defs.sh
examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh [new file with mode: 0644]
examples/ipsec-secgw/test/tun_aesgcm_common_defs.sh
examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh [new file with mode: 0644]