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 --- .../Short_Xconnect_Intel-X520-DA2.robot | 99 ++++++++++++++-------- 1 file changed, 62 insertions(+), 37 deletions(-) (limited to 'tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot') diff --git a/tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot b/tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot index 11ac9eddc8..c6cc2eede4 100644 --- a/tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot +++ b/tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot @@ -20,7 +20,8 @@ | ... | L2 | Intel-X520-DA2 | 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 *** @@ -32,10 +33,13 @@ | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 3.6mpps -| | Given Setup '1' worker threads and rss '1' without HTT on all DUTs -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect | 1core VPP passes 1518B frames through L2 cross connect at 2x 812,743pps in 3-node topology | | [Documentation] @@ -45,10 +49,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 -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect | 1core VPP passes 9000B frames through L2 cross connect at 2x 138,580pps in 3-node topology | | [Documentation] @@ -58,10 +65,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 -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect | 2core VPP with rss 1 passes 64B frames through L2 cross connect at 2x 8.3Mpps in 3-node topology | | [Documentation] @@ -71,10 +80,13 @@ | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 8.3mpps -| | Given Setup '2' worker threads and rss '1' without HTT on all DUTs -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect | 2core VPP with rss 1 passes 1518B frames through L2 cross connect at 2x 812,743pps in 3-node topology | | [Documentation] @@ -84,10 +96,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 -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect | 2core VPP with rss 1 passes 9000B frames through L2 cross connect at 2x 138,580pps in 3-node topology | | [Documentation] @@ -97,10 +112,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 -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect | 4core VPP with rss 2 passes 64B frames through L2 cross connect at 2x 9.3Mpps in 3-node topology | | [Documentation] @@ -110,10 +127,13 @@ | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 9.3mpps -| | Given Setup '4' worker threads and rss '2' without HTT on all DUTs -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect | 4core VPP with rss 2 passes 1518B frames through L2 cross connect at 2x 812,743pps in 3-node topology | | [Documentation] @@ -123,10 +143,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 -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect | 4core VPP with rss 2 passes 9000B frames through L2 cross connect at 2x 138,580pps in 3-node topology | | [Documentation] @@ -136,7 +159,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 -| | AND L2 xconnect initialized in a 3-node circular topology -| | Then Traffic should pass with no loss | ${duration} | ${rate} -| | ... | ${framesize} | 3-node-xconnect +| | 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 L2 xconnect initialized in a 3-node circular topology +| | Then Traffic should pass with no loss | ${duration} | ${rate} +| | ... | ${framesize} | 3-node-xconnect -- cgit 1.2.3-korg