5. DPDK Performance Tests

5.1. 10ge2p1x520-eth-l2xcbase-testpmd-mrr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with2p10GE NIC X520 Niantic by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | MRR | 1NUMA
| ... | NIC_Intel-X520-DA2 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-X520-DA2
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X520-DA2 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.1.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.1.2. tc01-64B-1c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${1}

5.1.3. tc02-64B-2c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${2}

5.1.4. tc03-64B-4c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${4}

5.1.5. tc04-1518B-1c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${1}

5.1.6. tc05-1518B-2c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${2}

5.1.7. tc06-1518B-4c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${4}

5.1.8. tc07-9000B-1c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${1}

5.1.9. tc08-9000B-2c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${2}

5.1.10. tc09-9000B-4c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${4}

5.1.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.1.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.1.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.2. 10ge2p1x520-eth-l2xcbase-testpmd-ndrpdr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with2p10GE NIC X520 Niantic by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDR | 1NUMA
| ... | NIC_Intel-X520-DA2 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-X520-DA2
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X520-DA2 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.2.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.2.2. tc01-64B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${1}

5.2.3. tc02-64B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${2}

5.2.4. tc03-64B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${4}

5.2.5. tc04-1518B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.2.6. tc05-1518B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.2.7. tc06-1518B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.2.8. tc07-9000B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.2.9. tc08-9000B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.2.10. tc09-9000B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.2.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.2.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.2.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.3. 10ge2p1x520-ethip4-ip4base-l3fwd-mrr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | 1NUMA
| ... | NIC_Intel-X520-DA2 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | Intel-X520-DA2
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X520-DA2 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.3.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.3.2. tc01-64B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${1}

5.3.3. tc02-64B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${2}

5.3.4. tc03-64B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${4}

5.3.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${1}

5.3.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${2}

5.3.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${4}

5.3.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${1}

5.3.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${2}

5.3.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${4}

5.3.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.3.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.3.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.4. 10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | 1NUMA
| ... | NIC_Intel-X520-DA2 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | Intel-X520-DA2
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X520-DA2 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.4.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.4.2. tc01-64B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${1}

5.4.3. tc02-64B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${2}

5.4.4. tc03-64B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${4}

5.4.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.4.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.4.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.4.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.4.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.4.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.4.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.4.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.4.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.5. 10ge2p1x710-eth-l2xcbase-testpmd-mrr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with2p10GE NIC X710 by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | MRR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-X710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X710 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.5.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.5.2. tc01-64B-1c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${1}

5.5.3. tc02-64B-2c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${2}

5.5.4. tc03-64B-4c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${4}

5.5.5. tc04-1518B-1c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${1}

5.5.6. tc05-1518B-2c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${2}

5.5.7. tc06-1518B-4c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${4}

5.5.8. tc07-9000B-1c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${1}

5.5.9. tc08-9000B-2c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${2}

5.5.10. tc09-9000B-4c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${4}

5.5.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.5.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.5.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.6. 10ge2p1x710-eth-l2xcbase-testpmd-ndrpdr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with2p10GE NIC X710 by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-X710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X710 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.6.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.6.2. tc01-64B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${1}

5.6.3. tc02-64B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${2}

5.6.4. tc03-64B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${4}

5.6.5. tc04-1518B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.6.6. tc05-1518B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.6.7. tc06-1518B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.6.8. tc07-9000B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.6.9. tc08-9000B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.6.10. tc09-9000B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.6.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.6.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.6.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.7. 10ge2p1x710-ethip4-ip4base-l3fwd-mrr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with 2p10GE NIC X710 Niantic by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | Intel-X710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X710-DA2 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.7.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.7.2. tc01-64B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${1}

5.7.3. tc02-64B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${2}

5.7.4. tc03-64B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${4}

5.7.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${1}

5.7.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${2}

5.7.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${4}

5.7.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${1}

5.7.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${2}

5.7.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${4}

5.7.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.7.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.7.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.8. 10ge2p1x710-ethip4-ip4base-l3fwd-ndrpdr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with 2p10GE NIC X710 Niantic by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | Intel-X710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X710-DA2 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.8.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.8.2. tc01-64B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${1}

5.8.3. tc02-64B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${2}

5.8.4. tc03-64B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${4}

5.8.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.8.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.8.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.8.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.8.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.8.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.8.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.8.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.8.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.9. 25ge2p1xxv710-eth-l2xcbase-testpmd-mrr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with2p25GE NIC XXV710 by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | MRR | 1NUMA
| ... | NIC_Intel-XXV710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-XXV710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XXV10-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XXV710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.9.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.9.2. tc01-64B-1c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${1}

5.9.3. tc02-64B-2c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${2}

5.9.4. tc03-64B-4c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${4}

5.9.5. tc04-1518B-1c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${1}

5.9.6. tc05-1518B-2c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${2}

5.9.7. tc06-1518B-4c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${4}

5.9.8. tc07-9000B-1c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${1}

5.9.9. tc08-9000B-2c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${2}

5.9.10. tc09-9000B-4c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${4}

5.9.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.9.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.9.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.10. 25ge2p1xxv710-eth-l2xcbase-testpmd-ndrpdr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with2p25GE NIC XXV710 by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDR | 1NUMA
| ... | NIC_Intel-XXV710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-XXV710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XXV10-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XXV710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.10.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.10.2. tc01-64B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${1}

5.10.3. tc02-64B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${2}

5.10.4. tc03-64B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${4}

5.10.5. tc04-1518B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.10.6. tc05-1518B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.10.7. tc06-1518B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.10.8. tc07-9000B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.10.9. tc08-9000B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.10.10. tc09-9000B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.10.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.10.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.10.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.11. 25ge2p1xxv710-ethip4-ip4base-l3fwd-mrr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with 2p25GE NIC XXV710 by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | 1NUMA
| ... | NIC_Intel-XXV710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | Intel-XXV710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XXV710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XXV710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.11.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.11.2. tc01-64B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${1}

5.11.3. tc02-64B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${2}

5.11.4. tc03-64B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${4}

5.11.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${1}

5.11.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${2}

5.11.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${4}

5.11.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${1}

5.11.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${2}

5.11.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${4}

5.11.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.11.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.11.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.12. 25ge2p1xxv710-ethip4-ip4base-l3fwd-ndrpdr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with 2p25GE NIC XXV710 by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | 1NUMA
| ... | NIC_Intel-XXV710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | Intel-XXV710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XXV710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XXV710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.12.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.12.2. tc01-64B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${1}

5.12.3. tc02-64B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${2}

5.12.4. tc03-64B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${4}

5.12.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.12.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.12.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.12.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.12.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.12.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.12.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.12.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.12.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.13. 2n1l-10ge2p1x710-eth-l2xcbase-testpmd-mrr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-TG 2-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 tested with2p10GE NIC X710 by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | MRR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L2 | Intel-X710
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X710 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.13.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.13.2. tc01-64B-1c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${1}

5.13.3. tc02-64B-2c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${2}

5.13.4. tc03-64B-4c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${4}

5.13.5. tc04-1518B-1c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${1}

5.13.6. tc05-1518B-2c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${2}

5.13.7. tc06-1518B-4c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${4}

5.13.8. tc07-9000B-1c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${1}

5.13.9. tc08-9000B-2c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${2}

5.13.10. tc09-9000B-4c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${4}

5.13.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.13.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.13.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.14. 2n1l-10ge2p1x710-eth-l2xcbase-testpmd-ndrpdr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-TG 2-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 tested with2p10GE NIC X710 by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L2 | Intel-X710
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X710 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.14.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.14.2. tc01-64B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${1}

5.14.3. tc02-64B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${2}

5.14.4. tc03-64B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${4}

5.14.5. tc04-1518B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.14.6. tc05-1518B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.14.7. tc06-1518B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.14.8. tc07-9000B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.14.9. tc08-9000B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.14.10. tc09-9000B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.14.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.14.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.14.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.15. 2n1l-10ge2p1x710-ethip4-ip4base-l3fwd-mrr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 2-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 run the DPDK l3fwd applicationDUT1 tested with 2p10GE NIC X710 Niantic by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L3 | Intel-X710
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X710-DA2 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.15.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.15.2. tc01-64B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${1}

5.15.3. tc02-64B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${2}

5.15.4. tc03-64B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${4}

5.15.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${1}

5.15.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${2}

5.15.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${4}

5.15.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${1}

5.15.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${2}

5.15.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${4}

5.15.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.15.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.15.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.16. 2n1l-10ge2p1x710-ethip4-ip4base-l3fwd-ndrpdr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 run the DPDK l3fwd applicationDUT1 tested with 2p10GE NIC X710 Niantic by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | 1NUMA
| ... | NIC_Intel-X710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L3 | Intel-X710
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# X710-DA2 bandwidth limit
| ${s_limit}= | ${10000000000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.16.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_limit}  ${framesize}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.16.2. tc01-64B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${1}

5.16.3. tc02-64B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${2}

5.16.4. tc03-64B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${4}

5.16.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.16.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.16.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.16.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.16.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.16.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.16.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.16.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.16.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.17. 2n1l-25ge2p1xxv710-eth-l2xcbase-testpmd-mrr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-TG 2-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 tested with2p25GE NIC XXV710 by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | MRR | 1NUMA
| ... | NIC_Intel-XXV710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L2 | Intel-XXV710
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XXV10-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XXV710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.17.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.17.2. tc01-64B-1c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${1}

5.17.3. tc02-64B-2c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${2}

5.17.4. tc03-64B-4c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${4}

5.17.5. tc04-1518B-1c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${1}

5.17.6. tc05-1518B-2c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${2}

5.17.7. tc06-1518B-4c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${4}

5.17.8. tc07-9000B-1c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${1}

5.17.9. tc08-9000B-2c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${2}

5.17.10. tc09-9000B-4c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${4}

5.17.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.17.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.17.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.18. 2n1l-25ge2p1xxv710-eth-l2xcbase-testpmd-ndrpdr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-TG 2-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 tested with2p25GE NIC XXV710 by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDR | 1NUMA
| ... | NIC_Intel-XXV710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L2 | Intel-XXV710
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XXV10-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XXV710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.18.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.18.2. tc01-64B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${1}

5.18.3. tc02-64B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${2}

5.18.4. tc03-64B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${4}

5.18.5. tc04-1518B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.18.6. tc05-1518B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.18.7. tc06-1518B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.18.8. tc07-9000B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.18.9. tc08-9000B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.18.10. tc09-9000B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.18.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.18.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.18.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.19. 2n1l-25ge2p1xxv710-ethip4-ip4base-l3fwd-mrr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-TG 2-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 run the DPDK l3fwd applicationDUT1 tested with 2p25GE NIC XXV710 by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | 1NUMA
| ... | NIC_Intel-XXV710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L3 | Intel-XXV710
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XXV710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XXV710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.19.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.19.2. tc01-64B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${1}

5.19.3. tc02-64B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${2}

5.19.4. tc03-64B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${4}

5.19.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${1}

5.19.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${2}

5.19.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${4}

5.19.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${1}

5.19.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${2}

5.19.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${4}

5.19.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.19.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.19.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.20. 2n1l-25ge2p1xxv710-ethip4-ip4base-l3fwd-ndrpdr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-TG 2-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 run the DPDK l3fwd applicationDUT1 tested with 2p25GE NIC XXV710 by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | 1NUMA
| ... | NIC_Intel-XXV710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 2-node performance topology with DUT's NIC model
| ... | L3 | Intel-XXV710
| Suite Teardown | Tear down DPDK 2-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XXV710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XXV710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.20.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.20.2. tc01-64B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${1}

5.20.3. tc02-64B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${2}

5.20.4. tc03-64B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${4}

5.20.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.20.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.20.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.20.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.20.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.20.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.20.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.20.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.20.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.21. 40ge2p1xl710-eth-l2xcbase-testpmd-mrr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with2p40GE NIC XL710 by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 254 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | MRR | 1NUMA
| ... | NIC_Intel-XL710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-XL710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.21.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.21.2. tc01-64B-1c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${1}

5.21.3. tc02-64B-2c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${2}

5.21.4. tc03-64B-4c-eth-l2xcbase-testpmd-mrr


framesize=${64}  phy_cores=${4}

5.21.5. tc04-1518B-1c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${1}

5.21.6. tc05-1518B-2c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${2}

5.21.7. tc06-1518B-4c-eth-l2xcbase-testpmd-mrr


framesize=${1518}  phy_cores=${4}

5.21.8. tc07-9000B-1c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${1}

5.21.9. tc08-9000B-2c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${2}

5.21.10. tc09-9000B-4c-eth-l2xcbase-testpmd-mrr


framesize=${9000}  phy_cores=${4}

5.21.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.21.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.21.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.22. 40ge2p1xl710-eth-l2xcbase-testpmd-ndrpdr suite

Raw results L2 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L2 frame forwarding. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK testpmdapplication and use the io forwarding mode. DUT1 and DUT2 tested with2p40GE NIC XL710 by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | HW_ENV | PERFTEST | NDRPDR | 1NUMA
| ... | NIC_Intel-XL710 | DPDK | ETH | L2XCFWD | BASE
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-XL710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254

5.22.1. Local Template

[Cfg] DUT runs L2 frame forwarding config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L2FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.22.2. tc01-64B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${1}

5.22.3. tc02-64B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${2}

5.22.4. tc03-64B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${64}  phy_cores=${4}

5.22.5. tc04-1518B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.22.6. tc05-1518B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.22.7. tc06-1518B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.22.8. tc07-9000B-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.22.9. tc08-9000B-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.22.10. tc09-9000B-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.22.11. tc10-IMIX-1c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.22.12. tc11-IMIX-2c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.22.13. tc12-IMIX-4c-eth-l2xcbase-testpmd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}

5.23. 40ge2p1xl710-ethip4-ip4base-l3fwd-mrr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with 2p40GE NIC XL710 by Intel. [Ver] TG verification: In MaxReceivedRate test TG sends trafficat line rate and reports total received/sent packets over trial period.Test packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) with all packetscontaining Ethernet header, IPv4 header with IP protocol=61 and staticpayload. MAC addresses are matching MAC addresses of the TG nodeinterfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR | 1NUMA
| ... | NIC_Intel-XL710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | Intel-XL710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.23.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure MaxReceivedRate for ${framesize} frames using singletrial throughput test.


${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Traffic should pass with maximum rate  ${max_rate}pps  ${framesize}  ${traffic_profile}

5.23.2. tc01-64B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${1}

5.23.3. tc02-64B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${2}

5.23.4. tc03-64B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${64}  phy_cores=${4}

5.23.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${1}

5.23.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${2}

5.23.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${1518}  phy_cores=${4}

5.23.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${1}

5.23.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${2}

5.23.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-mrr


framesize=${9000}  phy_cores=${4}

5.23.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${1}

5.23.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${2}

5.23.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-mrr


framesize=IMIX_v4_1  phy_cores=${4}

5.24. 40ge2p1xl710-ethip4-ip4base-l3fwd-ndrpdr suite

Raw results IPv4 routing test cases [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topologywith single links between nodes. [Enc] Packet Encapsulations: Eth-IPv4 for L3 IPv4 routing. [Cfg] DUT configuration: DUT1 and DUT2 run the DPDK l3fwd applicationDUT1 and DUT2 tested with 2p40GE NIC XL710 by Intel. [Ver] TG verification: TG finds and reports throughput NDR (Non DropRate) with zero packet loss tolerance or throughput PDR (Partial DropRate) with non-zero packet loss tolerance (LT) expressed in percentageof packets transmitted. NDR and PDR are discovered for differentEthernet L2 frame sizes using MLRsearch libraryTest packets are generated by TG onlinks to DUTs. TG traffic profile contains two L3 flow-groups(flow-group per direction, 253 flows per flow-group) withall packets containing Ethernet header,IPv4 header with static payload.MAC addresses are matching MAC addresses of the TG node interfaces.

# Copyright (c) 2018 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:
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

*** Settings ***
| Resource | resources/libraries/robot/performance/performance_setup.robot
| Resource | resources/libraries/robot/dpdk/default.robot
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.InterfaceUtil
| Library | resources.libraries.python.DPDK.DPDKTools
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | 1NUMA
| ... | NIC_Intel-XL710 | DPDK | IP4FWD | BASE | ETH
| ...
| Suite Setup | Set up DPDK 3-node performance topology with DUT's NIC model
| ... | L3 | Intel-XL710
| Suite Teardown | Tear down DPDK 3-node performance topology
| ...
| Test Template | Local Template
| ...
| 
*** Variables ***
# XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
| ${s_24.5G}= | ${24500000000}
# XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
| ${s_18.75Mpps}= | ${18750000}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4-ip4dst253_l3fwd

5.24.1. Local Template

[Cfg] DUT runs L3 IPv4 routing config.Each DUT uses ${phy_cores} physical core(s) for worker threads. [Ver] Measure NDR and PDR values using MLRsearch algorithm.


Set Test Variable  ${framesize}
Set Test Variable  ${min_rate}  ${10000}
${max_rate}  ${jumbo} =  Get Max Rate And Jumbo  ${s_24.5G}  ${framesize}  pps_limit=${s_18.75Mpps}
Given Start L3FWD on all DUTs  ${phy_cores}  ${rxq}  ${jumbo}
 Then Find NDR and PDR intervals using optimized search  ${framesize}  ${traffic_profile}  ${min_rate}  ${max_rate}

5.24.2. tc01-64B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${1}

5.24.3. tc02-64B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${2}

5.24.4. tc03-64B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${64}  phy_cores=${4}

5.24.5. tc04-1518B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${1}

5.24.6. tc05-1518B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${2}

5.24.7. tc06-1518B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${1518}  phy_cores=${4}

5.24.8. tc07-9000B-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${1}

5.24.9. tc08-9000B-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${2}

5.24.10. tc09-9000B-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=${9000}  phy_cores=${4}

5.24.11. tc10-IMIX-1c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${1}

5.24.12. tc11-IMIX-2c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${2}

5.24.13. tc12-IMIX-4c-ethip4-ip4base-l3fwd-ndrpdr


framesize=IMIX_v4_1  phy_cores=${4}