diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-10-18 14:15:32 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-10-19 04:41:03 +0000 |
commit | fcc77752111a4fbe8caa341cf5249efbad305a2a (patch) | |
tree | dafa71db46e5ede25d50a45fd48ad3ec25bb617c /tests/vpp/perf/srv6 | |
parent | 510f6d5140db4512ff00a43bf5b8d2ddd1f4a064 (diff) |
Tests: Introduce driver layer
+ Small bugfixes in various suites
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I051af0a6da7340fe3f617400370c3846ca5241ab
Diffstat (limited to 'tests/vpp/perf/srv6')
6 files changed, 24 insertions, 12 deletions
diff --git a/tests/vpp/perf/srv6/10ge2p1x710-ethip6ip6-ip6base-srv6enc1sid-ndrpdr.robot b/tests/vpp/perf/srv6/10ge2p1x710-ethip6ip6-ip6base-srv6enc1sid-ndrpdr.robot index ecb52a657c..1bedcffd86 100644 --- a/tests/vpp/perf/srv6/10ge2p1x710-ethip6ip6-ip6base-srv6enc1sid-ndrpdr.robot +++ b/tests/vpp/perf/srv6/10ge2p1x710-ethip6ip6-ip6base-srv6enc1sid-ndrpdr.robot @@ -52,6 +52,7 @@ | @{plugins_to_enable}= | dpdk_plugin.so | ${osi_layer}= | L3 | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci # outer IPv6 header: 40B | ${overhead}= | ${40} # SIDs @@ -95,9 +96,10 @@ | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs -| | Set Max Rate And Jumbo And Handle Multi Seg +| | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs -| | When Initialize IPv6 forwarding over SRv6 with encapsulation with '1' x SID 'with' decapsulation in 3-node circular topology +| | When Initialize layer driver | vfio-pci +| | And Initialize IPv6 forwarding over SRv6 with encapsulation with '1' x SID 'with' decapsulation in 3-node circular topology | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** diff --git a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6enc2sids-ndrpdr.robot b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6enc2sids-ndrpdr.robot index 6ebcd7f66c..50e723e60a 100644 --- a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6enc2sids-ndrpdr.robot +++ b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6enc2sids-ndrpdr.robot @@ -52,6 +52,7 @@ | @{plugins_to_enable}= | dpdk_plugin.so | ${osi_layer}= | L3 | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci # outer IPv6 header + SRH with 2 SIDs: 40+40B | ${overhead}= | ${80} # SIDs @@ -98,9 +99,10 @@ | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs -| | Set Max Rate And Jumbo And Handle Multi Seg +| | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs -| | When Initialize IPv6 forwarding over SRv6 with encapsulation with '2' x SID 'with' decapsulation in 3-node circular topology +| | When Initialize layer driver | vfio-pci +| | And Initialize IPv6 forwarding over SRv6 with encapsulation with '2' x SID 'with' decapsulation in 3-node circular topology | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** diff --git a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6enc2sids-nodecaps-ndrpdr.robot b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6enc2sids-nodecaps-ndrpdr.robot index 29d234fc83..dd46569cb6 100644 --- a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6enc2sids-nodecaps-ndrpdr.robot +++ b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6enc2sids-nodecaps-ndrpdr.robot @@ -52,6 +52,7 @@ | @{plugins_to_enable}= | dpdk_plugin.so | ${osi_layer}= | L3 | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci # outer IPv6 header + SRH with 2 SIDs: 40+40B | ${overhead}= | ${80} # SIDs @@ -98,9 +99,10 @@ | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs -| | Set Max Rate And Jumbo And Handle Multi Seg +| | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs -| | When Initialize IPv6 forwarding over SRv6 with encapsulation with '2' x SID 'without' decapsulation in 3-node circular topology +| | When Initialize layer driver | vfio-pci +| | And Initialize IPv6 forwarding over SRv6 with encapsulation with '2' x SID 'without' decapsulation in 3-node circular topology | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** diff --git a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-dyn-ndrpdr.robot b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-dyn-ndrpdr.robot index cab30c06f4..72d6fe91d2 100644 --- a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-dyn-ndrpdr.robot +++ b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-dyn-ndrpdr.robot @@ -53,6 +53,7 @@ | @{plugins_to_enable}= | dpdk_plugin.so | memif_plugin.so | srv6ad_plugin.so | ${osi_layer}= | L3 | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci # outer IPv6 header + SRH with 3 SIDs: 40+(8+3*16)B | ${overhead}= | ${96} # SIDs @@ -111,10 +112,11 @@ | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs -| | Set Max Rate And Jumbo And Handle Multi Seg +| | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs +| | When Initialize layer driver | vfio-pci | | And Start containers for test | nf_chains=${1} | nf_nodes=${1} -| | When Initialize IPv6 forwarding over SRv6 with endpoint to SR-unaware Service Function via 'dynamic_proxy' behaviour in 3-node circular topology +| | And Initialize IPv6 forwarding over SRv6 with endpoint to SR-unaware Service Function via 'dynamic_proxy' behaviour in 3-node circular topology | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** diff --git a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-masq-ndrpdr.robot b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-masq-ndrpdr.robot index de0239598e..76338a552d 100644 --- a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-masq-ndrpdr.robot +++ b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-masq-ndrpdr.robot @@ -53,6 +53,7 @@ | @{plugins_to_enable}= | dpdk_plugin.so | memif_plugin.so | srv6am_plugin.so | ${osi_layer}= | L3 | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci # outer IPv6 header + SRH with 3 SIDs: 40+(8+3*16)B | ${overhead}= | ${96} # SIDs @@ -111,10 +112,11 @@ | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs -| | Set Max Rate And Jumbo And Handle Multi Seg +| | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs +| | When Initialize layer driver | vfio-pci | | And Start containers for test | nf_chains=${1} | nf_nodes=${1} -| | When Initialize IPv6 forwarding over SRv6 with endpoint to SR-unaware Service Function via 'masquerading' behaviour in 3-node circular topology +| | And Initialize IPv6 forwarding over SRv6 with endpoint to SR-unaware Service Function via 'masquerading' behaviour in 3-node circular topology | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** diff --git a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-stat-ndrpdr.robot b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-stat-ndrpdr.robot index dc9f31b417..2227b4c9b9 100644 --- a/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-stat-ndrpdr.robot +++ b/tests/vpp/perf/srv6/10ge2p1x710-ethip6srhip6-ip6base-srv6proxy-stat-ndrpdr.robot @@ -53,6 +53,7 @@ | @{plugins_to_enable}= | dpdk_plugin.so | memif_plugin.so | srv6as_plugin.so | ${osi_layer}= | L3 | ${nic_name}= | Intel-X710 +| ${nic_driver}= | vfio-pci # outer IPv6 header + SRH with 3 SIDs: 40+(8+3*16)B | ${overhead}= | ${96} # SIDs @@ -111,10 +112,11 @@ | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs -| | Set Max Rate And Jumbo And Handle Multi Seg +| | And Set Max Rate And Jumbo And Handle Multi Seg | | And Apply startup configuration on all VPP DUTs +| | When Initialize layer driver | vfio-pci | | And Start containers for test | nf_chains=${1} | nf_nodes=${1} -| | When Initialize IPv6 forwarding over SRv6 with endpoint to SR-unaware Service Function via 'static_proxy' behaviour in 3-node circular topology +| | And Initialize IPv6 forwarding over SRv6 with endpoint to SR-unaware Service Function via 'static_proxy' behaviour in 3-node circular topology | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** |