app/crypto-perf: support PDCP
authorAkhil Goyal <akhil.goyal@nxp.com>
Fri, 8 Nov 2019 10:46:10 +0000 (16:16 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 20 Nov 2019 11:35:51 +0000 (12:35 +0100)
commit8fd2b5a60d1cd0c7bc608452d6fd8c13f8761f1d
treec9cac575e9b99ce9d02a9e0771b458879bf899af
parent6231271d0cababcb492a154bbd8f390375ac533d
app/crypto-perf: support PDCP

test-crypto-perf app is updated to calculate PDCP
throughput numbers.

2 new params are added for PDCP
--pdcp-sn-sz <5/7/12/15/18>
--pdcp-domain <control/user>

./dpdk-test-crypto-perf --master-lcore 0 -l 0,1 --log-level=8 --
--devtype crypto_dpaa2_sec --optype pdcp --cipher-algo aes-ctr
--cipher-op encrypt --auth-algo null --auth-op generate  --auth-key-sz
16 --ptest throughput --total-ops 100000 --burst-sz 64 --buffer-sz
64,390,1512  --pool-sz 4096 --silent --pdcp-sn-sz 12 --pdcp-domain
control

Signed-off-by: Manish Tomar <manish.tomar@nxp.com>
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
app/test-crypto-perf/cperf_ops.c
app/test-crypto-perf/cperf_options.h
app/test-crypto-perf/cperf_options_parsing.c
app/test-crypto-perf/cperf_test_common.c
app/test-crypto-perf/cperf_test_throughput.c
app/test-crypto-perf/cperf_test_vectors.c
app/test-crypto-perf/main.c
app/test-crypto-perf/meson.build
doc/guides/rel_notes/release_19_11.rst
doc/guides/tools/cryptoperf.rst