diff options
author | Luc Provoost <luc.provoost@gmail.com> | 2023-06-26 14:53:20 +0200 |
---|---|---|
committer | Luc Provoost <luc.provoost@gmail.com> | 2023-06-26 14:53:20 +0200 |
commit | 7e66b4a8a0658bd5912f85a84f1a9f86a3fdd253 (patch) | |
tree | eab91cbe234f26ae3a0429cd6377d625c2fac8d5 /VNFs/DPPD-PROX/helper-scripts/rapid/configs | |
parent | d27128191369ebcc3717870652fe8528a90b8a99 (diff) |
Addition of new test case encrypt.test
The new test is combining a generator sending plain text traffic to
another pod. This second pod is encrypting and then decrypting the
packets again before sending them back to the generator for latency
measurements. The encryption/decryption is done with a hard code algo
and key and can be done in SW or by using QAT devices.
Signed-off-by: Luc Provoost <luc.provoost@gmail.com>
Change-Id: If85766e546b0c3534d2eaed96a465195c1455d06
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/configs')
-rw-r--r-- | VNFs/DPPD-PROX/helper-scripts/rapid/configs/esp.cfg | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/configs/esp.cfg b/VNFs/DPPD-PROX/helper-scripts/rapid/configs/esp.cfg new file mode 100644 index 00000000..31728daf --- /dev/null +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/configs/esp.cfg @@ -0,0 +1,47 @@ +[lua] +dofile("parameters.lua") + +[eal options] +-n=4 ; force number of memory channels +no-output=no ; disable DPDK debug output +eal=--proc-type auto ${eal} + +[port 0] +name=if0 +mac=hardware +rx desc=2048 +tx desc=2048 +vlan=yes +vdev=esp_tap +local ipv4=$local_ip1 + +[defaults] +mempool size=64K + +[global] +name=${name} + +[core $mcore] +mode=master + +[core $cores] +name=enc +task=0 +mode=esp_enc +sub mode=l3 +remote ipv4=$dest_ip1 +rx port=if0 +tx cores=$altcores task=0 +drop=yes + + +[core $altcores] +name=dec +task=0 +mode=esp_dec +sub mode=l3 +remote ipv4=$dest_ip1 +rx ring=yes +tx port=if0 +drop=yes + |