From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f225.google.com (mail-qk0-f225.google.com [209.85.220.225]) by dpdk.org (Postfix) with ESMTP id 133385F3D for ; Thu, 29 Mar 2018 21:16:47 +0200 (CEST) Received: by mail-qk0-f225.google.com with SMTP id d206so7117176qkb.0 for ; Thu, 29 Mar 2018 12:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=from:to:cc:subject:date:message-id; bh=co2XS3wb6OZtBmD6ZLblpyjGfmm3ZxpTgTLtpMzsTMg=; b=gWWCX5fwlptdS5IoW8bGluBJCM6/c4qlrzAYZbFe9ZbrLPGIbvbQDyqMv59lkbNHg7 PlhyE8vlTATrPAxiGyHHzGr4QT0lL2efvWmUG/XDKXINTMSr7sTW/00/vkLe0iZpTmyr yHW8YoS+1DwJYqxJV4VO4O79a3q54jimGDtA8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=co2XS3wb6OZtBmD6ZLblpyjGfmm3ZxpTgTLtpMzsTMg=; b=QiNpMYispmcVAFwe0PbMoJMpM8+6fh61U9sJwyn9CasUy7RyaZpMf//mqhZ7UDU0JX biiQ4WQJMIhH/qH/83LqOR3z5qkf/kcS9x8/n3rWLYYnrwq5qL/Vc92jQhkhbEWyXaas tfVyN7VmXr7ozXWlgDaNeMp6CO1BONNzjH9X0obepRMO4qC98D8Scee9rD9D0d6bxZzq h97CgfXT1LkWNXiHgTQrsYORhT5QwtzT/FgR5/1Ia32WLsIzYga643oZwqbtj208Na0I 4LzsW4r4XyvWr/QPurPxwMlkcdSYkAe4EAxDurTFk8/SLG8fhQF7w8QWDz6ZHDrSlQrV J6kA== X-Gm-Message-State: AElRT7HmOL+4bOvvLBFyMHO/0+z92n/70WISrN1TnZyKo5wzCxg+z4tT jwaJYu90kDi5gFpmLM50b18ntnNzUbNttXpfdyfeYdFNJuS7jS9BrnsfFjNEbGaRUgOSqTHMTu0 qvcNtRjzdzIinCsVMDGZenyVmkX294ydTyngTXcz+OAWjrAVBFNwjPg7OIt1XPgcT2c15x0cy2Q == X-Google-Smtp-Source: AIpwx4913Sgv8PPurrhnYvkq6yG3gbk6vWId+divcvT0AqwVSzQieZ3/qORv9iRBXwjAdBTj9He+klKOUdJ0 X-Received: by 10.55.166.215 with SMTP id p206mr13130989qke.312.1522351006465; Thu, 29 Mar 2018 12:16:46 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id y141sm1216679qka.1.2018.03.29.12.16.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Mar 2018 12:16:46 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Received: from groose.ofa (unknown [IPv6:2606:4100:3880:1240:cc3b:885c:7cb:4a8e]) by postal.iol.unh.edu (Postfix) with ESMTP id E3D1F6045DC0; Thu, 29 Mar 2018 15:16:45 -0400 (EDT) From: Patrick MacArthur To: dts@dpdk.org Cc: dpdklab@iol.unh.edu Date: Thu, 29 Mar 2018 15:15:58 -0400 Message-Id: <20180329191605.5404-1-pmacarth@iol.unh.edu> X-Mailer: git-send-email 2.14.1 Subject: [dts] [PATCH for-next v3 0/7] Fixes and modifications for T-Rex integration and nic_single_core_perf X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2018 19:16:47 -0000 The first four patches of this series are bug fixes necessary to run the nic_single_core_perf test in its current state in the UNH-IOL environment. Patch 5 automates starting T-Rex as part of the prepare_generator() setup step, if the "start_trex" configuration option is enabled. Patch 6 adds a section to the DTS getting started guide which describes how T-Rex should be configured for relevant tests. Patch 7 adds JSON output to the nic_single_core_perf test, which can be more easily consumed by automated tools. This patch set targets the next branch, and I have uploaded these patches to our local open-source git server: The following changes since commit 41685e25bedcbb1bf895c1094913aab3bf42de1e: framework/dut: adjust memory allocation for arm64 (2018-02-08 21:27:50 +0800) are available in the git repository at: https://oss.iol.unh.edu/dpdk/dts.git tags/for-next-v3-trex-single-core-perf for you to fetch changes up to 9aec13369928c8c62257ad78fb8abb7f535863b3: tests/TestSuite_nic_single_core_perf: Report the results in JSON format (2018-03-29 14:54:21 -0400) Patrick MacArthur (7): framework/texttable: Update to latest upstream version framework: Do not attempt ping6 on T-Rex ports tests/TestSuite_nic_single_core_perf: Fix config parsing tests/TestSuite_nic_single_core_perf: Use user-specified output dir framework/pktgen: Start T-Rex during prepare_generator() doc: Add T-Rex section to documentation tests/TestSuite_nic_single_core_perf: Report the results in JSON format Changes from v2: - Remove STLClient.resolve() call; assume that T-Rex is in Layer 2 stateless mode. - Add trex section to manual describing expected Layer 2 stateless configuration. - Fix missing 'os' import (identified by Ali Alnubani). - Add JSON output file for use by UNH-IOL test lab. Changes from v1: - Add a configuration option to pktgen.cfg; trex is only started by DTS if the option is present and non-empty. - Drop patch 6 which renamed the test case. conf/pktgen.cfg | 2 + doc/dts_gsg/index.rst | 1 + doc/dts_gsg/trex.rst | 27 +++++ framework/dut.py | 4 +- framework/pktgen.py | 34 ++++-- framework/tester.py | 11 +- framework/texttable.py | 145 +++++++++++++++++--------- framework/virt_dut.py | 2 +- test_plans/nic_single_core_perf_test_plan.rst | 2 + tests/TestSuite_nic_single_core_perf.py | 53 ++++++---- 10 files changed, 191 insertions(+), 90 deletions(-) create mode 100644 doc/dts_gsg/trex.rst -- 2.14.1