summaryrefslogtreecommitdiffstats
path: root/upstream/vswitchperf
AgeCommit message (Collapse)AuthorFilesLines
2017-06-28MCP: Remove all Fuel patches and pluginsAlexandru Avadanii1-0/+0
Chances are none of the old patches / plugins can be reused as-is, so remove all of them and prepare for the switch to MCP. Change-Id: I999927a43b438d9bda9ff118731e2af4b1fa8caa Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-16FIXME: build: Temp pin to pre-Newton Fuel@OPNFVAlexandru Avadanii1-0/+0
Until we populate Armband repos with Fuel Newton packages, we cannot build the Newton version of Fuel@OPNFV in Armband. Therefore, temporarily pin the upstream repos to pre-Newton commits. JIRA: ARMBAND-118 Change-Id: I34d44c4fabe59c32a7f2c45424dd80e9ae3e04bc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-29Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 48ec9750583c47dadf0f3fd931dc2cf12f738b67 bugfix: Qemu shared dir failure In case of testpmd or l2fwd loopback app, VSPERF copies sources if these tools into qemu shared folder. Maximum size of folder content is limited to approx. 500MB. This limit is exceeded in case that DPDK is built for multiple RTE_TARGETs. Unnecessary files are excluded from the copy to spare size inside shared folder. JIRA: VSPERF-398 Change-Id: Iab31a6ff2397f7031eae6a95d424317c3343d4d9 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: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
2016-09-20Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 6dfabefd6cac3cd4b8fd29abf5a5b6ab9e6ae956 paths: Support binary packages Currently VSPERF supports OVS, DPDK and QEMU built from the source code only. In some cases it is required to support installation of these tools from binary packages available for given linux distribution. Thus VSPERF configuration and code was modified to suport both source and binary versions of tools. This can be configured perf tool, so various combinations of source and binary version are supported. Together with new configuration also a handling of kernel modules was modified to automatically detect and load module dependencies. JIRA: VSPERF-340 JIRA: VSPERF-339 Change-Id: I855cb438cbd8998bdc499613ea5e7de2526299d7 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: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Otto Sabart <osabart@redhat.com>
2016-09-14Updated armbandChristian Trautman1-0/+0
Project: vswitchperf a325eb33fbe408243209b19f2d9cc288b2e57548 merge_buffers: Add option to disable merge buffer on qemu startup In cases with VHost user and non-jumbo frame scenarios we can disable merge buffers on the guest NICS to improve performance. This patch adds this option to the 04_vnf conf file. JIRA: VSPERF-388 Change-Id: Ic1f776e90fdccaa5d5a0c952c96811a8747fe936 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-09-08Updated armbandMartin Klozik1-0/+0
Project: vswitchperf acdb444a54124834acdde45107062eaf1452c119 bugfix: SRIOV used wrong device names QemuPciPassthrough class responsible for SRIOV testing used wrong device names for GUEST configuration. Details of HOST interfaces connected to the traffic generator were used to initialize forwarding applications inside the guest. Code was fixed to use correct device configuration. As part of this fix, old bug in VNF type detection was fixed. JIRA: VSPERF-389 Change-Id: I269c9232012980c600c171571e90beb11e7b72cd 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: Bill Michalowski <bmichalo@redhat.com>
2016-09-08Updated armbandbmichalo1-0/+0
Project: vswitchperf f35ec410e0567649492ed8ef73287cf7d36f7b58 pkt_gen: MoonGen code clean up MoonGen code optimizations and general clean up. No functionality changes. JIRA: VSPERF-351 Change-Id: Ida16f16eb218eb6f0a1c90594c38511bfbb2cf97 Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-09-06Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 5aa0dc99f1cf9bf1a0a1d86143d6a1cbcc778691 docs: Fix links and formatting Documentation was updated as follows: * section decorators were fixed in LTD * links to testcase and deployment descriptions were fixed * duplicate labels removed from LTP&LTD * fixed typos in formatting and text * links to scalability and stress tests fixed after their renaming JIRA: VSPERF-349 Change-Id: I86c2b723231431388b69d3d696805de2a4e12435 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: Bill Michalowski <bmichalo@redhat.com>
2016-09-05Updated armbandMartin Klozik1-0/+0
Project: vswitchperf ddd9674fc7595788c58acdc564573cb228658b84 multi VM: Fix p2p deployment Revert enforced vsperf failure in case, that VnfController is used in scenario without VNFs. Instance of VnfController is created for all scenarios including p2p, so it must be prepared for it. JIRA: VSPERF-361 Change-Id: Icf6e88e7ea62044c09bb194c260ea878d6a197c9 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: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
2016-09-02Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 8363f8c6387449186b5656af5a5fc44bedc906b1 test_spec: Remove formatted text file verions of IETF Draft Remove files with IETF copyrights (Internet Draft .txt files). I assume these files have to be removed in C-stable branch... JIRA: VSPERF-387 Change-Id: I76709ab055f845cec0bec8d07b14c29dec349f54 Signed-off-by: Al Morton <acmorton@att.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
2016-09-02Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 6a56d40bcb2de85c22bc19af2527e9c9227f33e2 multi VM: Multi VMs in serial or parallel Support for deployment scenarios with any number of VMs in both serial and parallel configuration. Detailed content of the patch: * VswitchControllerPXP class for multi VM support * pvvpxx and pvpvxx deployments for xx VMs in serial respective parallel configuration * special GUEST_ options expansion to requested number of VMs; * support of GUEST_ options specific macros #VMINDEX, #MAC(), #IP() and #EVAL() * all GUEST specific options are turned to lists to be VM specific * support for VM with 1 NIC * support for VM with multiple NIC pairs; traffic is routed in serial or parallel between NIC paris based on deployment scenario * support for PVVP and PVPV scenarios using VMs with different numbers of NICs JIRA: VSPERF-361 Change-Id: I05bedbdfa9a81ea0166d9b03d83ae49d6cb8b19b 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: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
2016-09-02Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 695f734862c884d09c24b54d8d2914b3816837f2 docs: Remove links to Brahmaputra documentation Hyperlinks to the yardstick documentation were updated to refer to files generated from the master branch. JIRA: VSPERF-349 Change-Id: I248795b6a951377885492515fa9b96a694c9da5d 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: Bill Michalowski <bmichalo@redhat.com>
2016-09-02Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 7cc12c9748cfc758aa5ac164dfb13b900ef9dd82 vhost_affin_fixup: Change vhost thread from regex to pgrep usage Change vhost affinity process lookup to use pgrep instead of ugly error prone regex method as suggested. Change-Id: I8cac00a7f2d26ba1ce1815535a198f578159222c Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-29Updated armbandbmichalo1-0/+0
Project: vswitchperf b2289e1f6abab2d807eb55d9ec868039dc2384e2 pkt_gen: MoonGen Incorrect RX_MBPS Calculation Misplaced parenthesis regarding THROUGHPUT_RX_MBPS JIRA: VSPERF-381 Change-Id: Ie33cf6ca88164f0686a819715b5f9f7409072063 Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-08-26Updated armbandMartin Klozik1-0/+0
Project: vswitchperf cd22516b0f625e87ef100a7937d3ba9ba8f155e7 docs: vloop-vnf changelog update Documentation was updated to reflect recent changes of vloop-vnf image. JIRA: VSPERF-374 Change-Id: I65a34a7618593a7b77c38eb2fa4c87619b937346 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: Bill Michalowski <bmichalo@redhat.com>
2016-08-26Updated armbandChristian Trautman1-0/+0
Project: vswitchperf 0fb65d2afadad1f092788f5a4f251b09851b3ae7 Vanilla_Multi_Queue: Add vanilla ovs multi-queue functionality Adds multi-queue for vanilla OVS using virtio-net. TunTap ports will use multi_queue parameter when ports are created/deleted if guest nic queues are enabled and vswitch is ovs vanilla. Virtio net will now add guest nic queues to qemu command line if appropriate. Reworked multi-queue documentation to reflect these changes. Adds vhost net thread affinitization which is recommended when performing vanilla ovs multi-queue. Guests will require ethtool if using l2fwd or linux bridge as the loopback application when vanilla ovs multi-queue is enabled. Modified dpdk setting in vswitch conf to be better worded for separation from vanilla ovs multi-queue. Updated release and installation doc for new vloop image that includes required ethtool utility. JIRA: VSPERF-373 Change-Id: Idb550515190b1a93390308c11f54da368f962512 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-24Updated armbandChristian Trautman1-0/+0
Project: vswitchperf bd8712a917d9a0c7272506fd85816f857c32529e guest_drive_type: Adds guest drive configuration options Adds boot and mounted drive configuration options. JIRA: VSPERF-379 Change-Id: Ic0673a9b9f7a3430d7ac4db5fb9bf4228872f501 signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-23Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 1ea5c5239f9003f9cb8492f1d5b00a75724a7180 cuse: Remove vHost Cuse support Support of vHost Cuse interface is not supported by OVS anymore, so it was removed also from VSPERF. Cuse can be used with older VSPERF release if needed. JIRA: VSPERF-376 Change-Id: Id786bddf5fa9dce5706a93de7b089707a60317cd 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: Bill Michalowski <bmichalo@redhat.com>
2016-08-18Updated armbandMartin Klozik1-0/+0
Project: vswitchperf 21c787b5bb7dd4592bc83718756ac670232a8347 old_style_multi-queue: Allows for multi-queue with ovs <= 2.5.0 Enables multi-queue option for OVS versions 2.5.0 or less with dpdk. Instead of enabling MQ on a port by port basis this sets the global MQ option after starting the ovs switch. JIRA: VSPERF-372 Change-Id: I245c76779695518d0005122d8214bbf3f141bb96 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-16Updated armbandAntonio Fischetti1-0/+0
Project: vswitchperf 99e50b9aa86d3bd92d23a32ff34b5f80b9b3e4da Integration Test: Multi-VM with parallel PVP connections. Implementation of 3 testcases with multi-VMs in parallel. Flows are explicitly set on UDP destination ports so that each packet is sent to a specific VM. Topology is: Phy1-VM1-Phy2, Phy1-VM2-Phy2,.. This patch requires change #16855 "ovs/ofctl: Fix validation method for complex flows." JIRA: VSPERF-326 Change-Id: I59d23354bc9c6db470a59faba13bdcd6f2beb19d 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-08-16Updated armbandSugesh Chandran1-0/+0
Project: vswitchperf ffc55a6bbbfafc36a2e28e2e28e737966fb9bb31 integration: Support for VxLAN TC without using overlay traffic gen. The test case for verifying the vxlan tunneling feature without using any ingress tunnel traffic. The virtual switch(OVS) is configured to mangle and generate tunnel traffic in the deployment. The packet flow in the test case is as follows TRAFFIC-IN --> [ENCAP-PKT] --> [MOD-PKT] --> [DECAP-PKT] --> TRAFFIC-OUT ENCAP-PKT - Encapsulate the ingress packet to a tunnel type. MOD-PKT - Modify the tunnel header to match the following decap interface. DECAP-PKT - Decapsulate the newly generated tunneled packet. Change-Id: Ie24bacb3cb1c069bd60403e5a4ef8bcdf0e12e54 Signed-off-by: Sugesh Chandran <sugesh.chandran@intel.com>
2016-08-14Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf a8ef2c308d4c385b8eb0cae0f7f1f2d039affaaf docs: add vm2vm testing methodology Change-Id: I8a89ee3eedd3b439f0243eaef2fafc50ee807739 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-08-14Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 0ec5b4c8a7216eda19fae38529121911710deaa5 docs: add LTP to index.rst Fix build issues and add the LTP to index.rst. JIRA: DOCS-95 Change-Id: I2d22646af935c544645c01600b92a5f51ede39ec Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-08-12Updated armbandChristian Trautman1-0/+0
Project: vswitchperf f6f05f632f85d86d397e2522bc43cb4407d9eba8 doc_fixup: Grammar and link fixes to documentation Fixes minor grammar and link issues. JIRA: VSPERF-349 Change-Id: Id8708aee5b099287b5c99e79ca6da9ab8778897f Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-12Updated armbandsridharkn1-0/+0
Project: vswitchperf ea6a60dec01d154196c21cfdacf6fd3f6981c71c pkt_gen: Spirent changes to Harmonize test/trial terminology Added changes to make use of the tests parameter. The change is minor. Prior to this the value was taken from configuration file. With this change, the tests value is used as passed. JIRA: VSPERF-367 Change-Id: I9d1553d3b53dd19a79428ddaaacadb55fc27324f Signed-off-by: Sridhar Rao <sridhar.rao@spirent.com>
2016-08-12Updated armbandbmichalo1-0/+0
Project: vswitchperf deeedbf93d972e5bd5b101115bb3537ea7a179ff pkt_gen: Update MoonGen Documention Updating MoonGen configuration guide JIRA: VSPERF-370 Change-Id: I577491a6ece249a6162e1a3595a8682b826e5734 Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-08-12Updated armbandChristian Trautman1-0/+0
Project: vswitchperf cc4667ef7310b300cdf40202a2de0e19e85fa800 hugepage_fix: Fix free hugepage calcluation Fixes hugepage free calculation when hugepage size is not 1GB. Calculation previously assumed 1GB in size. This change allows for all sizes to be calculated properly. Change-Id: Ib05800f51992e9757c412a66296a47ad29e88a3b Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-10Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 5a0c6772d255aeb0ab1e6246c91bbeb56bb3a239 docs: split LTD into LTP and LTD. Change-Id: Id0b2ce7460e76ffb3d478bd255a7e5b8e75ba001 Signed-off-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-08-10Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 612090b0009574d02cf21a4fe41f036d0694b1b1 integration_cleanup: Force testcase cleanup to always run During testcase development on the integration side, if namespaces are used or veth ports and an exception is raised. The namespaces and veth ports are not properly cleanup up because the run_finalize does not get executed. This patch wraps the testing block in a try block where a finally will ALWAYS execute the run_finalize thus preventing the possiblity of leftover testing artifacts. JIRA: VSPERF-328 Change-Id: I4ea5f29a48b9171f330847f34b5b30ef3ab22f27 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-10Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf ec78c5c7f8a9357e404b7207e626df97dd20efa9 Xena_2544_tput_options: Add options for rfc 2544 testing Adds options to Xena for testing options when running RFC 2544 throughput testing. JIRA: VSPERF-369 Change-Id: I3145bd1a4d697d7b06cafda4f9d77cce859d1839 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-10Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 1dc40afad832bca427058380a629634aa3cb104c hugepages: change default num pages + deallocate Change the default number of allocated pages to the min 10GB. Deallocate hugepages if we allocated them on the fly. Change-Id: If9946cec423dd095c1ca1ab3bee3698e2f025047 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-08-09Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf a9e754b1050b17464d9e77a942068956d872894e test_spec: LTD: MatchAction Performance testing One of the new tests we agreed by working on Etherpad was MatchAction. Maryam led the development, and many provided comments there. This is another chance for comments before we merge. JIRA: VSPERF-242 Change-Id: I9da74efb703d5f221280567159e4ed6d830eb92c 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> Reviewed-by: Christian Trautman <ctrautma@redhat.com>
2016-08-09Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf f5ec5442151cb801ddbde4477a77f51654afe1a5 pkt_gen: MoonGen should use class object for line rate calc Instead of hard coding line speed numbers for rate calcuation, MoonGen should use its class object initialized at start time. JIRA: VSPERF-368 Change-Id: I68c688f8c244df16d98cfd15efabf491a317256b Signed-off-by: bmichalo <bmichalo@redhat.com>
2016-08-09Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 8fc264914ec05e572543f7d857a7ff4f437ffa9d bugfix: Harmonize test/trial RFC2544 terminology VSPERF framework was updated to follow RFC2544 definition of 'test' and 'trial' terms. Test parameter 'rfc2544_trials' was replaced by new parameter 'rfc2544_tests'. Both code and documentation were updated to reflect these changes. JIRA: VSPERF-300 Change-Id: I144a28359fd06394f1f87ef324458bafd5aad45f 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-09Updated armbandChristian Trautman1-0/+0
Project: vswitchperf 31f0a3e0a25e147e285d14e2e262ac48aa83ce65 hugepage_detect: Change hugepage detection to check for free hugepages Change hugepage detection to check if hugepages are configured. Also verifies enough free hugepages are available based on test configuration. Will result in an exception if not enough hugepages are found. This performs the check based on the guest memory configs as well as the dpdk socket configs. Adds some new methods to check for free hugepages based on all hugepages or for socket free hugepages. Adds new logging indicitaing needed and free hugepages as well as info level event if hugepages are not configured at recommended 1GB size. JIRA: VSPerf-255 Change-Id: I80d5605308861070c412568d8d40339f01b9718b Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-09Updated armbandMaryam Tahhan1-0/+0
Project: vswitchperf 18253fb2133ae1bd294689d297b0182481c174c2 namespace_bug: Initial creation of namespace fails Initial creation of namespace fails because var/run/netns does not exist. JIRA: VSPERF-366 Change-Id: I02e5aef52e1675f303405b69c7461ca6482903af Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-08Updated armbandbmichalo1-0/+0
Project: vswitchperf da059df422c839bb5d6393455a43c44e95873c73 pkt_gen: MoonGen incorrectly calculates rx/tx % statistics For MoonGen, the final results parameters: throughput_rx_percent, throughput_tx_percent were incorrectly calculated when converting MoonGen to VSPERF format. In particular, this would occur when more than one data stream (single channel unidirectional traffic) was used in the test. When calculating these percentages, only aggregate throughput values equaling unidirectional traffic were used (for example, for 64 byte frames bidirectional traffic should use 29.76 Mpps, not 14.88 Mpps) JIRA: VSPERF-341 Change-Id: Ie62bded7aea023c287697f18c4172b58c320e050 Signed-off-by: bmichalo <bmichalo@redhat.com>
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>