aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-01-22 10:29:00 +0100
committerJan Gelety <jgelety@cisco.com>2020-02-07 16:52:29 +0000
commit36118c00c21b9408a4409e2529131fbcbdc2ad0a (patch)
tree06bee298ef690c50e5b4b4457f866264368d5fe1 /tests
parent70e7f5004ddcc02f63874865edb27cd6063b9914 (diff)
FIX: policer
Change-Id: I23910b74c8720245b43067ac8c68880291b4b1c2 Signed-off-by: Jan Gelety <jgelety@cisco.com> (cherry picked from commit d7e14a0a93e7e06047daeaf6a5575f227aeb925a)
Diffstat (limited to 'tests')
-rw-r--r--tests/vpp/device/ip4/eth2p-ethip4-ip4base-ipolicemarkbase-dev.robot7
-rw-r--r--tests/vpp/perf/ip4/10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot7
-rw-r--r--tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot7
3 files changed, 15 insertions, 6 deletions
diff --git a/tests/vpp/device/ip4/eth2p-ethip4-ip4base-ipolicemarkbase-dev.robot b/tests/vpp/device/ip4/eth2p-ethip4-ip4base-ipolicemarkbase-dev.robot
index 626c3ff785..4b7bf01e71 100644
--- a/tests/vpp/device/ip4/eth2p-ethip4-ip4base-ipolicemarkbase-dev.robot
+++ b/tests/vpp/device/ip4/eth2p-ethip4-ip4base-ipolicemarkbase-dev.robot
@@ -59,9 +59,12 @@
| |
| | [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} | ${frame_size}
-| | Set Test Variable | \${eb} | ${frame_size}
+| | Set Test Variable | \${cb}
+| | Set Test Variable | \${eb}
| |
| | Given Set Max Rate And Jumbo
| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq}
diff --git a/tests/vpp/perf/ip4/10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot b/tests/vpp/perf/ip4/10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot
index 805935c52c..e296dae778 100644
--- a/tests/vpp/perf/ip4/10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot
+++ b/tests/vpp/perf/ip4/10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot
@@ -75,9 +75,12 @@
| |
| | [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} | ${frame_size}
-| | Set Test Variable | \${eb} | ${frame_size}
+| | Set Test Variable | \${cb}
+| | Set Test Variable | \${eb}
| |
| | Given Set Max Rate And Jumbo
| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq}
diff --git a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot
index e18bbc69c9..3467f0af37 100644
--- a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot
+++ b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-ethip4-ip4base-ipolicemarkbase-ndrpdr.robot
@@ -73,9 +73,12 @@
| |
| | [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} | ${frame_size}
-| | Set Test Variable | \${eb} | ${frame_size}
+| | Set Test Variable | \${cb}
+| | Set Test Variable | \${eb}
| |
| | Given Set Max Rate And Jumbo
| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq}