From 058dfaa4ad10b8fd3df7da7793f4633ac2afe64c Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Wed, 11 May 2016 15:07:06 +0200 Subject: Add test cases with "dpdk no-multi-seg" in vpp startup config - JIRA: CSIT-73 - Add ability to configure no-multi-seg parameter in VPP startup configuration - Add keywords to selectively configure parameters in startup configuration - Modify testcases Change-Id: I3c5c0a1cc2b1156d5a87ff36628b50793dd9ac5f Signed-off-by: Peter Mikus --- .../performance/Short_IPv6_Intel-X520-DA2.robot | 81 ++++++++++++++-------- 1 file changed, 53 insertions(+), 28 deletions(-) (limited to 'tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot') diff --git a/tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot b/tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot index 83412eb187..50690c572a 100644 --- a/tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot +++ b/tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot @@ -19,7 +19,8 @@ | Suite Teardown | 3-node Performance Suite Teardown | Test Setup | Setup all DUTs before test -| Test Teardown | Run Keyword | Show statistics on all DUTs +| Test Teardown | Run Keywords | Show statistics on all DUTs +| ... | Remove startup configuration of VPP from all DUTs | Documentation | Minimal throughput acceptance test cases *** Test Cases *** @@ -31,10 +32,13 @@ | | ${framesize}= | Set Variable | 78 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 2.9mpps -| | Given Setup '1' worker threads and rss '1' without HTT on all DUTs +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 | 1core VPP passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] @@ -44,10 +48,13 @@ | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps -| | Given Setup '1' worker threads and rss '1' without HTT on all DUTs +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 | 1core VPP passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] @@ -57,10 +64,12 @@ | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps -| | Given Setup '1' worker threads and rss '1' without HTT on all DUTs +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 | 2core VPP with rss 1 passes 78B frames through IPv6 forwarding at 2x 5.9Mpps in 3-node topology | | [Documentation] @@ -70,10 +79,13 @@ | | ${framesize}= | Set Variable | 78 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 5.9mpps -| | Given Setup '2' worker threads and rss '1' without HTT on all DUTs +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 | 2core VPP with rss 1 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] @@ -83,10 +95,13 @@ | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps -| | Given Setup '2' worker threads and rss '1' without HTT on all DUTs +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 | 2core VPP with rss 1 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] @@ -96,10 +111,12 @@ | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps -| | Given Setup '2' worker threads and rss '1' without HTT on all DUTs +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 | 4core VPP with rss 2 passes 78B frames through IPv6 forwarding at 2x 7.3Mpps in 3-node topology | | [Documentation] @@ -109,10 +126,13 @@ | | ${framesize}= | Set Variable | 78 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 7.3mpps -| | Given Setup '4' worker threads and rss '2' without HTT on all DUTs +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 | 4core VPP with rss 2 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] @@ -122,10 +142,13 @@ | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps -| | Given Setup '4' worker threads and rss '2' without HTT on all DUTs +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 | 4core VPP with rss 2 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] @@ -135,7 +158,9 @@ | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps -| | Given Setup '4' worker threads and rss '2' without HTT on all DUTs +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs | | And IPv6 forwarding initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-IPv6 +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-IPv6 -- cgit 1.2.3-korg