aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-01-22 10:29:00 +0100
committerJan Gelety <jgelety@cisco.com>2020-01-22 10:36:26 +0100
commitd7e14a0a93e7e06047daeaf6a5575f227aeb925a (patch)
tree2e64ecac59a2b19de939e5512878ce4616cdd623
parentb9ffc1b5eb6bf80c95171d0496cef07d70bcfa5c (diff)
FIX: policer
Change-Id: I23910b74c8720245b43067ac8c68880291b4b1c2 Signed-off-by: Jan Gelety <jgelety@cisco.com>
-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}