diff options
Diffstat (limited to 'tests/vpp/perf/gso')
-rw-r--r-- | tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-gso-iperf3-mrr.robot (renamed from tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-gso-iperf3.robot) | 43 | ||||
-rw-r--r-- | tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-iperf3-mrr.robot (renamed from tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-iperf3.robot) | 43 | ||||
-rw-r--r-- | tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-gso-iperf3-mrr.robot (renamed from tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-gso-iperf3.robot) | 43 | ||||
-rw-r--r-- | tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-iperf3-mrr.robot (renamed from tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-iperf3.robot) | 43 | ||||
-rwxr-xr-x | tests/vpp/perf/gso/regenerate_testcases.py | 2 |
5 files changed, 97 insertions, 77 deletions
diff --git a/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-gso-iperf3.robot b/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-gso-iperf3-mrr.robot index 91141ce1fa..862ac91203 100644 --- a/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-gso-iperf3.robot +++ b/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-gso-iperf3-mrr.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -17,26 +17,31 @@ | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | ... | NIC_Intel-X710 | IP4FWD | BASE | IP4BASE | DRV_TAP | ... | RXQ_SIZE_4096 | TXQ_SIZE_4096 | GSO_TRUE -| ... | ethip4-ip4base-2tap-gso +| ... | ethip4-ip4base-2tap-gso-iperf3 | -| Suite Setup | Setup suite topology interfaces +| Suite Setup | Setup suite topology interfaces | iPerf3 | Suite Teardown | Tear down suite | Test Setup | Setup test | Test Teardown | Tear down test | iPerf3 | namespace | | Test Template | Local Template | -| Documentation | *RFC2544: Pkt throughput IPv4 routing test cases with TAPv2* -| -| ... | *[Top] Network Topologies:* DUT1 1-node topology without physical links. -| ... | *[Enc] Packet Encapsulations:* Eth-IPv4-TCP. -| ... | *[Cfg] DUT configuration:* DUT1 is configured with IPv4 routing. -| ... | *[Ver] TG verification:* iPerf3 client/server is used for Packet\ +| Documentation | **RFC2544: Pkt throughput IPv4 routing test cases with TAPv2** +| ... | +| ... | - **[Top] Network Topologies:** DUT1 1-node topology without physical \ +| ... | links. +| ... | +| ... | - **[Enc] Packet Encapsulations:** Eth-IPv4-TCP. +| ... | +| ... | - **[Cfg] DUT configuration:** DUT1 is configured with IPv4 routing. +| ... | +| ... | - **[Ver] TG verification:** iPerf3 client/server is used for Packet \ | ... | generation and verification. -| ... | *[Ref] Applicable standard specifications:* RFC2544. +| ... | +| ... | - **[Ref] Applicable standard specifications:** RFC2544. *** Variables *** -| @{plugins_to_enable}= | ping_plugin.so +| @{plugins_to_enable}= | ping_plugin.so | perfmon_plugin.so | ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 | ${nic_driver}= | tap @@ -47,6 +52,7 @@ | ${osi_layer}= | L7 | ${overhead}= | ${0} | ${enable_gso}= | ${True} +| ${smt_used}= | ${False} # iPerf3 client settings: | ${iperf_client_bind}= | 1.1.1.1 | ${iperf_client_bind_gw}= | 1.1.1.2 @@ -66,14 +72,14 @@ | ${iperf_server_pf_key}= | ${None} # Trial data overwrite: | ${trial_duration}= | ${30} -| ${trial_multiplicity}= | ${4} +| ${trial_multiplicity}= | ${10} *** Keywords *** | Local Template | | [Documentation] -| | ... | [Cfg] DUT configuration: DUT1 is configured with IPv4 routing. -| | ... | [Ver] Measure MaxReceivedRate for ${frame_size}B frames\ -| | ... | using burst trials throughput test.\ +| | ... | - **[Cfg]** DUT configuration: DUT1 is configured with IPv4 routing. +| | ... | - **[Ver]** Measure MaxReceivedRate for ${frame_size}B frames \ +| | ... | using burst trials throughput test. | | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer. Type: integer, string @@ -83,7 +89,6 @@ | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} | | | | Set Test Variable | \${frame_size} -| | Set Test Variable | \${rxq_ratio} | ${1} | | | | Given Set Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} @@ -99,14 +104,14 @@ | | Then Traffic should pass with maximum rate on iPerf3 *** Test Cases *** -| 128KB-1c-ethip4-ip4base-2tap-gso-iperf3 +| 128KB-1c-ethip4-ip4base-2tap-gso-iperf3-mrr | | [Tags] | 128KB | 1C | | frame_size=${128000} | phy_cores=${1} -| 128KB-2c-ethip4-ip4base-2tap-gso-iperf3 +| 128KB-2c-ethip4-ip4base-2tap-gso-iperf3-mrr | | [Tags] | 128KB | 2C | | frame_size=${128000} | phy_cores=${2} -| 128KB-4c-ethip4-ip4base-2tap-gso-iperf3 +| 128KB-4c-ethip4-ip4base-2tap-gso-iperf3-mrr | | [Tags] | 128KB | 4C | | frame_size=${128000} | phy_cores=${4} diff --git a/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-iperf3.robot b/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-iperf3-mrr.robot index 31ece186ec..c093208afb 100644 --- a/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-iperf3.robot +++ b/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2tap-iperf3-mrr.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -17,26 +17,31 @@ | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | ... | NIC_Intel-X710 | IP4FWD | BASE | IP4BASE | DRV_TAP | ... | RXQ_SIZE_4096 | TXQ_SIZE_4096 | GSO_FALSE -| ... | ethip4-ip4base-2tap +| ... | ethip4-ip4base-2tap-iperf3 | -| Suite Setup | Setup suite topology interfaces +| Suite Setup | Setup suite topology interfaces | iPerf3 | Suite Teardown | Tear down suite | Test Setup | Setup test | Test Teardown | Tear down test | iPerf3 | namespace | | Test Template | Local Template | -| Documentation | *RFC2544: Pkt throughput IPv4 routing test cases with TAPv2* -| -| ... | *[Top] Network Topologies:* DUT1 1-node topology without physical links. -| ... | *[Enc] Packet Encapsulations:* Eth-IPv4-TCP. -| ... | *[Cfg] DUT configuration:* DUT1 is configured with IPv4 routing. -| ... | *[Ver] TG verification:* iPerf3 client/server is used for Packet\ +| Documentation | **RFC2544: Pkt throughput IPv4 routing test cases with TAPv2** +| ... | +| ... | - **[Top] Network Topologies:** DUT1 1-node topology without physical \ +| ... | links. +| ... | +| ... | - **[Enc] Packet Encapsulations:** Eth-IPv4-TCP. +| ... | +| ... | - **[Cfg] DUT configuration:** DUT1 is configured with IPv4 routing. +| ... | +| ... | - **[Ver] TG verification:** iPerf3 client/server is used for Packet \ | ... | generation and verification. -| ... | *[Ref] Applicable standard specifications:* RFC2544. +| ... | +| ... | - **[Ref] Applicable standard specifications:** RFC2544. *** Variables *** -| @{plugins_to_enable}= | ping_plugin.so +| @{plugins_to_enable}= | ping_plugin.so | perfmon_plugin.so | ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 | ${nic_driver}= | tap @@ -47,6 +52,7 @@ | ${osi_layer}= | L7 | ${overhead}= | ${0} | ${enable_gso}= | ${False} +| ${smt_used}= | ${False} # iPerf3 client settings: | ${iperf_client_bind}= | 1.1.1.1 | ${iperf_client_bind_gw}= | 1.1.1.2 @@ -66,14 +72,14 @@ | ${iperf_server_pf_key}= | ${None} # Trial data overwrite: | ${trial_duration}= | ${30} -| ${trial_multiplicity}= | ${4} +| ${trial_multiplicity}= | ${10} *** Keywords *** | Local Template | | [Documentation] -| | ... | [Cfg] DUT configuration: DUT1 is configured with IPv4 routing. -| | ... | [Ver] Measure MaxReceivedRate for ${frame_size}B frames\ -| | ... | using burst trials throughput test.\ +| | ... | - **[Cfg]** DUT configuration: DUT1 is configured with IPv4 routing. +| | ... | - **[Ver]** Measure MaxReceivedRate for ${frame_size}B frames \ +| | ... | using burst trials throughput test. | | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer. Type: integer, string @@ -83,7 +89,6 @@ | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} | | | | Set Test Variable | \${frame_size} -| | Set Test Variable | \${rxq_ratio} | ${1} | | | | Given Set Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} @@ -99,14 +104,14 @@ | | Then Traffic should pass with maximum rate on iPerf3 *** Test Cases *** -| 128KB-1c-ethip4-ip4base-2tap-iperf3 +| 128KB-1c-ethip4-ip4base-2tap-iperf3-mrr | | [Tags] | 128KB | 1C | | frame_size=${128000} | phy_cores=${1} -| 128KB-2c-ethip4-ip4base-2tap-iperf3 +| 128KB-2c-ethip4-ip4base-2tap-iperf3-mrr | | [Tags] | 128KB | 2C | | frame_size=${128000} | phy_cores=${2} -| 128KB-4c-ethip4-ip4base-2tap-iperf3 +| 128KB-4c-ethip4-ip4base-2tap-iperf3-mrr | | [Tags] | 128KB | 4C | | frame_size=${128000} | phy_cores=${4} diff --git a/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-gso-iperf3.robot b/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-gso-iperf3-mrr.robot index 849504050d..c5c2e494f5 100644 --- a/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-gso-iperf3.robot +++ b/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-gso-iperf3-mrr.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -17,26 +17,31 @@ | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | ... | NIC_Intel-X710 | IP4FWD | BASE | IP4BASE | DRV_VHOST | ... | RXQ_SIZE_4096 | TXQ_SIZE_4096 | GSO_TRUE -| ... | ethip4-ip4base-2vhost-gso +| ... | ethip4-ip4base-2vhost-gso-iperf3 | -| Suite Setup | Setup suite topology interfaces +| Suite Setup | Setup suite topology interfaces | iPerf3 | Suite Teardown | Tear down suite | Test Setup | Setup test | Test Teardown | Tear down test | iPerf3 | vhost | | Test Template | Local Template | -| Documentation | *RFC2544: Pkt throughput IPv4 routing test cases with VHOST* -| -| ... | *[Top] Network Topologies:* DUT1 1-node topology without physical links. -| ... | *[Enc] Packet Encapsulations:* Eth-IPv4-TCP. -| ... | *[Cfg] DUT configuration:* DUT1 is configured with IPv4 routing. -| ... | *[Ver] TG verification:* iPerf3 client/server is used for Packet\ +| Documentation | **RFC2544: Pkt throughput IPv4 routing test cases with VHOST** +| ... | +| ... | - **[Top] Network Topologies:** DUT1 1-node topology without physical \ +| ... | links. +| ... | +| ... | - **[Enc] Packet Encapsulations:** Eth-IPv4-TCP. +| ... | +| ... | - **[Cfg] DUT configuration:** DUT1 is configured with IPv4 routing. +| ... | +| ... | - **[Ver] TG verification:** iPerf3 client/server is used for Packet \ | ... | generation and verification. -| ... | *[Ref] Applicable standard specifications:* RFC2544. +| ... | +| ... | - **[Ref] Applicable standard specifications:** RFC2544. *** Variables *** -| @{plugins_to_enable}= | ping_plugin.so +| @{plugins_to_enable}= | ping_plugin.so | perfmon_plugin.so | vhost_plugin.so | ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 | ${nic_driver}= | vhost @@ -46,6 +51,7 @@ | ${nic_vfs}= | 0 | ${osi_layer}= | L7 | ${overhead}= | ${0} +| ${smt_used}= | ${False} # Qemu settings: | ${enable_gso}= | ${True} | ${enable_csum}= | ${True} @@ -70,14 +76,14 @@ | ${iperf_server_pf_key}= | ${None} # Trial data overwrite: | ${trial_duration}= | ${30} -| ${trial_multiplicity}= | ${4} +| ${trial_multiplicity}= | ${10} *** Keywords *** | Local Template | | [Documentation] -| | ... | [Cfg] DUT configuration: DUT1 is configured with IPv4 routing. -| | ... | [Ver] Measure MaxReceivedRate for ${frame_size}B frames\ -| | ... | using burst trials throughput test.\ +| | ... | - **[Cfg]** DUT configuration: DUT1 is configured with IPv4 routing. +| | ... | - **[Ver]** Measure MaxReceivedRate for ${frame_size}B frames \ +| | ... | using burst trials throughput test. | | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer. Type: integer, string @@ -87,7 +93,6 @@ | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} | | | | Set Test Variable | \${frame_size} -| | Set Test Variable | \${rxq_ratio} | ${1} | | | | Given Set Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} @@ -108,14 +113,14 @@ | | Traffic should pass with maximum rate on iPerf3 *** Test Cases *** -| 128KB-1c-ethip4-ip4base-2vhost-gso-iperf3 +| 128KB-1c-ethip4-ip4base-2vhost-gso-iperf3-mrr | | [Tags] | 128KB | 1C | | frame_size=${128000} | phy_cores=${1} -| 128KB-2c-ethip4-ip4base-2vhost-gso-iperf3 +| 128KB-2c-ethip4-ip4base-2vhost-gso-iperf3-mrr | | [Tags] | 128KB | 2C | | frame_size=${128000} | phy_cores=${2} -| 128KB-4c-ethip4-ip4base-2vhost-gso-iperf3 +| 128KB-4c-ethip4-ip4base-2vhost-gso-iperf3-mrr | | [Tags] | 128KB | 4C | | frame_size=${128000} | phy_cores=${4} diff --git a/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-iperf3.robot b/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-iperf3-mrr.robot index c31097eb7c..f5d6db5b1a 100644 --- a/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-iperf3.robot +++ b/tests/vpp/perf/gso/2n1l-10ge2p1x710-ethip4-ip4base-2vhost-iperf3-mrr.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -17,26 +17,31 @@ | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | ... | NIC_Intel-X710 | IP4FWD | BASE | IP4BASE | DRV_VHOST | ... | RXQ_SIZE_1024 | TXQ_SIZE_1024 | GSO_TRUE -| ... | ethip4-ip4base-2vhost-gso +| ... | ethip4-ip4base-2vhost-iperf3 | -| Suite Setup | Setup suite topology interfaces +| Suite Setup | Setup suite topology interfaces | iPerf3 | Suite Teardown | Tear down suite | Test Setup | Setup test | Test Teardown | Tear down test | iPerf3 | vhost | | Test Template | Local Template | -| Documentation | *RFC2544: Pkt throughput IPv4 routing test cases with VHOST* -| -| ... | *[Top] Network Topologies:* DUT1 1-node topology without physical links. -| ... | *[Enc] Packet Encapsulations:* Eth-IPv4-TCP. -| ... | *[Cfg] DUT configuration:* DUT1 is configured with IPv4 routing. -| ... | *[Ver] TG verification:* iPerf3 client/server is used for Packet\ +| Documentation | **RFC2544: Pkt throughput IPv4 routing test cases with VHOST** +| ... | +| ... | - **[Top] Network Topologies:** DUT1 1-node topology without physical \ +| ... | links. +| ... | +| ... | - **[Enc] Packet Encapsulations:** Eth-IPv4-TCP. +| ... | +| ... | - **[Cfg] DUT configuration:** DUT1 is configured with IPv4 routing. +| ... | +| ... | - **[Ver] TG verification:** iPerf3 client/server is used for Packet \ | ... | generation and verification. -| ... | *[Ref] Applicable standard specifications:* RFC2544. +| ... | +| ... | - **[Ref] Applicable standard specifications:** RFC2544. *** Variables *** -| @{plugins_to_enable}= | ping_plugin.so +| @{plugins_to_enable}= | ping_plugin.so | perfmon_plugin.so | vhost_plugin.so | ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 | ${nic_driver}= | vhost @@ -46,6 +51,7 @@ | ${nic_vfs}= | 0 | ${osi_layer}= | L7 | ${overhead}= | ${0} +| ${smt_used}= | ${False} # Qemu settings: | ${enable_gso}= | ${False} | ${enable_csum}= | ${False} @@ -70,14 +76,14 @@ | ${iperf_server_pf_key}= | ${None} # Trial data overwrite: | ${trial_duration}= | ${30} -| ${trial_multiplicity}= | ${4} +| ${trial_multiplicity}= | ${10} *** Keywords *** | Local Template | | [Documentation] -| | ... | [Cfg] DUT configuration: DUT1 is configured with IPv4 routing. -| | ... | [Ver] Measure MaxReceivedRate for ${frame_size}B frames\ -| | ... | using burst trials throughput test.\ +| | ... | - **[Cfg]** DUT configuration: DUT1 is configured with IPv4 routing. +| | ... | - **[Ver]** Measure MaxReceivedRate for ${frame_size}B frames \ +| | ... | using burst trials throughput test. | | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer. Type: integer, string @@ -87,7 +93,6 @@ | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} | | | | Set Test Variable | \${frame_size} -| | Set Test Variable | \${rxq_ratio} | ${1} | | | | Given Set Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} @@ -108,14 +113,14 @@ | | Traffic should pass with maximum rate on iPerf3 *** Test Cases *** -| 128KB-1c-ethip4-ip4base-2vhost-iperf3 +| 128KB-1c-ethip4-ip4base-2vhost-iperf3-mrr | | [Tags] | 128KB | 1C | | frame_size=${128000} | phy_cores=${1} -| 128KB-2c-ethip4-ip4base-2vhost-iperf3 +| 128KB-2c-ethip4-ip4base-2vhost-iperf3-mrr | | [Tags] | 128KB | 2C | | frame_size=${128000} | phy_cores=${2} -| 128KB-4c-ethip4-ip4base-2vhost-iperf3 +| 128KB-4c-ethip4-ip4base-2vhost-iperf3-mrr | | [Tags] | 128KB | 4C | | frame_size=${128000} | phy_cores=${4} diff --git a/tests/vpp/perf/gso/regenerate_testcases.py b/tests/vpp/perf/gso/regenerate_testcases.py index 87521e662d..e22f6de5c3 100755 --- a/tests/vpp/perf/gso/regenerate_testcases.py +++ b/tests/vpp/perf/gso/regenerate_testcases.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: |