summaryrefslogtreecommitdiffstats
path: root/upstream/vswitchperf
AgeCommit message (Collapse)AuthorFilesLines
2016-08-08Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf b219f67de8e314e419108d9e15667c2cd2b973d1 sriov: PCI IDs must be checked before usage Order of NIC PCI IDs handling was changed to ensure their check and possible expansion (by missing domain part) before their first usage. This avoids a vsperf crash in case that sriov is configured and short NIC PCI IDs are used. JIRA: VSPERF-363 Change-Id: I91f724e9558bce5a92520de72b4bf000f33d2f29 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-08-08Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 28b133e55f7bb8728c699b1e5db575c12dd01965 dpdk: Testpmd forwarding mode changes in v16.07 Testpmd forwarding mode mac_retry was obsoleted in DPDK v16.07. Retry option is supported by multiple forwarding modes now. Former "mac_retry" mode can be replaced by "mac retry" construct. JIRA: VSPERF-333 Change-Id: I1563427985966264f07d10b1a8351784fe999d74 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-08-08Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf fc480dd1139f12730c68c72f738b3df8080af283 install: Missing packages for numa library Recent versions of DPDK (16.xx) depend on numa library. Thus installation scripts were updated to install both binary and development packages. JIRA: VSPERF-360 Change-Id: Idd0eac8758f30a355909bb804e99e650b67bba8b Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-08-08Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 77de48c31767556fb9f0de76285d1beed16dd828 Xena: Modify aggregate_stats one port no stats when bi-direction Xena exception when no stats collected on receive on one port during bi-directional traffic. Modify aggregate_stats in the XenaDriver.py, add judge whether the two port both has stats, if one port has no stats, the result use the port's value which has stats. JIRA: VSPERF-327 Change-Id: I18c349d609a2834907f0383dbfbebd5cd281f541 Signed-off-by: liting <tli@redhat.com>
2016-08-05Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 896f0fe61346916a560c01c0eae638894d653d7e Hugepages: on the fly allocation. If no hugepages are available, try to allocate HUGEPAGE_RAM_ALLOCATION amount of RAM for hugepages. JIRA: VSPERF-290 Change-Id: I092b3831254579eeebbe45e85884828f9d749895 Signed-off-by: Mars Toktonaliev <mars.toktonaliev@nokia.com>
2016-08-05Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 236073f3963ee4dc038eea3b42d60644ebfc703f pkt_gen: MoonGen start rates not correct The VSPERF traffic profile for starting rate is in a percentage of line rate. MoonGen programs its starting rate as Mpps. Therefore the traffic profile for VSPERF needs to be converted to a MoonGen format. There was a hardcoding of 14.88 that was used for the starting frame rate for all frame sizes. This needs to be corrected to take into account all frame sizes. JIRA: VSPERF-350 Change-Id: Ied71668a560d7d2b03483f9a1192dd2fb4965996 Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-08-05Updated armbandMartin Klozik1-0/+0
Project: vswitchperf bf43287f11e85143148e5be6c81b7e9894652eac docs: Update vloop-vnf changelog Updated version of vloop-vnf image was added into the changelog inside installation guide. JIRA: VSPERF-349 Change-Id: I64a1acdf2191858dc282ea6c3b588048b3bdd742 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-08-03Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 40460b1fd291612cca316527c4366e83ae295ce2 docs: Enhancement of IxNetwork configuration guide Configuration guide has been updated with description of IxNetwork specific configuration options. New section was added with description of test results sharing between IxNetwork and VSPERF. Additional changes: * wrong formatting inside installation.rst was fixed * description of IxNetwork configuration was updated inside ixnet.py JIRA: VSPERF-302 Change-Id: Ida0e086e69b82fd1f9821d16ea750b2dec1d5aa2 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-08-03Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 48feb686c3b6648d4bc52b155a053ec5b5883e9a docs: Update release notes Release notes were updated with features introduced by Colorado release. JIRA: VSPERF-349 Change-Id: I43179028c973cae4be6746e633c27fd3419e951a Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-08-02Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 80414a002e0a10dcce9126786d51695fc350cb47 pkt_gen: Remove commas from MoonGen results Results from other traffic generators are reported as pure numbers, i.e. 2477356.0000. These values are consumed and processed by other scripts (e.g. CI or OPNFV results visualization), so we should keep it consistent among various traffic generators. JIRA: VSPERF-342 Change-Id: I305421287eb632707038f2c8bc594fcb255ec939 Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-08-02Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 65034580a2759c89c418e0a47ee16bee10cc2c7c xena_deadlock: Fix xena2544.exe deadlock Fix Xena2544.exe execution with mono where sometimes the Xena process says complete, but the mono process doesn't exit. Changes call of Xena2544.exe from communicate thread lock to a wait try/catch block and checks the log periodically to see if a deadlock has occured and if so, the mono pid is terminated to prevent deadlock. * Fix one small issue with typecasting to int, changed to float JIRA: VSPERF-319 Change-Id: Ie7a86a2b9ff9cdfacba5a912ad17df6cc0581702 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-01Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 7ad56eff11393807085775f075fcc93640c26ce2 pkt_gen: MoonGen incorrectly inserting VLAN tag MoonGen needs to take into account the VLAN tag 'enable' control knob defined within the VSPERF traffic profile and therefore only insert the VLAN tag when its 'True'. JIRA: VSPERF-329 Change-Id: Idbeed2f7e6411f0c28aa56a2d3e71bd7a79d975a Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-07-29Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 93e3095b4d7ea6b850b81858ec7ae2c1caaf0448 dpdk: Support of DPDK16.07-rc5 and newer DPDK 16.07-rc5 has renamed script tools/dpdk_nic_bind.py to tools/dpdk-devbind.py. VSPERF was updated to use wildcard in the script name, which is backward compatible. Function get_version() from tools/systeminfo was updated to correctly parse version information for DPDK v16. Version name includes a minor version as defined inside rte_version.h. It means, that for tag v16.07-rc5 VSPERF will show v16.07.0-rc5 in the report. JIRA: VSPERF-333 Change-Id: I61a4ab2d90304fffdfc4d22a5cbf0cb7295402b3 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-07-29Updated armbandAntonio Fischetti1-0/+0
Project: vswitchperf dad35a0c7a32fcbf0e96d1f9c96597c5f5f597a7 Integration docs: HelloWorld and other basic examples. This patch adds to Integration docs some simple testcase examples like a HelloWorld. The purpose is to show how to use some basic features: rules on L3/L4 fields, MultiStream, Multi-VM setup. Patch Set 2: removed trailing whitespaces. Patch Set 3: moved the examples to the middle of the file to avoid potential conflicts with the VxLan TC patch from Sugesh. Patch Set 4: fix typo. Patch Set 5: added descriptions on each example. Patch Set 6: reworked description for VM Replacement TC. JIRA: VSPERF-331 Change-Id: I9dea23c26138db874fd67f41d8de8a628db5d91f Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
2016-07-22Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 891488bb5e0047c7062198a9241511c7fcedeb6f docs: Remove trailing whitespaces Wrong whitespace characters breaks automatic generation of VSPERF documentation. It is necessary to remove wrong characters before merge of the draft into VSPERF doc, e.g. by filtering through tr -d '\014' JIRA: VSPERF-324 Change-Id: Ie280f5a443c89d4235cae5eb89fdceae74ea4213 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-07-20Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 5109fb49432be5bb0075b6b55e8b5304fa6172be pkt_gen: Moongen class name not consistent with name in conf files Need to change naming to 'Moongen' for consistent naming between conf files and class JIRA: VSPERF-323 Change-Id: Ic580b68323a759b3c2ef7ca3c07006243a3acf7d Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-07-20Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 3f54fe3750eef81f5fb44b90ab6a53e60e63f870 ci: CI report generation Script for generation of documentation has been moved from releng into new opnfvdocs repository. VSPERF script for a daily CI job is calling this script for overall PDF report generation. Thus it must be updated to use new script location. JIRA: VSPERF-324 Change-Id: I173a2139c57c39acb25c14f7a082e0ff0a888b2f Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-07-19Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 380a6cd33d7b1d85bbc46f5c90532ed55c7aaf27 conf/integration: Fix typo on Integration testcase example. This patch fixes a typo in the integration testcase example, otherwise settings like {"guest_loopback" : "linux_bridge"} are ignored. JIRA: ONP-6635 Change-Id: Iab61d36e70f96f4a6c1f98a506753dc7fa090140 Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
2016-07-19Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf bd8bb26c67d696aba7b30bf4eb1616a7258b6f5d ovs-appctl fix: Fixes ovs-appctl by placing pid file appropriately ovs-appctl was broken due to a previous commit which changed the location of the ovs-vswitchd pid file. This fixes it by placing the pid back in the default location where ovs-appctl is looking for. JIRA: VSPERF-315 Change-Id: I4ae87ad566acb69ac9d565a3a77865f5a6861b93 Signed-off-by: MartinX Klozik <martinx.klozik@intel.com> Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-07-19Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 34a550ed0c852d4472b17e9ee565f20d344052bc New IETF Draft WG version JIRA: VSPERF-?? Change-Id: I1f07a70bf3c8604df890defd8493f107550bf8f3 Signed-off-by: Al Morton <acmorton@att.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
2016-07-19Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 568524a40ab6fa4d570c65c6c42cd68c02c9dd22 ovs/ofctl: Fix validation method for complex flows. The current validation method for 'add_flow' commands does not work properly with complex flows, like UDP flows. It always returns that the flow was not set, even though the add_flow command was successful. JIRA: ONP-6579 Change-Id: Iaad77551326ff495cb68a033e1303450a99386bd Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
2016-07-14Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf f35edfc71ee92d67e6cb587b116b64c3a005ac71 dpdk: Support of DPDK16.07 DPDK 16.07 changed the default log level of DPDK enabled applications. Detection of the end of OVS initialization procedure has been changed to work for various DPDK versions and for both DPDK and Vanilla OVS. JIRA: VSPERF-316 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com> Reviewed-by: <sridhar.rao@spirent.com>
2016-07-13Updated armbandGuo Ruijing1-0/+0
Project: vswitchperf 8494dca647761592d7dd822849e56546f107dcb1 Update fuel plugin builder installation Change-Id: Ife16738ea8717749c52e950404257936994fe273 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-07-13Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 555c74d4aff580b8115d6e79ee985af9a986ff94 docs: Update yardstick userguide Documentation update based on review comments received after the merge of original patch. JIRA: VSPERF-288 Change-Id: I86305fa064cc07e2e0797276a7b89b1d4b23d126 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com> Reviewed-by: <sridhar.rao@spirent.com>
2016-07-11Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf dd47e4e2ea55f01235c20bed8e07d69fb51c292e Enable BURST_MODE for l2fwd JIRA: VSPERF-267 This change adds optional burst mode to l2fwd module that makes use of skb->xmit_more API available in Linux Kernel > 3.18 in order to batch transmission of packets out of the NIC, increasing forwarding performance significantly. By default burst mode is disabled. If a value greater than 1 is provided, burst mode is enabled to send that many packets at once. Typical values would be burst=8 or burst=16. Change-Id: I8ef5f86cf73d4cb5a8e4c618a86111ebf411dca8 Signed-off-by: Mesut Ali Ergin <mesut.a.ergin@intel.com> Signed-off-by: Mallesh Koujalagi <malleshx.koujalagi@intel.com>
2016-07-08Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 64823f173b4fae6921bfde642fb68eac55a470ea yardstick: Documentation and YAML testcase definitions Yardstick supports execution of vsperf specific testcases. These testcases are specified by YAML files located inside yardstick/tests directory. Documentation describing yardstick usage and execution of vsperf testcases is part of the userguide. JIRA: VSPERF-288 Change-Id: I5a575d28d344e0f3e0a1c8434e2f3231fd312d31 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com> Reviewed-by: <sridhar.rao@spirent.com>
2016-07-08Updated armbandsridharkn1-0/+0
Project: vswitchperf 7cded121ab8291d742ea9d5324f93cae34dc10e5 Spirent-TestCenter: Code Cleanup. Removal of redunant code in testcenter.py. No logic Changes. Cosmetic changes - removing redundant code of 150+ lines. JIRA: VSPERF-308 Change-Id: I4766890cdc9f3d23103b2d2090285361ac4a5197 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2016-07-08Updated armbandChristian Trautman1-0/+0
Project: vswitchperf 7a16aa0bc7875b5b3fe6385cf99afa076e1e1cb3 rstp-stp: Add basic functions for stp/rstp enable on ovs Add basic functions to enable/disable spanning tree protocols on the bridge. Also adds bridge info function to retrieve other bridge information. JIRA: VSPERF-314 Change-Id: Ic72c5a2a9d16aab1b95428ce37042a5b536481aa Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-07-08Updated armbandChristian Trautman1-0/+0
Project: vswitchperf cead9a3d0571b8afc5ed680475e9bc3ea92c7d79 Namespace_veth: Add funtionality for network namespace, veth ports Adds functionality for network namespaces and veth/peer ports to connect the namespaces. The namespaces are tracked outside of default Linux namespaces to prevent possible disruption of work outside of VSPerf where a user may create a namespace and the cleanup code deletes it. The cleanup code only removes namespaces and veth ports created inside the testcase. JIRA: VSPERF-310 Change-Id: If8881cafb119f38f052403a1de497e9660187d2e Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-07-01Updated armbandChristian Trautman1-0/+0
Project: vswitchperf 26a7262cee1a2961ed5aa76bd969dddeff8ea472 multi-queue: Add basic multi-queue functionality Adds support for multi-queue using the following config. * VNF = QemuDpdkVhostUser * VSWITCH = OvsDpdkVhost * Guest Loopback as testpmd Adds CPU mask, nbcore, rxq, and txq options for testpmd. Adds option for guest nic multi-queue. Adds option for dpdkvhostuser and dpdk multi-queue enable JIRA: VSPERF-309 Change-Id: I5296fc18b430eace598d8c51620fc27a6c46a65e Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-07-01Updated armbandChristian Trautman1-0/+0
Project: vswitchperf 4bd09fc0c95f89f3041e6a5a66613eb7cd7eaff8 Spirent Support for Continuous Traffic Adding changes for supporting continuous traffic for Spirent Testcenter The changes are as follows: 1. From send_cont_traffic invoke function in testcenter-rfc2544-rest.py 2. In testcenter-rfc2544-rest.py check for the traffic_custom 3. If the traffic_custom is 'cont' do additional configuration on traffic. JIRA: VSPERF-146 Change-Id: Ic963f9f0c2bd013f6e676c9d18b151ae67ff77af Signed-off-by: Sridhar Rao <sridhar.rao@spirent.com>
2016-07-01Updated armbandChristian Trautman1-0/+0
Project: vswitchperf fcf61c407611b317f70c4b78424326d4f76f28bf pkt_gen: Adding MoonGen traffic generator Adds support for the MoonGen packet generator. The following traffic types are included: * RFC 2544 Throughput: Synchronous Interface * RFC 2544 Back 2 Back: Synchronous Interface * Continous Flow: Synchronous Interface JIRA: VSPERF-168 Sample log of execution can be found as an attachment within JIRA VSPERF-168 Change-Id: I5bb84290945f4ba41bc962370e643bbbeff0e486 Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-07-01Updated armbandtli1-0/+0
Project: vswitchperf 891e07bcb787a3ecc00b3948baa2c5c928dfddf8 Xena: Modify the throughput result typecasts int issue Modify the _create_throughput_result method typecasts int to typecasts to float JIRA: VSPERF-312 Change-Id: I45722251f3ca200373aa7b6958e62ea511c304f8 Signed-off-by: tli <tli@redhat.com>
2016-06-30Updated armbandChristian Trautman1-0/+0
Project: vswitchperf 058c74077e572a45a108da9b2ff4180a31f504a7 xena_bug: Resolve baseconfig reporting option to work with new versions Fix baseconfig to work with new Xena2544.exe versions. Reporting option for latency/jitter collection has changed. Added note to trafficgen document reflecting recommended version to use for Xena2544.exe. JIRA: VSPERF-311 Change-Id: I1974ea3c9f9e4c0935fc8adead6ddd5a92a16a04 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-06-29Updated armbandChristian Trautman1-0/+0
Project: vswitchperf 84018f98355f8aeb4eabf6bed02ca3bca03300ec xena_burst: Add Xena Burst traffic Add Xena burst traffic functionality. JIRA: VSPERF-263 Change-Id: I6336e5fcb33c0f66ee87f0f14f1b795937e3d00d Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-06-29Updated armbandChristian Trautman1-0/+0
Project: vswitchperf 10121775eb7ee5eb6675d472b2c2e5e1662aac03 Xena: Modify xena_json for back2back options Add method set_test_options_back2back in code to modify duration, iterations, and flowrate for back2back options in the json file. JIRA: VSPERF-305 Change-Id: I1337318e7519fbd7b5a71bb26a1c62fcd8c2b66c Signed-off-by: tli <tli@redhat.com>
2016-06-28submodule: vswitchperf.Alexandru Avadanii1-0/+0
Change-Id: I986bfb5ae549321a0696f945d24ccb1b6b198f96 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>