-# Copyright (c) 2020 Cisco and/or its affiliates.
+# Copyright (c) 2021 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:
| ... | *[Ref] Applicable standard specifications:* RFC2544, RFC2698.
*** Variables ***
-| @{plugins_to_enable}= | dpdk_plugin.so
+| @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${cir}= | ${100}
| ${eir}= | ${150}
| ${dscp}= | AF22
-# Traffic profile:
-| ${traffic_profile}= | trex-sl-2n-ethip4-ip4src253
+# Traffic profile
+| ${traffic_profile}= | trex-stl-2n-ethip4-ip4src253
*** Keywords ***
| Local Template
| |
| | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None}
| |
-| | ${cb}= | Get Average Frame Size | ${frame_size}
-| | ${eb}= | Get Average Frame Size | ${frame_size}
-| |
| | Set Test Variable | \${frame_size}
-| | Set Test Variable | \${cb}
-| | Set Test Variable | \${eb}
| |
| | Given Set Max Rate And Jumbo
+| | And Set Rates For Policer
| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq}
| | And Pre-initialize layer driver | ${nic_driver}
| | And Apply startup configuration on all VPP DUTs