7.2. crypto

7.2.1. 10ge2p1x710-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_10000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${10000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.1.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.1.2. 64B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.1.3. 64B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.1.4. 64B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.1.5. 1518B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.1.6. 1518B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.1.7. 1518B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.1.8. 9000B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.1.9. 9000B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.1.10. 9000B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.1.11. IMIX-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.1.12. IMIX-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.1.13. IMIX-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.2. 10ge2p1x710-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_10000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10000tnlsw-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${10000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.2.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.2.2. 64B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.2.3. 64B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.2.4. 64B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.2.5. 1518B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.2.6. 1518B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.2.7. 1518B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.2.8. 9000B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.2.9. 9000B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.2.10. 9000B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.2.11. IMIX-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.2.12. IMIX-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.2.13. IMIX-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.3. 10ge2p1x710-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_10000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10000tnlsw-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${10000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.3.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.3.2. 64B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.3.3. 64B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.3.4. 64B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.3.5. 1518B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.3.6. 1518B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.3.7. 1518B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.3.8. 9000B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.3.9. 9000B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.3.10. 9000B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.3.11. IMIX-1c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.3.12. IMIX-2c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.3.13. IMIX-4c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.4. 10ge2p1x710-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. SPD flow-cache for IPv4 outbound traffic is enabled. DUT1 is tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPD_FLOW_CACHE
| ... | SPE_1000 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${1000}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.4.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Enable SPD flow cache IPv4 Outbound
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.4.2. 64B-1c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.4.3. 64B-2c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.4.4. 64B-4c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.4.5. 1518B-1c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.4.6. 1518B-2c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.4.7. 1518B-4c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.4.8. 9000B-1c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.4.9. 9000B-2c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.4.10. 9000B-4c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.4.11. IMIX-1c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.4.12. IMIX-2c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.4.13. IMIX-4c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.5. 10ge2p1x710-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPE_1000 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${1000}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.5.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.5.2. 64B-1c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.5.3. 64B-2c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.5.4. 64B-4c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.5.5. 1518B-1c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.5.6. 1518B-2c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.5.7. 1518B-4c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.5.8. 9000B-1c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.5.9. 9000B-2c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.5.10. 9000B-4c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.5.11. IMIX-1c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.5.12. IMIX-2c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.5.13. IMIX-4c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.6. 10ge2p1x710-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | TNL_1000
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.6.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.6.2. 64B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.6.3. 64B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.6.4. 64B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.6.5. 1518B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.6.6. 1518B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.6.7. 1518B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.6.8. 9000B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.6.9. 9000B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.6.10. 9000B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.6.11. IMIX-1c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.6.12. IMIX-2c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.6.13. IMIX-4c-ethip4ipsec1000tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.7. 10ge2p1x710-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | TNL_1000
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhw-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.7.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And VPP IPsec Select Backend  ${dut1}  ${ipsec_proto}  index=${1}
  And VPP IPsec Select Backend  ${dut2}  ${ipsec_proto}  index=${1}
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.7.2. 64B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.7.3. 64B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.7.4. 64B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.7.5. 1518B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.7.6. 1518B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.7.7. 1518B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.7.8. 9000B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.7.9. 9000B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.7.10. 9000B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.7.11. IMIX-1c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.7.12. IMIX-2c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.7.13. IMIX-4c-ethip4ipsec1000tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.8. 10ge2p1x710-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | TNL_1000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhw-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.8.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And VPP IPsec Select Backend  ${dut1}  ${ipsec_proto}  index=${1}
  And VPP IPsec Select Backend  ${dut2}  ${ipsec_proto}  index=${1}
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.8.2. 64B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.8.3. 64B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.8.4. 64B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.8.5. 1518B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.8.6. 1518B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.8.7. 1518B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.8.8. 9000B-1c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.8.9. 9000B-2c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.8.10. 9000B-4c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.8.11. IMIX-1c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.8.12. IMIX-2c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.8.13. IMIX-4c-ethip4ipsec1000tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.9. 10ge2p1x710-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-X710 | TNL_1000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.9.1. Local Template

  • [Cfg] DUTs runs IPsec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And VPP IPsec Select Backend  ${dut1}  ${ipsec_proto}  index=${1}
  And VPP IPsec Select Backend  ${dut2}  ${ipsec_proto}  index=${1}
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.9.2. 64B-1c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.9.3. 64B-2c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.9.4. 64B-4c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.9.5. 1518B-1c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.9.6. 1518B-2c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.9.7. 1518B-4c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.9.8. 9000B-1c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.9.9. 9000B-2c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.9.10. 9000B-4c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.9.11. IMIX-1c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.9.12. IMIX-2c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.9.13. IMIX-4c-ethip4ipsec1000tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.10. 10ge2p1x710-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1000
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.10.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.10.2. 64B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.10.3. 64B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.10.4. 64B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.10.5. 1518B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.10.6. 1518B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.10.7. 1518B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.10.8. 9000B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.10.9. 9000B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.10.10. 9000B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.10.11. IMIX-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.10.12. IMIX-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.10.13. IMIX-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.11. 10ge2p1x710-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | TNL_1000
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.11.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.11.2. 64B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.11.3. 64B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.11.4. 64B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.11.5. 1518B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.11.6. 1518B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.11.7. 1518B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.11.8. 9000B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.11.9. 9000B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.11.10. 9000B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.11.11. IMIX-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.11.12. IMIX-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.11.13. IMIX-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.12. 10ge2p1x710-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | TNL_1000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.12.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.12.2. 64B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.12.3. 64B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.12.4. 64B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.12.5. 1518B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.12.6. 1518B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.12.7. 1518B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.12.8. 9000B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.12.9. 9000B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.12.10. 9000B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.12.11. IMIX-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.12.12. IMIX-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.12.13. IMIX-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.13. 10ge2p1x710-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECTUN | NIC_Intel-X710 | TNL_1000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.13.1. Local Template

  • [Cfg] DUTs runs IPsec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.13.2. 64B-1c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.13.3. 64B-2c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.13.4. 64B-4c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.13.5. 1518B-1c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.13.6. 1518B-2c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.13.7. 1518B-4c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.13.8. 9000B-1c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.13.9. 9000B-2c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.13.10. 9000B-4c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.13.11. IMIX-1c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.13.12. IMIX-2c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.13.13. IMIX-4c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.14. 10ge2p1x710-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels which shared same tunnel src and dst ip address. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.14.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - search_type - NDR or PDR. Type: string - rxq - Number of RX queues, default value: ${None}. Type: integer - min_rate - Min rate for binary search, default value: ${50000}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${False}
 Then Find NDR and PDR intervals using optimized search

7.2.14.2. 64B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.14.3. 64B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.14.4. 64B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.14.5. 1518B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.14.6. 1518B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.14.7. 1518B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.14.8. 9000B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.14.9. 9000B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.14.10. 9000B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.14.11. IMIX-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.14.12. IMIX-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.14.13. IMIX-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.15. 10ge2p1x710-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels which shared same tunnel src and dst ip address, enabled IPsec_ESP flow director between them.DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | FLOW_DIR | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${dut1_spi}= | ${400000}
| ${dut2_spi}= | ${300000}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.15.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - search_type - NDR or PDR. Type: string - rxq - Number of RX queues, default value: ${None}. Type: integer - min_rate - Min rate for binary search, default value: ${50000}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP Create Ipsec Flows On Dut  ${dut1}  ${n_tunnels}  ${rxq_count_int}  ${dut1_spi}  ${DUT1_${int}2}[0]
  And VPP Create Ipsec Flows On Dut  ${dut2}  ${n_tunnels}  ${rxq_count_int}  ${dut2_spi}  ${DUT2_${int}1}[0]
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${False}
 Then Find NDR and PDR intervals using optimized search

7.2.15.2. 64B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.15.3. 64B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.15.4. 64B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.15.5. 1518B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.15.6. 1518B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.15.7. 1518B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.15.8. 9000B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.15.9. 9000B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.15.10. 9000B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.15.11. IMIX-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.15.12. IMIX-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.15.13. IMIX-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-dir-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.16. 10ge2p1x710-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels which shared same tunnel src and dst ip address, enabled flow rss action between them.DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | FLOW_RSS | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.16.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - search_type - NDR or PDR. Type: string - rxq - Number of RX queues, default value: ${None}. Type: integer - min_rate - Min rate for binary search, default value: ${50000}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
${flow_index} =  And VPP Ipsec Flow Enale Rss  ${dut1}  IPSEC_ESP  esp  default
  And VPP Flow Enable  ${dut1}  ${DUT1_${int}2}[0]  ${flow_index}
${flow_index} =  And VPP Ipsec Flow Enale Rss  ${dut2}  IPSEC_ESP  esp  default
  And VPP Flow Enable  ${dut2}  ${DUT2_${int}1}[0]  ${flow_index}
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${False}
 Then Find NDR and PDR intervals using optimized search

7.2.16.2. 64B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.16.3. 64B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.16.4. 64B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.16.5. 1518B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.16.6. 1518B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.16.7. 1518B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.16.8. 9000B-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.16.9. 9000B-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.16.10. 9000B-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.16.11. IMIX-1c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.16.12. IMIX-2c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.16.13. IMIX-4c-ethip4ipsec1000tnlsw-fixtnlip-ip4base-policy-flow-rss-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.17. 10ge2p1x710-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.17.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.17.2. 64B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.17.3. 64B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.17.4. 64B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.17.5. 1518B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.17.6. 1518B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.17.7. 1518B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.17.8. 9000B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.17.9. 9000B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.17.10. 9000B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.17.11. IMIX-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.17.12. IMIX-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.17.13. IMIX-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.18. 10ge2p1x710-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.18.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.18.2. 64B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.18.3. 64B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.18.4. 64B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.18.5. 1518B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.18.6. 1518B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.18.7. 1518B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.18.8. 9000B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.18.9. 9000B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.18.10. 9000B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.18.11. IMIX-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.18.12. IMIX-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.18.13. IMIX-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.19. 10ge2p1x710-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.19.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.19.2. 64B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.19.3. 64B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.19.4. 64B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.19.5. 1518B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.19.6. 1518B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.19.7. 1518B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.19.8. 9000B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.19.9. 9000B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.19.10. 9000B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.19.11. IMIX-1c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.19.12. IMIX-2c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.19.13. IMIX-4c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.20. 10ge2p1x710-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.20.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - search_type - NDR or PDR. Type: string - rxq - Number of RX queues, default value: ${None}. Type: integer - min_rate - Min rate for binary search, default value: ${50000}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.20.2. 64B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.20.3. 64B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.20.4. 64B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.20.5. 1518B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.20.6. 1518B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.20.7. 1518B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.20.8. 9000B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.20.9. 9000B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.20.10. 9000B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.20.11. IMIX-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.20.12. IMIX-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.20.13. IMIX-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.21. 10ge2p1x710-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. SPD flow-cache for IPv4 outbound traffic is enabled. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPD_FLOW_CACHE
| ... | SPE_100 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${100}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.21.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Enable SPD flow cache IPv4 Outbound
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.21.2. 64B-1c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.21.3. 64B-2c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.21.4. 64B-4c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.21.5. 1518B-1c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.21.6. 1518B-2c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.21.7. 1518B-4c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.21.8. 9000B-1c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.21.9. 9000B-2c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.21.10. 9000B-4c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.21.11. IMIX-1c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.21.12. IMIX-2c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.21.13. IMIX-4c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.22. 10ge2p1x710-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPE_100 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec100spe-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${100}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.22.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.22.2. 64B-1c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.22.3. 64B-2c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.22.4. 64B-4c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.22.5. 1518B-1c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.22.6. 1518B-2c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.22.7. 1518B-4c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.22.8. 9000B-1c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.22.9. 9000B-2c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.22.10. 9000B-4c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.22.11. IMIX-1c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.22.12. IMIX-2c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.22.13. IMIX-4c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.23. 10ge2p1x710-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. SPD flow-cache for IPv4 outbound traffic is enabled. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPD_FLOW_CACHE
| ... | SPE_10 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${10}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.23.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Enable SPD flow cache IPv4 Outbound
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.23.2. 64B-1c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.23.3. 64B-2c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.23.4. 64B-4c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.23.5. 1518B-1c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.23.6. 1518B-2c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.23.7. 1518B-4c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.23.8. 9000B-1c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.23.9. 9000B-2c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.23.10. 9000B-4c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.23.11. IMIX-1c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.23.12. IMIX-2c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.23.13. IMIX-4c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.24. 10ge2p1x710-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPE_10 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10spe-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${10}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.24.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.24.2. 64B-1c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.24.3. 64B-2c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.24.4. 64B-4c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.24.5. 1518B-1c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.24.6. 1518B-2c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.24.7. 1518B-4c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.24.8. 9000B-1c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.24.9. 9000B-2c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.24.10. 9000B-4c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.24.11. IMIX-1c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.24.12. IMIX-2c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.24.13. IMIX-4c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.25. 10ge2p1x710-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. SPD flow-cache for IPv4 outbound traffic is enabled. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | BASE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPD_FLOW_CACHE
| ... | SPE_1 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${1}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.25.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Enable SPD flow cache IPv4 Outbound
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.25.2. 64B-1c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.25.3. 64B-2c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.25.4. 64B-4c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.25.5. 1518B-1c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.25.6. 1518B-2c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.25.7. 1518B-4c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.25.8. 9000B-1c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.25.9. 9000B-2c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.25.10. 9000B-4c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.25.11. IMIX-1c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.25.12. IMIX-2c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.25.13. IMIX-4c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.26. 10ge2p1x710-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | BASE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPE_1 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1spe-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${1}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.26.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.26.2. 64B-1c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.26.3. 64B-2c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.26.4. 64B-4c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.26.5. 1518B-1c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.26.6. 1518B-2c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.26.7. 1518B-4c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.26.8. 9000B-1c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.26.9. 9000B-2c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.26.10. 9000B-4c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.26.11. IMIX-1c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.26.12. IMIX-2c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.26.13. IMIX-4c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.27. 10ge2p1x710-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.27.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.27.2. 64B-1c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.27.3. 64B-2c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.27.4. 64B-4c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.27.5. 1518B-1c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.27.6. 1518B-2c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.27.7. 1518B-4c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.27.8. 9000B-1c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.27.9. 9000B-2c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.27.10. 9000B-4c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.27.11. IMIX-1c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.27.12. IMIX-2c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.27.13. IMIX-4c-ethip4ipsec1tnlhw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.28. 10ge2p1x710-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhw-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.28.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And VPP IPsec Select Backend  ${dut1}  ${ipsec_proto}  index=${1}
  And VPP IPsec Select Backend  ${dut2}  ${ipsec_proto}  index=${1}
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.28.2. 64B-1c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.28.3. 64B-2c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.28.4. 64B-4c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.28.5. 1518B-1c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.28.6. 1518B-2c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.28.7. 1518B-4c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.28.8. 9000B-1c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.28.9. 9000B-2c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.28.10. 9000B-4c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.28.11. IMIX-1c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.28.12. IMIX-2c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.28.13. IMIX-4c-ethip4ipsec1tnlhw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.29. 10ge2p1x710-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhw-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.29.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And VPP IPsec Select Backend  ${dut1}  ${ipsec_proto}  index=${1}
  And VPP IPsec Select Backend  ${dut2}  ${ipsec_proto}  index=${1}
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.29.2. 64B-1c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.29.3. 64B-2c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.29.4. 64B-4c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.29.5. 1518B-1c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.29.6. 1518B-2c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.29.7. 1518B-4c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.29.8. 9000B-1c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.29.9. 9000B-2c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.29.10. 9000B-4c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.29.11. IMIX-1c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.29.12. IMIX-2c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.29.13. IMIX-4c-ethip4ipsec1tnlhw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.30. 10ge2p1x710-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-X710 | BASE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhw-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.30.1. Local Template

  • [Cfg] DUTs runs IPsec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And VPP IPsec Select Backend  ${dut1}  ${ipsec_proto}  index=${1}
  And VPP IPsec Select Backend  ${dut2}  ${ipsec_proto}  index=${1}
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.30.2. 64B-1c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.30.3. 64B-2c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.30.4. 64B-4c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.30.5. 1518B-1c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.30.6. 1518B-2c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.30.7. 1518B-4c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.30.8. 9000B-1c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.30.9. 9000B-2c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.30.10. 9000B-4c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.30.11. IMIX-1c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.30.12. IMIX-2c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.30.13. IMIX-4c-ethip4ipsec1tnlhw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.31. 10ge2p1x710-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.31.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.31.2. 64B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.31.3. 64B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.31.4. 64B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.31.5. 1518B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.31.6. 1518B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.31.7. 1518B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.31.8. 9000B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.31.9. 9000B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.31.10. 9000B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.31.11. IMIX-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.31.12. IMIX-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.31.13. IMIX-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.32. 10ge2p1x710-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.32.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.32.2. 64B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.32.3. 64B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.32.4. 64B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.32.5. 1518B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.32.6. 1518B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.32.7. 1518B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.32.8. 9000B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.32.9. 9000B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.32.10. 9000B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.32.11. IMIX-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.32.12. IMIX-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.32.13. IMIX-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.33. 10ge2p1x710-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.33.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.33.2. 64B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.33.3. 64B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.33.4. 64B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.33.5. 1518B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.33.6. 1518B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.33.7. 1518B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.33.8. 9000B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.33.9. 9000B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.33.10. 9000B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.33.11. IMIX-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.33.12. IMIX-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.33.13. IMIX-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.34. 10ge2p1x710-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECTUN | NIC_Intel-X710 | BASE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.34.1. Local Template

  • [Cfg] DUTs runs IPsec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.34.2. 64B-1c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.34.3. 64B-2c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.34.4. 64B-4c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.34.5. 1518B-1c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.34.6. 1518B-2c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.34.7. 1518B-4c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.34.8. 9000B-1c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.34.9. 9000B-2c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.34.10. 9000B-4c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.34.11. IMIX-1c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.34.12. IMIX-2c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.34.13. IMIX-4c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.35. 10ge2p1x710-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.35.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.35.2. 64B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.35.3. 64B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.35.4. 64B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.35.5. 1518B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.35.6. 1518B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.35.7. 1518B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.35.8. 9000B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.35.9. 9000B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.35.10. 9000B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.35.11. IMIX-1c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.35.12. IMIX-2c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.35.13. IMIX-4c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.36. 10ge2p1x710-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlsw-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.36.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 128
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.36.2. 64B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.36.3. 64B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.36.4. 64B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.36.5. 1518B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.36.6. 1518B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.36.7. 1518B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.36.8. 9000B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.36.9. 9000B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.36.10. 9000B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.36.11. IMIX-1c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.36.12. IMIX-2c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.36.13. IMIX-4c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.37. 10ge2p1x710-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlsw-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.37.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.37.2. 64B-1c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.37.3. 64B-2c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.37.4. 64B-4c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.37.5. 1518B-1c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.37.6. 1518B-2c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.37.7. 1518B-4c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.37.8. 9000B-1c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.37.9. 9000B-2c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.37.10. 9000B-4c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.37.11. IMIX-1c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.37.12. IMIX-2c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.37.13. IMIX-4c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.38. 10ge2p1x710-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | BASE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlsw-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.38.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.38.2. 64B-1c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.38.3. 64B-2c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.38.4. 64B-4c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.38.5. 1518B-1c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.38.6. 1518B-2c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.38.7. 1518B-4c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.38.8. 9000B-1c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.38.9. 9000B-2c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.38.10. 9000B-4c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.38.11. IMIX-1c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.38.12. IMIX-2c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.38.13. IMIX-4c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.39. 10ge2p1x710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | BASE
| ... | SCHEDULER | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.39.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.39.2. 64B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.39.3. 64B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.39.4. 64B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.39.5. 1518B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.39.6. 1518B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.39.7. 1518B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.39.8. 9000B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.39.9. 9000B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.39.10. 9000B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.39.11. IMIX-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.39.12. IMIX-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.39.13. IMIX-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.40. 10ge2p1x710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | BASE
| ... | SCHEDULER | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.40.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.40.2. 64B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.40.3. 64B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.40.4. 64B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.40.5. 1518B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.40.6. 1518B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.40.7. 1518B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.40.8. 9000B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.40.9. 9000B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.40.10. 9000B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.40.11. IMIX-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.40.12. IMIX-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.40.13. IMIX-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.41. 10ge2p1x710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | BASE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | TNL_1
| ... | SCHEDULER | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.41.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.41.2. 64B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.41.3. 64B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.41.4. 64B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.41.5. 1518B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.41.6. 1518B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.41.7. 1518B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.41.8. 9000B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.41.9. 9000B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.41.10. 9000B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.41.11. IMIX-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.41.12. IMIX-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.41.13. IMIX-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.42. 10ge2p1x710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_2
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${2}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.42.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.42.2. 64B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.42.3. 64B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.42.4. 64B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.42.5. 1518B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.42.6. 1518B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.42.7. 1518B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.42.8. 9000B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.42.9. 9000B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.42.10. 9000B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.42.11. IMIX-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.42.12. IMIX-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.42.13. IMIX-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.43. 10ge2p1x710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_2
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${2}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.43.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.43.2. 64B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.43.3. 64B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.43.4. 64B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.43.5. 1518B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.43.6. 1518B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.43.7. 1518B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.43.8. 9000B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.43.9. 9000B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.43.10. 9000B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.43.11. IMIX-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.43.12. IMIX-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.43.13. IMIX-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.44. 10ge2p1x710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | TNL_2
| ... | SCHEDULER | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${2}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.44.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.44.2. 64B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.44.3. 64B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.44.4. 64B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.44.5. 1518B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.44.6. 1518B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.44.7. 1518B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.44.8. 9000B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.44.9. 9000B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.44.10. 9000B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.44.11. IMIX-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.44.12. IMIX-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.44.13. IMIX-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.45. 10ge2p1x710-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_40000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.45.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.45.2. 64B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.45.3. 64B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.45.4. 64B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.45.5. 1518B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.45.6. 1518B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.45.7. 1518B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.45.8. 9000B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.45.9. 9000B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.45.10. 9000B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.45.11. IMIX-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.45.12. IMIX-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.45.13. IMIX-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.46. 10ge2p1x710-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_40000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40000tnlsw-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.46.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.46.2. 64B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.46.3. 64B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.46.4. 64B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.46.5. 1518B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.46.6. 1518B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.46.7. 1518B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.46.8. 9000B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.46.9. 9000B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.46.10. 9000B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.46.11. IMIX-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.46.12. IMIX-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.46.13. IMIX-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.47. 10ge2p1x710-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_40000
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40000tnlsw-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.47.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.47.2. 64B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.47.3. 64B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.47.4. 64B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.47.5. 1518B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.47.6. 1518B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.47.7. 1518B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.47.8. 9000B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.47.9. 9000B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.47.10. 9000B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.47.11. IMIX-1c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.47.12. IMIX-2c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.47.13. IMIX-4c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.48. 10ge2p1x710-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf suite

RFC2544: Packet loss IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds throughput NDR (Non Drop Rate) with zero packet loss tolerance, then measures loss at this load while additional chain is configured. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | RECONF | TNL_40
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | 1_ADDED_TUNNEL | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
| ${n_added_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.48.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure packet loss during reconfig at NDR load.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
${n_total_tunnels} =  Evaluate  ${n_tunnels} + ${n_added_tunnels}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
${unidirectional_throughput} =  Find Throughput Using MLRsearch
Start Traffic on Background  ${unidirectional_throughput}
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_total_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${n_tunnels}
${result}=  Stop Running Traffic
Display Reconfig Test Message  ${result}

7.2.48.2. 64B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${64}  phy_cores=${1}

7.2.48.3. 64B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${64}  phy_cores=${2}

7.2.48.4. 64B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${64}  phy_cores=${4}

7.2.48.5. 1518B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${1518}  phy_cores=${1}

7.2.48.6. 1518B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${1518}  phy_cores=${2}

7.2.48.7. 1518B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${1518}  phy_cores=${4}

7.2.48.8. 9000B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${9000}  phy_cores=${1}

7.2.48.9. 9000B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${9000}  phy_cores=${2}

7.2.48.10. 9000B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=${9000}  phy_cores=${4}

7.2.48.11. IMIX-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.48.12. IMIX-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.48.13. IMIX-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-reconf


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.49. 10ge2p1x710-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf suite

RFC2544: Packet loss IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds throughput NDR (Non Drop Rate) with zero packet loss tolerance, then measures loss at this load while additional chain is configured. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | RECONF | TNL_40
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_GCM | AES | 1_ADDED_TUNNEL | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
| ${n_added_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.49.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure packet loss during reconfig at NDR load.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
${n_total_tunnels} =  Evaluate  ${n_tunnels} + ${n_added_tunnels}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
${unidirectional_throughput} =  Find Throughput Using MLRsearch
Start Traffic on Background  ${unidirectional_throughput}
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_total_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${n_tunnels}
${result}=  Stop Running Traffic
Display Reconfig Test Message  ${result}

7.2.49.2. 64B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${64}  phy_cores=${1}

7.2.49.3. 64B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${64}  phy_cores=${2}

7.2.49.4. 64B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${64}  phy_cores=${4}

7.2.49.5. 1518B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${1518}  phy_cores=${1}

7.2.49.6. 1518B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${1518}  phy_cores=${2}

7.2.49.7. 1518B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${1518}  phy_cores=${4}

7.2.49.8. 9000B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${9000}  phy_cores=${1}

7.2.49.9. 9000B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${9000}  phy_cores=${2}

7.2.49.10. 9000B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=${9000}  phy_cores=${4}

7.2.49.11. IMIX-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.49.12. IMIX-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.49.13. IMIX-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-reconf


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.50. 10ge2p1x710-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf suite

RFC2544: Packet loss IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds throughput NDR (Non Drop Rate) with zero packet loss tolerance, then measures loss at this load while additional chain is configured. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | RECONF | TNL_40
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | 1_ADDED_TUNNEL | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
| ${n_added_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.50.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure packet loss during reconfig at NDR load.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
${n_total_tunnels} =  Evaluate  ${n_tunnels} + ${n_added_tunnels}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
${unidirectional_throughput} =  Find Throughput Using MLRsearch
Start Traffic on Background  ${unidirectional_throughput}
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_total_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${n_tunnels}
${result}=  Stop Running Traffic
Display Reconfig Test Message  ${result}

7.2.50.2. 64B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${64}  phy_cores=${1}

7.2.50.3. 64B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${64}  phy_cores=${2}

7.2.50.4. 64B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${64}  phy_cores=${4}

7.2.50.5. 1518B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${1518}  phy_cores=${1}

7.2.50.6. 1518B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${1518}  phy_cores=${2}

7.2.50.7. 1518B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${1518}  phy_cores=${4}

7.2.50.8. 9000B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${9000}  phy_cores=${1}

7.2.50.9. 9000B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${9000}  phy_cores=${2}

7.2.50.10. 9000B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=${9000}  phy_cores=${4}

7.2.50.11. IMIX-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.50.12. IMIX-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.50.13. IMIX-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-reconf


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.51. 10ge2p1x710-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_40
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.51.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.51.2. 64B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.51.3. 64B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.51.4. 64B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.51.5. 1518B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.51.6. 1518B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.51.7. 1518B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.51.8. 9000B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.51.9. 9000B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.51.10. 9000B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.51.11. IMIX-1c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.51.12. IMIX-2c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.51.13. IMIX-4c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.52. 10ge2p1x710-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_40
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.52.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.52.2. 64B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.52.3. 64B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.52.4. 64B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.52.5. 1518B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.52.6. 1518B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.52.7. 1518B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.52.8. 9000B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.52.9. 9000B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.52.10. 9000B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.52.11. IMIX-1c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.52.12. IMIX-2c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.52.13. IMIX-4c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.53. 10ge2p1x710-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_40
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.53.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.53.2. 64B-1c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.53.3. 64B-2c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.53.4. 64B-4c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.53.5. 1518B-1c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.53.6. 1518B-2c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.53.7. 1518B-4c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.53.8. 9000B-1c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.53.9. 9000B-2c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.53.10. 9000B-4c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.53.11. IMIX-1c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.53.12. IMIX-2c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.53.13. IMIX-4c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.54. 10ge2p1x710-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_40
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.54.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.54.2. 64B-1c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.54.3. 64B-2c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.54.4. 64B-4c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.54.5. 1518B-1c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.54.6. 1518B-2c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.54.7. 1518B-4c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.54.8. 9000B-1c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.54.9. 9000B-2c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.54.10. 9000B-4c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.54.11. IMIX-1c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.54.12. IMIX-2c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.54.13. IMIX-4c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.55. 10ge2p1x710-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.55.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.55.2. 64B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.55.3. 64B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.55.4. 64B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.55.5. 1518B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.55.6. 1518B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.55.7. 1518B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.55.8. 9000B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.55.9. 9000B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.55.10. 9000B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.55.11. IMIX-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.55.12. IMIX-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.55.13. IMIX-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.56. 10ge2p1x710-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.56.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.56.2. 64B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.56.3. 64B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.56.4. 64B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.56.5. 1518B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.56.6. 1518B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.56.7. 1518B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.56.8. 9000B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.56.9. 9000B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.56.10. 9000B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.56.11. IMIX-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.56.12. IMIX-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.56.13. IMIX-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.57. 10ge2p1x710-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECHW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.57.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.57.2. 64B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.57.3. 64B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.57.4. 64B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.57.5. 1518B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.57.6. 1518B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.57.7. 1518B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.57.8. 9000B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.57.9. 9000B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.57.10. 9000B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.57.11. IMIX-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.57.12. IMIX-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.57.13. IMIX-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.58. 10ge2p1x710-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.58.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.58.2. 64B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.58.3. 64B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.58.4. 64B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.58.5. 1518B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.58.6. 1518B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.58.7. 1518B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.58.8. 9000B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.58.9. 9000B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.58.10. 9000B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.58.11. IMIX-1c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.58.12. IMIX-2c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.58.13. IMIX-4c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.59. 10ge2p1x710-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlsw-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.59.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.59.2. 64B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.59.3. 64B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.59.4. 64B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.59.5. 1518B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.59.6. 1518B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.59.7. 1518B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.59.8. 9000B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.59.9. 9000B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.59.10. 9000B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.59.11. IMIX-1c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.59.12. IMIX-2c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.59.13. IMIX-4c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.60. 10ge2p1x710-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlsw-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.60.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.60.2. 64B-1c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.60.3. 64B-2c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.60.4. 64B-4c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.60.5. 1518B-1c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.60.6. 1518B-2c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.60.7. 1518B-4c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.60.8. 9000B-1c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.60.9. 9000B-2c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.60.10. 9000B-4c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.60.11. IMIX-1c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.60.12. IMIX-2c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.60.13. IMIX-4c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.61. 10ge2p1x710-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr suite

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | SCALE
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlsw-ip4base-policy-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.61.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.61.2. 64B-1c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.61.3. 64B-2c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.61.4. 64B-4c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.61.5. 1518B-1c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.61.6. 1518B-2c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.61.7. 1518B-4c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.61.8. 9000B-1c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.61.9. 9000B-2c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.61.10. 9000B-4c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.61.11. IMIX-1c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.61.12. IMIX-2c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.61.13. IMIX-4c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.62. 10ge2p1x710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.62.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.62.2. 64B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.62.3. 64B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.62.4. 64B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.62.5. 1518B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.62.6. 1518B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.62.7. 1518B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.62.8. 9000B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.62.9. 9000B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.62.10. 9000B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.62.11. IMIX-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.62.12. IMIX-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.62.13. IMIX-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.63. 10ge2p1x710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_4
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.63.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.63.2. 64B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.63.3. 64B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.63.4. 64B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.63.5. 1518B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.63.6. 1518B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.63.7. 1518B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.63.8. 9000B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.63.9. 9000B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.63.10. 9000B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.63.11. IMIX-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.63.12. IMIX-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.63.13. IMIX-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.64. 10ge2p1x710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | TNL_4
| ... | SCHEDULER | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.64.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.64.2. 64B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.64.3. 64B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.64.4. 64B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.64.5. 1518B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.64.6. 1518B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.64.7. 1518B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.64.8. 9000B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.64.9. 9000B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.64.10. 9000B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.64.11. IMIX-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.64.12. IMIX-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.64.13. IMIX-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.65. 10ge2p1x710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_8
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${8}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.65.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.65.2. 64B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.65.3. 64B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.65.4. 64B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.65.5. 1518B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.65.6. 1518B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.65.7. 1518B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.65.8. 9000B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.65.9. 9000B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.65.10. 9000B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.65.11. IMIX-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.65.12. IMIX-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.65.13. IMIX-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.66. 10ge2p1x710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_8
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${8}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.66.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.66.2. 64B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.66.3. 64B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.66.4. 64B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.66.5. 1518B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.66.6. 1518B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.66.7. 1518B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.66.8. 9000B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.66.9. 9000B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.66.10. 9000B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.66.11. IMIX-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.66.12. IMIX-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.66.13. IMIX-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.67. 10ge2p1x710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2.

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | TNL_8
| ... | SCHEDULER | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.254
| ${dut1_if1_ip4}= | 192.168.10.11
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.102
| ${dut2_if2_ip4}= | 192.168.20.11
| ${tg_if2_ip4}= | 192.168.20.254
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${8}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}

7.2.67.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 3-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${dut1_if2_ip4}  ${dut2_if1_ip4}  ${DUT1_${int}2}[0]  ${DUT2_${int}1}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.67.2. 64B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.67.3. 64B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.67.4. 64B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.67.5. 1518B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.67.6. 1518B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.67.7. 1518B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.67.8. 9000B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.67.9. 9000B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.67.10. 9000B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.67.11. IMIX-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.67.12. IMIX-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.67.13. IMIX-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.68. 2n1l-10ge2p1x710-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_10000
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${10000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.68.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.68.2. 64B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.68.3. 64B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.68.4. 64B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.68.5. 1518B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.68.6. 1518B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.68.7. 1518B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.68.8. 9000B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.68.9. 9000B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.68.10. 9000B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.68.11. IMIX-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.68.12. IMIX-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.68.13. IMIX-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.69. 2n1l-10ge2p1x710-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_10000
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${10000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.69.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 128
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.69.2. 64B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.69.3. 64B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.69.4. 64B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.69.5. 1518B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.69.6. 1518B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.69.7. 1518B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.69.8. 9000B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.69.9. 9000B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.69.10. 9000B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.69.11. IMIX-1c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.69.12. IMIX-2c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.69.13. IMIX-4c-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.70. 2n1l-10ge2p1x710-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_10000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${10000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.70.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.70.2. 64B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.70.3. 64B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.70.4. 64B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.70.5. 1518B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.70.6. 1518B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.70.7. 1518B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.70.8. 9000B-1c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.70.9. 9000B-2c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.70.10. 9000B-4c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.70.11. IMIX-1c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.70.12. IMIX-2c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.70.13. IMIX-4c-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.71. 2n1l-10ge2p1x710-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. SPD flow-cache for IPv4 outbound traffic is enabled. DUT1 is tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPD_FLOW_CACHE
| ... | SPE_1000 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${1000}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.71.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Enable SPD flow cache IPv4 Outbound
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.71.2. 64B-1c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.71.3. 64B-2c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.71.4. 64B-4c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.71.5. 1518B-1c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.71.6. 1518B-2c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.71.7. 1518B-4c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.71.8. 9000B-1c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.71.9. 9000B-2c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.71.10. 9000B-4c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.71.11. IMIX-1c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.71.12. IMIX-2c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.71.13. IMIX-4c-ethip4ipsec1000spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.72. 2n1l-10ge2p1x710-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPE_1000 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${1000}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.72.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.72.2. 64B-1c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.72.3. 64B-2c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.72.4. 64B-4c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.72.5. 1518B-1c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.72.6. 1518B-2c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.72.7. 1518B-4c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.72.8. 9000B-1c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.72.9. 9000B-2c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.72.10. 9000B-4c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.72.11. IMIX-1c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.72.12. IMIX-2c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.72.13. IMIX-4c-ethip4ipsec1000spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.73. 2n1l-10ge2p1x710-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_1000
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.73.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.73.2. 64B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.73.3. 64B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.73.4. 64B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.73.5. 1518B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.73.6. 1518B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.73.7. 1518B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.73.8. 9000B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.73.9. 9000B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.73.10. 9000B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.73.11. IMIX-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.73.12. IMIX-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.73.13. IMIX-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.74. 2n1l-10ge2p1x710-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_1000
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.74.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.74.2. 64B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.74.3. 64B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.74.4. 64B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.74.5. 1518B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.74.6. 1518B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.74.7. 1518B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.74.8. 9000B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.74.9. 9000B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.74.10. 9000B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.74.11. IMIX-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.74.12. IMIX-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.74.13. IMIX-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.75. 2n1l-10ge2p1x710-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_1000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.75.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.75.2. 64B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.75.3. 64B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.75.4. 64B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.75.5. 1518B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.75.6. 1518B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.75.7. 1518B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.75.8. 9000B-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.75.9. 9000B-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.75.10. 9000B-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.75.11. IMIX-1c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.75.12. IMIX-2c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.75.13. IMIX-4c-ethip4ipsec1000tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.76. 2n1l-10ge2p1x710-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-X710 | SCALE | TNL_1000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 100.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.76.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.76.2. 64B-1c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.76.3. 64B-2c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.76.4. 64B-4c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.76.5. 1518B-1c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.76.6. 1518B-2c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.76.7. 1518B-4c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.76.8. 9000B-1c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.76.9. 9000B-2c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.76.10. 9000B-4c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.76.11. IMIX-1c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.76.12. IMIX-2c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.76.13. IMIX-4c-ethip4ipsec1000tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.77. 2n1l-10ge2p1x710-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_1000
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.77.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.77.2. 64B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.77.3. 64B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.77.4. 64B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.77.5. 1518B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.77.6. 1518B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.77.7. 1518B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.77.8. 9000B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.77.9. 9000B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.77.10. 9000B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.77.11. IMIX-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.77.12. IMIX-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.77.13. IMIX-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.78. 2n1l-10ge2p1x710-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_1000
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.78.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 128
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.78.2. 64B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.78.3. 64B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.78.4. 64B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.78.5. 1518B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.78.6. 1518B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.78.7. 1518B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.78.8. 9000B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.78.9. 9000B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.78.10. 9000B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.78.11. IMIX-1c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.78.12. IMIX-2c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.78.13. IMIX-4c-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.79. 2n1l-10ge2p1x710-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_1000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.79.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.79.2. 64B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.79.3. 64B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.79.4. 64B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.79.5. 1518B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.79.6. 1518B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.79.7. 1518B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.79.8. 9000B-1c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.79.9. 9000B-2c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.79.10. 9000B-4c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.79.11. IMIX-1c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.79.12. IMIX-2c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.79.13. IMIX-4c-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.80. 2n1l-10ge2p1x710-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | SCALE | TNL_1000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 100.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.80.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.80.2. 64B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.80.3. 64B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.80.4. 64B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.80.5. 1518B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.80.6. 1518B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.80.7. 1518B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.80.8. 9000B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.80.9. 9000B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.80.10. 9000B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.80.11. IMIX-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.80.12. IMIX-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.80.13. IMIX-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.81. 2n1l-10ge2p1x710-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology

with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. SPD flow-cache for IPv4 outbound traffic is enabled. DUT1 is tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPD_FLOW_CACHE
| ... | SPE_100 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${100}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.81.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Enable SPD flow cache IPv4 Outbound
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.81.2. 64B-1c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.81.3. 64B-2c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.81.4. 64B-4c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.81.5. 1518B-1c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.81.6. 1518B-2c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.81.7. 1518B-4c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.81.8. 9000B-1c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.81.9. 9000B-2c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.81.10. 9000B-4c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.81.11. IMIX-1c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.81.12. IMIX-2c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.81.13. IMIX-4c-ethip4ipsec100spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.82. 2n1l-10ge2p1x710-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPE_100 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec100spe-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${100}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.82.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.82.2. 64B-1c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.82.3. 64B-2c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.82.4. 64B-4c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.82.5. 1518B-1c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.82.6. 1518B-2c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.82.7. 1518B-4c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.82.8. 9000B-1c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.82.9. 9000B-2c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.82.10. 9000B-4c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.82.11. IMIX-1c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.82.12. IMIX-2c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.82.13. IMIX-4c-ethip4ipsec100spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.83. 2n1l-10ge2p1x710-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. SPD flow-cache for IPv4 outbound traffic is enabled. DUT1 is tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPD_FLOW_CACHE
| ... | SPE_10 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${10}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.83.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Enable SPD flow cache IPv4 Outbound
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.83.2. 64B-1c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.83.3. 64B-2c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.83.4. 64B-4c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.83.5. 1518B-1c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.83.6. 1518B-2c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.83.7. 1518B-4c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.83.8. 9000B-1c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.83.9. 9000B-2c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.83.10. 9000B-4c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.83.11. IMIX-1c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.83.12. IMIX-2c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.83.13. IMIX-4c-ethip4ipsec10spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.84. 2n1l-10ge2p1x710-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | SCALE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPE_10 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec10spe-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${10}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.84.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.84.2. 64B-1c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.84.3. 64B-2c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.84.4. 64B-4c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.84.5. 1518B-1c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.84.6. 1518B-2c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.84.7. 1518B-4c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.84.8. 9000B-1c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.84.9. 9000B-2c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.84.10. 9000B-4c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.84.11. IMIX-1c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.84.12. IMIX-2c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.84.13. IMIX-4c-ethip4ipsec10spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.85. 2n1l-10ge2p1x710-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. SPD flow-cache for IPv4 outbound traffic is enabled. DUT1 is tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | BASE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPD_FLOW_CACHE
| ... | SPE_1 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${1}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.85.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Enable SPD flow cache IPv4 Outbound
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.85.2. 64B-1c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.85.3. 64B-2c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.85.4. 64B-4c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.85.5. 1518B-1c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.85.6. 1518B-2c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.85.7. 1518B-4c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.85.8. 9000B-1c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.85.9. 9000B-2c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.85.10. 9000B-4c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.85.11. IMIX-1c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.85.12. IMIX-2c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.85.13. IMIX-4c-ethip4ipsec1spe-cache-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.86. 2n1l-10ge2p1x710-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr suite

RFC4301: SPD lookup performance

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 for IPv4 routing.

  • [Cfg] DUT configuration: DUT1 is configured with IPv4 routing, two static IPv4 /24 route entries, one SPD on each outbound interface in each direction and ${rule amount} SPD entry(ies) in each SPD. Only outbound traffic is matched and only the last rule is the matching rule. DUT1 tested with ${nic_name}.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, 253 flows per flow-group) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. The DUT does SPD lookup with only the lowest priority rule matching the traffic. The action of the matching rule is BYPASS. No encryption or authentication is done.

  • [Ref] Applicable standard specifications: RFC4301 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | IP4FWD
| ... | BASE | IPSEC | IPSECSW | IPSECSPD | SPD_OUTBOUND | SPE_1 | NOCRYPTO
| ... | NIC_Intel-X710 | DRV_VFIO_PCI | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1spe-ip4base-policy-outbound-nocrypto
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${0}
| ${remote_addr_range_ip4}= | 20.20.20.0/24
| ${local_addr_range_ip4}= | 10.10.10.0/24
| ${rule_amount}= | ${1}
# Traffic profile
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253

7.2.86.1. Local Template

  • [Cfg] DUT runs IPv4 routing config with IPsec SPD rules. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPv4 forwarding in circular topology
  And VPP IPsec create SPDs match nth entry  ${dut1}  ${DUT1_${int}2}[0]  ${DUT1_${int}1}[0]  ${rule_amount}  ${local_addr_range_ip4}  ${remote_addr_range_ip4}
 Then Find NDR and PDR intervals using optimized search

7.2.86.2. 64B-1c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.86.3. 64B-2c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.86.4. 64B-4c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.86.5. 1518B-1c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.86.6. 1518B-2c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.86.7. 1518B-4c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.86.8. 9000B-1c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.86.9. 9000B-2c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.86.10. 9000B-4c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.86.11. IMIX-1c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.86.12. IMIX-2c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.86.13. IMIX-4c-ethip4ipsec1spe-ip4base-policy-outbound-nocrypto-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.87. 2n1l-10ge2p1x710-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | BASE | TNL_1
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.87.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.87.2. 64B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.87.3. 64B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.87.4. 64B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.87.5. 1518B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.87.6. 1518B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.87.7. 1518B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.87.8. 9000B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.87.9. 9000B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.87.10. 9000B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.87.11. IMIX-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.87.12. IMIX-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.87.13. IMIX-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.88. 2n1l-10ge2p1x710-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR | TNL_1
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | BASE
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.88.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.88.2. 64B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.88.3. 64B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.88.4. 64B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.88.5. 1518B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.88.6. 1518B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.88.7. 1518B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.88.8. 9000B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.88.9. 9000B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.88.10. 9000B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.88.11. IMIX-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.88.12. IMIX-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.88.13. IMIX-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.89. 2n1l-10ge2p1x710-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | BASE | TNL_1
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.89.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.89.2. 64B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.89.3. 64B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.89.4. 64B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.89.5. 1518B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.89.6. 1518B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.89.7. 1518B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.89.8. 9000B-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.89.9. 9000B-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.89.10. 9000B-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.89.11. IMIX-1c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.89.12. IMIX-2c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.89.13. IMIX-4c-ethip4ipsec1tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.90. 2n1l-10ge2p1x710-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-X710 | BASE | TNL_1
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 100.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.90.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.90.2. 64B-1c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.90.3. 64B-2c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.90.4. 64B-4c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.90.5. 1518B-1c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.90.6. 1518B-2c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.90.7. 1518B-4c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.90.8. 9000B-1c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.90.9. 9000B-2c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.90.10. 9000B-4c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.90.11. IMIX-1c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.90.12. IMIX-2c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.90.13. IMIX-4c-ethip4ipsec1tnlhwasync-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.91. 2n1l-10ge2p1x710-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | BASE | TNL_1
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.91.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.91.2. 64B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.91.3. 64B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.91.4. 64B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.91.5. 1518B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.91.6. 1518B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.91.7. 1518B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.91.8. 9000B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.91.9. 9000B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.91.10. 9000B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.91.11. IMIX-1c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.91.12. IMIX-2c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.91.13. IMIX-4c-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.92. 2n1l-10ge2p1x710-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | BASE | TNL_1
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.92.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 128
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.92.2. 64B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.92.3. 64B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.92.4. 64B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.92.5. 1518B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.92.6. 1518B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.92.7. 1518B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.92.8. 9000B-1c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.92.9. 9000B-2c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.92.10. 9000B-4c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.92.11. IMIX-1c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.92.12. IMIX-2c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.92.13. IMIX-4c-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.93. 2n1l-10ge2p1x710-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | BASE | TNL_1
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.93.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.93.2. 64B-1c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.93.3. 64B-2c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.93.4. 64B-4c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.93.5. 1518B-1c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.93.6. 1518B-2c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.93.7. 1518B-4c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.93.8. 9000B-1c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.93.9. 9000B-2c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.93.10. 9000B-4c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.93.11. IMIX-1c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.93.12. IMIX-2c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.93.13. IMIX-4c-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.94. 2n1l-10ge2p1x710-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | BASE | TNL_1
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 100.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.94.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.94.2. 64B-1c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.94.3. 64B-2c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.94.4. 64B-4c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.94.5. 1518B-1c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.94.6. 1518B-2c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.94.7. 1518B-4c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.94.8. 9000B-1c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.94.9. 9000B-2c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.94.10. 9000B-4c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.94.11. IMIX-1c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.94.12. IMIX-2c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.94.13. IMIX-4c-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.95. 2n1l-10ge2p1x710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | BASE
| ... | SCHEDULER | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_1
| ... | ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.95.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.95.2. 64B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.95.3. 64B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.95.4. 64B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.95.5. 1518B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.95.6. 1518B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.95.7. 1518B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.95.8. 9000B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.95.9. 9000B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.95.10. 9000B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.95.11. IMIX-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.95.12. IMIX-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.95.13. IMIX-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.96. 2n1l-10ge2p1x710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | BASE
| ... | SCHEDULER | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_1
| ... | ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.96.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.96.2. 64B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.96.3. 64B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.96.4. 64B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.96.5. 1518B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.96.6. 1518B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.96.7. 1518B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.96.8. 9000B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.96.9. 9000B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.96.10. 9000B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.96.11. IMIX-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.96.12. IMIX-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.96.13. IMIX-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.97. 2n1l-10ge2p1x710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | BASE
| ... | SCHEDULER | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_1
| ... | ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${1}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.97.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.97.2. 64B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.97.3. 64B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.97.4. 64B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.97.5. 1518B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.97.6. 1518B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.97.7. 1518B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.97.8. 9000B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.97.9. 9000B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.97.10. 9000B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.97.11. IMIX-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.97.12. IMIX-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.97.13. IMIX-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.98. 2n1l-10ge2p1x710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_2
| ... | ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${2}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.98.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.98.2. 64B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.98.3. 64B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.98.4. 64B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.98.5. 1518B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.98.6. 1518B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.98.7. 1518B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.98.8. 9000B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.98.9. 9000B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.98.10. 9000B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.98.11. IMIX-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.98.12. IMIX-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.98.13. IMIX-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.99. 2n1l-10ge2p1x710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_2
| ... | ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${2}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.99.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.99.2. 64B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.99.3. 64B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.99.4. 64B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.99.5. 1518B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.99.6. 1518B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.99.7. 1518B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.99.8. 9000B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.99.9. 9000B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.99.10. 9000B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.99.11. IMIX-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.99.12. IMIX-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.99.13. IMIX-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.100. 2n1l-10ge2p1x710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_2
| ... | ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${2}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.100.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.100.2. 64B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.100.3. 64B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.100.4. 64B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.100.5. 1518B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.100.6. 1518B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.100.7. 1518B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.100.8. 9000B-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.100.9. 9000B-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.100.10. 9000B-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.100.11. IMIX-2c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.100.12. IMIX-3c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.100.13. IMIX-4c-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.101. 2n1l-10ge2p1x710-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40000
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.101.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.101.2. 64B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.101.3. 64B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.101.4. 64B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.101.5. 1518B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.101.6. 1518B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.101.7. 1518B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.101.8. 9000B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.101.9. 9000B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.101.10. 9000B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.101.11. IMIX-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.101.12. IMIX-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.101.13. IMIX-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.102. 2n1l-10ge2p1x710-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40000
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.102.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 128
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.102.2. 64B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.102.3. 64B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.102.4. 64B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.102.5. 1518B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.102.6. 1518B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.102.7. 1518B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.102.8. 9000B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.102.9. 9000B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.102.10. 9000B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.102.11. IMIX-1c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.102.12. IMIX-2c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.102.13. IMIX-4c-ethip4ipsec40000tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.103. 2n1l-10ge2p1x710-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40000
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40000}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.103.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.103.2. 64B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.103.3. 64B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.103.4. 64B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.103.5. 1518B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.103.6. 1518B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.103.7. 1518B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.103.8. 9000B-1c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.103.9. 9000B-2c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.103.10. 9000B-4c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.103.11. IMIX-1c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.103.12. IMIX-2c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.103.13. IMIX-4c-ethip4ipsec40000tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.104. 2n1l-10ge2p1x710-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf suite

RFC2544: Packet loss IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds throughput NDR (Non Drop Rate) with zero packet loss tolerance, then measures loss at this load while additional tunnels are configured. Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | RECONF
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | 1_ADDED_TUNNEL | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
| ${n_added_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.104.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure packet loss during reconfig at NDR load.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
${n_total_tunnels} =  Evaluate  ${n_tunnels} + ${n_added_tunnels}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
${unidirectional_throughput} =  Find Throughput Using MLRsearch
Start Traffic on Background  ${unidirectional_throughput}
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_total_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${n_tunnels}
${result}=  Stop Running Traffic
Display Reconfig Test Message  ${result}

7.2.104.2. 64B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${64}  phy_cores=${1}

7.2.104.3. 64B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${64}  phy_cores=${2}

7.2.104.4. 64B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${64}  phy_cores=${4}

7.2.104.5. 1518B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${1518}  phy_cores=${1}

7.2.104.6. 1518B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${1518}  phy_cores=${2}

7.2.104.7. 1518B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${1518}  phy_cores=${4}

7.2.104.8. 9000B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${9000}  phy_cores=${1}

7.2.104.9. 9000B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${9000}  phy_cores=${2}

7.2.104.10. 9000B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=${9000}  phy_cores=${4}

7.2.104.11. IMIX-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.104.12. IMIX-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.104.13. IMIX-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128cbc-hmac512sha-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.105. 2n1l-10ge2p1x710-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf suite

RFC2544: Packet loss IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds throughput NDR (Non Drop Rate) with zero packet loss tolerance, then measures loss at this load while additional tunnels are configured. Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | RECONF
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40
| ... | AES_128_GCM | AES | 1_ADDED_TUNNEL | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
| ${n_added_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.105.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure packet loss during reconfig at NDR load.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
${n_total_tunnels} =  Evaluate  ${n_tunnels} + ${n_added_tunnels}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
${unidirectional_throughput} =  Find Throughput Using MLRsearch
Start Traffic on Background  ${unidirectional_throughput}
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_total_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${n_tunnels}
${result}=  Stop Running Traffic
Display Reconfig Test Message  ${result}

7.2.105.2. 64B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${64}  phy_cores=${1}

7.2.105.3. 64B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${64}  phy_cores=${2}

7.2.105.4. 64B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${64}  phy_cores=${4}

7.2.105.5. 1518B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${1518}  phy_cores=${1}

7.2.105.6. 1518B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${1518}  phy_cores=${2}

7.2.105.7. 1518B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${1518}  phy_cores=${4}

7.2.105.8. 9000B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${9000}  phy_cores=${1}

7.2.105.9. 9000B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${9000}  phy_cores=${2}

7.2.105.10. 9000B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=${9000}  phy_cores=${4}

7.2.105.11. IMIX-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.105.12. IMIX-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.105.13. IMIX-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes128gcm-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.106. 2n1l-10ge2p1x710-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf suite

RFC2544: Packet loss IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds throughput NDR (Non Drop Rate) with zero packet loss tolerance, then measures loss at this load while additional tunnels are configured. Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | RECONF
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40
| ... | AES_256_GCM | AES | 1_ADDED_TUNNEL | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
| ${n_added_tunnels}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.106.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure packet loss during reconfig at NDR load.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
${n_total_tunnels} =  Evaluate  ${n_tunnels} + ${n_added_tunnels}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
${unidirectional_throughput} =  Find Throughput Using MLRsearch
Start Traffic on Background  ${unidirectional_throughput}
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_total_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}  ${n_tunnels}
${result}=  Stop Running Traffic
Display Reconfig Test Message  ${result}

7.2.106.2. 64B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${64}  phy_cores=${1}

7.2.106.3. 64B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${64}  phy_cores=${2}

7.2.106.4. 64B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${64}  phy_cores=${4}

7.2.106.5. 1518B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${1518}  phy_cores=${1}

7.2.106.6. 1518B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${1518}  phy_cores=${2}

7.2.106.7. 1518B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${1518}  phy_cores=${4}

7.2.106.8. 9000B-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${9000}  phy_cores=${1}

7.2.106.9. 9000B-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${9000}  phy_cores=${2}

7.2.106.10. 9000B-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=${9000}  phy_cores=${4}

7.2.106.11. IMIX-1c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.106.12. IMIX-2c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.106.13. IMIX-4c-ethip4ipsec40tnlsw-1atnl-ip4base-int-aes256gcm-udir-reconf


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.107. 2n1l-10ge2p1x710-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.107.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.107.2. 64B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.107.3. 64B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.107.4. 64B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.107.5. 1518B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.107.6. 1518B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.107.7. 1518B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.107.8. 9000B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.107.9. 9000B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.107.10. 9000B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.107.11. IMIX-1c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.107.12. IMIX-2c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.107.13. IMIX-4c-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.108. 2n1l-10ge2p1x710-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.108.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 128
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.108.2. 64B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.108.3. 64B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.108.4. 64B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.108.5. 1518B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.108.6. 1518B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.108.7. 1518B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.108.8. 9000B-1c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.108.9. 9000B-2c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.108.10. 9000B-4c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.108.11. IMIX-1c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.108.12. IMIX-2c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.108.13. IMIX-4c-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.109. 2n1l-10ge2p1x710-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_40
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.109.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.109.2. 64B-1c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.109.3. 64B-2c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.109.4. 64B-4c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.109.5. 1518B-1c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.109.6. 1518B-2c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.109.7. 1518B-4c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.109.8. 9000B-1c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.109.9. 9000B-2c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.109.10. 9000B-4c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.109.11. IMIX-1c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.109.12. IMIX-2c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.109.13. IMIX-4c-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.110. 2n1l-10ge2p1x710-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | SCALE | TNL_40
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 100.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${40}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.110.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.110.2. 64B-1c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.110.3. 64B-2c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.110.4. 64B-4c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.110.5. 1518B-1c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.110.6. 1518B-2c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.110.7. 1518B-4c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.110.8. 9000B-1c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.110.9. 9000B-2c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.110.10. 9000B-4c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.110.11. IMIX-1c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.110.12. IMIX-2c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.110.13. IMIX-4c-ethip4ipsec40tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.111. 2n1l-10ge2p1x710-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_4
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.111.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.111.2. 64B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.111.3. 64B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.111.4. 64B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.111.5. 1518B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.111.6. 1518B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.111.7. 1518B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.111.8. 9000B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.111.9. 9000B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.111.10. 9000B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.111.11. IMIX-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.111.12. IMIX-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.111.13. IMIX-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.112. 2n1l-10ge2p1x710-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_4
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.112.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.112.2. 64B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.112.3. 64B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.112.4. 64B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.112.5. 1518B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.112.6. 1518B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.112.7. 1518B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.112.8. 9000B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.112.9. 9000B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.112.10. 9000B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.112.11. IMIX-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.112.12. IMIX-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.112.13. IMIX-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.113. 2n1l-10ge2p1x710-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECHW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_4
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance | ipsechw
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | HW_DH895xcc
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.113.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
${ipsec_proto}=  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.113.2. 64B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.113.3. 64B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.113.4. 64B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.113.5. 1518B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.113.6. 1518B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.113.7. 1518B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.113.8. 9000B-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.113.9. 9000B-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.113.10. 9000B-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.113.11. IMIX-1c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.113.12. IMIX-2c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.113.13. IMIX-4c-ethip4ipsec4tnlhwasync-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.114. 2n1l-10ge2p1x710-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_4
| ... | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.114.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.114.2. 64B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.114.3. 64B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.114.4. 64B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.114.5. 1518B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.114.6. 1518B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.114.7. 1518B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.114.8. 9000B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.114.9. 9000B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.114.10. 9000B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.114.11. IMIX-1c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.114.12. IMIX-2c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.114.13. IMIX-4c-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.115. 2n1l-10ge2p1x710-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_4
| ... | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.115.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 128
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.115.2. 64B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.115.3. 64B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.115.4. 64B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.115.5. 1518B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.115.6. 1518B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.115.7. 1518B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.115.8. 9000B-1c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.115.9. 9000B-2c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.115.10. 9000B-4c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.115.11. IMIX-1c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.115.12. IMIX-2c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.115.13. IMIX-4c-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.116. 2n1l-10ge2p1x710-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE | TNL_4
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.116.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.116.2. 64B-1c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.116.3. 64B-2c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.116.4. 64B-4c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.116.5. 1518B-1c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.116.6. 1518B-2c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.116.7. 1518B-4c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.116.8. 9000B-1c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.116.9. 9000B-2c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.116.10. 9000B-4c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.116.11. IMIX-1c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.116.12. IMIX-2c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.116.13. IMIX-4c-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.117. 2n1l-10ge2p1x710-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | IPSECTUN | NIC_Intel-X710 | SCALE | TNL_4
| ... | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_all
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 100.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.117.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses ${phy_cores} physical core(s) for worker threads.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${None}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg} =  Crypto Alg AES GCM 256
${auth_alg} =  Set Variable  ${NONE}
${ipsec_proto} =  IPsec Proto ESP
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Add Multiple Tunnels  ${nodes}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.117.2. 64B-1c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${1}

7.2.117.3. 64B-2c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.117.4. 64B-4c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.117.5. 1518B-1c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${1}

7.2.117.6. 1518B-2c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.117.7. 1518B-4c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.117.8. 9000B-1c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${1}

7.2.117.9. 9000B-2c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.117.10. 9000B-4c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.117.11. IMIX-1c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${1}

7.2.117.12. IMIX-2c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.117.13. IMIX-4c-ethip4ipsec4tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.118. 2n1l-10ge2p1x710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_4
| ... | ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.118.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.118.2. 64B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.118.3. 64B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.118.4. 64B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.118.5. 1518B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.118.6. 1518B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.118.7. 1518B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.118.8. 9000B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.118.9. 9000B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.118.10. 9000B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.118.11. IMIX-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.118.12. IMIX-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.118.13. IMIX-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.119. 2n1l-10ge2p1x710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_4
| ... | ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.119.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.119.2. 64B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.119.3. 64B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.119.4. 64B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.119.5. 1518B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.119.6. 1518B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.119.7. 1518B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.119.8. 9000B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.119.9. 9000B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.119.10. 9000B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.119.11. IMIX-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.119.12. IMIX-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.119.13. IMIX-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.120. 2n1l-10ge2p1x710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_4
| ... | ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${4}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.120.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.120.2. 64B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.120.3. 64B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.120.4. 64B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.120.5. 1518B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.120.6. 1518B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.120.7. 1518B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.120.8. 9000B-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.120.9. 9000B-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.120.10. 9000B-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.120.11. IMIX-2c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.120.12. IMIX-3c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.120.13. IMIX-4c-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.121. 2n1l-10ge2p1x710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_CBC | HMAC_SHA_512 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_8
| ... | ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${78}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${8}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.121.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_512 Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES CBC 128
${auth_alg}=  Integ Alg SHA 512 256
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.121.2. 64B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.121.3. 64B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.121.4. 64B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.121.5. 1518B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.121.6. 1518B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.121.7. 1518B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.121.8. 9000B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.121.9. 9000B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.121.10. 9000B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.121.11. IMIX-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.121.12. IMIX-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.121.13. IMIX-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.122. 2n1l-10ge2p1x710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_128_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_8
| ... | ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${8}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.122.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_128_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 128
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.122.2. 64B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.122.3. 64B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.122.4. 64B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.122.5. 1518B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.122.6. 1518B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.122.7. 1518B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.122.8. 9000B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.122.9. 9000B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.122.10. 9000B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.122.11. IMIX-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.122.12. IMIX-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.122.13. IMIX-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}

7.2.123. 2n1l-10ge2p1x710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr suite

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUT1, Eth-IPv4-IPSec on DUT1-TG.

  • [Cfg] DUT configuration: DUT1 is configured with multiple IPsec tunnels between it and TG, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUT gets IPv4 traffic from TG, encrypts it and sends back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library.

Test packets are generated by TG on links to DUTs. TG traffic profile contains one L3 flow-groups (number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to the stream.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | UDIR | PERFTEST | HW_ENV | NDRPDR
| ... | IP4FWD | IPSEC | IPSECSW | ASYNC | IPSECINT | NIC_Intel-X710 | SCALE
| ... | SCHEDULER | AES_256_GCM | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0 | TNL_8
| ... | ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| 
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ... | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so
| ... | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${54}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${tun_if1_ip4}= | 100.0.0.1
| ${tun_if2_ip4}= | 200.0.0.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${8}
| ${dp_cores_count}= | ${1}
# Traffic profile:
| ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir
| ${traffic_directions}= | ${1}

7.2.123.1. Local Template

  • [Cfg] DUT runs IPSec tunneling AES_256_GCM config. Each DUT uses one physical core for data plane workers and rest of ${phy_cores} physical core(s) for crypto workers.

  • [Ver] Measure NDR and PDR values using MLRsearch algorithm.

Arguments: - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). Type: integer, string - phy_cores - Total number of physical cores. Type: integer - rxq - Number of RX queues, default value: ${1}. Type: integer


Set Test Variable  \${frame_size}
${encr_alg}=  Crypto Alg AES GCM 256
${auth_alg}=  Set Variable  ${NONE}
Given Set Max Rate And Jumbo
  And Add worker threads to all DUTs  ${phy_cores}  ${rxq}
  And Pre-initialize layer driver  ${nic_driver}
  And Apply startup configuration on all VPP DUTs
 When Initialize layer driver  ${nic_driver}
  And Initialize layer interface
  And Enable IPSec Async Mode on all VPP DUTs
  And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs
  And Initialize IPSec in 2-node circular topology
  And VPP IPsec Create Tunnel Interfaces  ${nodes}  ${tun_if1_ip4}  ${tun_if2_ip4}  ${DUT1_${int}2}[0]  ${TG_pf2}[0]  ${n_tunnels}  ${encr_alg}  ${auth_alg}  ${laddr_ip4}  ${raddr_ip4}  ${addr_range}
 Then Find NDR and PDR intervals using optimized search

7.2.123.2. 64B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${2}

7.2.123.3. 64B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${3}

7.2.123.4. 64B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${64}  phy_cores=${4}

7.2.123.5. 1518B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${2}

7.2.123.6. 1518B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${3}

7.2.123.7. 1518B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${1518}  phy_cores=${4}

7.2.123.8. 9000B-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${2}

7.2.123.9. 9000B-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${3}

7.2.123.10. 9000B-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=${9000}  phy_cores=${4}

7.2.123.11. IMIX-2c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${2}

7.2.123.12. IMIX-3c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${3}

7.2.123.13. IMIX-4c-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-udir-ndrpdr


frame_size=IMIX_v4_1  phy_cores=${4}