1 # Copyright (c) 2022 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
15 | Resource | resources/libraries/robot/shared/default.robot
17 | Force Tags | 1_NODE_SINGLE_LINK_TOPO | 2_NODE_SINGLE_LINK_TOPO
18 | ... | 3_NODE_SINGLE_LINK_TOPO
19 | ... | PERFTEST | HW_ENV | NDRPDR | NIC_Intel-X710 | TREX | ETH | IP4FWD
20 | ... | IP4BASE | N2N | TCP | TCP_PPS | TG_DRV_IGB_UIO | SCALE | HOSTS_1024
21 | ... | ethip4tcp-ip4base-h1024-p63-s64512-pps-tg
23 | Suite Setup | Setup suite topology interfaces with no DUT | performance_tg_nic
24 | Suite Teardown | Tear down suite | performance
25 | Test Setup | Start Test Export
26 | Test Teardown | Tear down test raw | performance
28 | Test Template | Local Template
30 | # TODO CSIT-1765: Unify suite Documentation.
31 | Documentation | **PPS on lightweight TCP transactions with L1 cross connect**
33 | ... | - **[Top] Network Topologies:** TG-TG 1-node circular topology \
34 | ... | with single links between nodes.
36 | ... | - **[Enc] Packet Encapsulations:** Eth-IPv4 for L1 cross connect patch.
38 | ... | - **[Ver] TG verification:** TG finds and reports throughput NDR (Non \
39 | ... | Drop Rate) with zero packet loss tolerance and throughput PDR \
40 | ... | (Partial Drop Rate) with non-zero packet loss tolerance (LT) \
41 | ... | expressed in percentage of packets transmitted. NDR and PDR are \
42 | ... | discovered for different Ethernet L2 frame sizes using MLRsearch \
44 | ... | Test packets are generated by TG on links to TG. \
45 | ... | TG traffic profile contains client and server ASTF programs, \
46 | ... | generating packets containing Ethernet header, IPv4 header, \
47 | ... | TCP header and static payload. \
48 | ... | MAC addresses are matching MAC addresses of the TG node interfaces.
50 | ... | - **[Ref] Applicable standard specifications:** RFC2544.
53 | ${nic_name}= | Intel-X710
58 | ${n_hosts}= | ${1024}
60 | ${packets_per_transaction_and_direction}= | ${11}
61 | ${transaction_scale}= | ${${n_hosts} * ${n_ports}}
63 | ${traffic_profile}= | trex-astf-ethip4tcp-${n_hosts}h-pps
64 | ${transaction_type}= | tcp_pps
65 | ${disable_latency}= | ${True}
70 | | ... | - **[Cfg]** TG runs L1 cross connect config.
71 | | ... | - **[Ver]** Measure NDR and PDR values using MLRsearch algorithm.
73 | | ... | *Arguments:*
74 | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1).
75 | | ... | Type: integer, string
77 | | [Arguments] | ${frame_size}
79 | | Set Test Variable | \${frame_size}
81 | | Given Set Max Rate And Jumbo
82 | | Then Find NDR and PDR intervals using optimized search
85 | 64B--ethip4tcp-ip4base-h1024-p63-s64512-pps-tg-ndrpdr