doc: fixing documentation structure
[csit.git] / tests / trex / perf / ip4 / 1n1l-10ge2p1x710-ethip4udp-ip4base-h262144-p63-s16515072-pps-tg-ndrpdr.robot
1 # Copyright (c) 2021 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:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
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.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/shared/default.robot
16 |
17 | Force Tags | 2_NODE_SINGLE_LINK_TOPO | 3_NODE_SINGLE_LINK_TOPO
18 | ... | PERFTEST | HW_ENV | NDRPDR | NIC_Intel-X710 | TREX | ETH | IP4FWD
19 | ... | IP4BASE | N2N | UDP | UDP_PPS | TG_DRV_IGB_UIO | SCALE | HOSTS_262144
20 | ... | ethip4udp-ip4base-h262144-p63-s16515072-pps-tg
21 |
22 | Suite Setup | Setup suite topology interfaces with no DUT | performance_tg_nic
23 | Suite Teardown | Tear down suite | performance
24 | Test Teardown | Tear down test raw | performance
25 |
26 | Test Template | Local Template
27 |
28 | Documentation | **PPS on lightweight UDP transactions with L1 cross connect**
29 | ... |
30 | ... | - **[Top] Network Topologies:** TG-TG 1-node circular topology \
31 | ... | with single links between nodes.
32 | ... |
33 | ... | - **[Enc] Packet Encapsulations:** Eth-IPv4 for L1 cross connect patch.
34 | ... |
35 | ... | - **[Ver] TG verification:** TG finds and reports throughput NDR (Non \
36 | ... | Drop Rate) with zero packet loss tolerance and throughput PDR \
37 | ... | (Partial Drop Rate) with non-zero packet loss tolerance (LT) \
38 | ... | expressed in percentage of packets transmitted. NDR and PDR are \
39 | ... | discovered for different Ethernet L2 frame sizes using MLRsearch \
40 | ... | library.
41 | ... | Test packets are generated by TG on links to TG. \
42 | ... | TG traffic profile contains client and server ASTF programs, \
43 | ... | generating packets containing Ethernet header, IPv4 header, \
44 | ... | TCP header and static payload. \
45 | ... | MAC addresses are matching MAC addresses of the TG node interfaces.
46 | ... |
47 | ... | - **[Ref] Applicable standard specifications:** RFC2544.
48
49 *** Variables ***
50 | ${nic_name}= | Intel-X710
51 | ${nic_pfs}= | 2
52 | ${osi_layer}= | L7
53 | ${overhead}= | ${0}
54 # Scale settings
55 | ${n_hosts}= | ${262144}
56 | ${n_ports}= | ${63}
57 | ${transaction_scale}= | ${${n_hosts} * ${n_ports}}
58 | ${packets_per_transaction_and_direction}= | ${33}
59 # Traffic profile:
60 | ${traffic_profile}= | trex-astf-ethip4udp-${n_hosts}h-pps
61 | ${transaction_type}= | udp_pps
62 | ${disable_latency}= | ${True}
63
64 *** Keywords ***
65 | Local Template
66 | | [Documentation]
67 | | ... | - **[Cfg]** TG runs L1 cross connect config.
68 | | ... | - **[Ver]** Measure NDR and PDR values using MLRsearch algorithm.
69 | |
70 | | ... | *Arguments:*
71 | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1).
72 | | ... | Type: integer, string
73 | |
74 | | [Arguments] | ${frame_size}
75 | |
76 | | Set Test Variable | \${frame_size}
77 | |
78 | | Given Set Max Rate And Jumbo
79 | | Then Find NDR and PDR intervals using optimized search
80
81 *** Test Cases ***
82 | 64B--ethip4udp-ip4base-h262144-p63-s16515072-pps-tg-ndrpdr
83 | | [Tags] | 64B
84 | | frame_size=${64}