Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Introduce pre-initialize driver layer
[csit.git]
/
tests
/
vpp
/
perf
/
ip4
/
10ge2p1x710-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr.robot
diff --git
a/tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr.robot
b/tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr.robot
index
a32face
..
96a1e78
100644
(file)
--- a/
tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr.robot
+++ b/
tests/vpp/perf/ip4/10ge2p1x710-ethip4udp-ip4scale1000-udpsrcscale15-nat44-ndrpdr.robot
@@
-12,22
+12,16
@@
# limitations under the License.
*** Settings ***
# limitations under the License.
*** Settings ***
-| Resource | resources/libraries/robot/performance/performance_setup.robot
-| Resource | resources/libraries/robot/ip/nat.robot
-| Resource | resources/libraries/robot/shared/traffic.robot
+| Resource | resources/libraries/robot/shared/default.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | NAT44 | SRC_USER_1000
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR
| ... | NIC_Intel-X710 | ETH | IP4FWD | FEATURE | NAT44 | SRC_USER_1000
-| ... | SCALE
+| ... | SCALE
| DRV_VFIO_PCI
| ...
| ...
-| Suite Setup | Run Keywords
-| ... | Set up 3-node performance topology with DUT's NIC model | L3
-| ... | ${nic_name}
-| ... | AND | Set up performance test suite with NAT
+| Suite Setup | Setup suite single link | performance
| Suite Teardown | Tear down suite | performance
| Suite Teardown | Tear down suite | performance
-| ...
-| Test Setup | Set up performance test
-| Test Teardown | Tear down test | performance
+| Test Setup | Setup test
+| Test Teardown | Tear down test | performance | nat
| ...
| Test Template | Local Template
| ...
| ...
| Test Template | Local Template
| ...
@@
-52,7
+46,11
@@
| ... | *[Ref] Applicable standard specifications:* RFC2544.
*** Variables ***
| ... | *[Ref] Applicable standard specifications:* RFC2544.
*** Variables ***
+| @{plugins_to_enable}= | dpdk_plugin.so | nat_plugin.so
+| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_name}= | Intel-X710
+| ${nic_driver}= | vfio-pci
+| ${osi_layer}= | L3
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-1000u15p
| ${overhead}= | ${0}
# Traffic profile:
| ${traffic_profile}= | trex-sl-3n-ethip4udp-1000u15p
@@
-75,12
+73,14
@@
| | ...
| | Set Test Variable | \${frame_size}
| | ...
| | ...
| | Set Test Variable | \${frame_size}
| | ...
-| | Given
Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq}
-| | And Add
PCI devices to all DUTs
-| |
Set Max Rate And Jumbo And Handle Multi Seg
+| | Given
Set Max Rate And Jumbo
+| | And Add
worker threads to all DUTs | ${phy_cores} | ${rxq}
+| |
And Pre-initialize layer driver | ${nic_driver}
| | And Add NAT to all DUTs
| | And Apply startup configuration on all VPP DUTs
| | And Add NAT to all DUTs
| | And Apply startup configuration on all VPP DUTs
-| | When Initialize NAT44 in circular topology
+| | When Initialize layer driver | ${nic_driver}
+| | And Initialize layer interface
+| | And Initialize NAT44 in circular topology
| | Then Find NDR and PDR intervals using optimized search
*** Test Cases ***
| | Then Find NDR and PDR intervals using optimized search
*** Test Cases ***