test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Niklas Söderlund" <niklas.soderlund@corigine.com>
To: dts@dpdk.org
Cc: oss-drivers@corigine.com, "Qin Ke" <qin.ke@corigine.com>,
	"Niklas Söderlund" <niklas.soderlund@corigine.com>
Subject: [PATCH 0/2] tests/speed_capabilities: Document and convert to a common speed unit
Date: Mon,  3 Jul 2023 21:25:40 +0200	[thread overview]
Message-ID: <20230703192542.36809-1-niklas.soderlund@corigine.com> (raw)

Hello,

This small series addresses and issue where the speed read from a PMD 
may have different unit (Mbps vs Gbps). As the existing use-case depends 
on the speed read from the PMD is in Mbps document this and convert to 
it if it's read in Gbps.

The second patch is a small optimization where the test can fail faster 
if it can't read the speed from the PMD.

Qin Ke (2):
  framework/pmd_output: report link speed in Mbps
  tests/speed_capabilities: optimize code sequence of test case

 framework/pmd_output.py               | 12 +++++++++++-
 tests/TestSuite_pmd_bonded.py         | 12 +++++++++++-
 tests/TestSuite_speed_capabilities.py | 16 ++++++++--------
 tests/TestSuite_vf_pmd_bonded.py      | 12 +++++++++++-
 4 files changed, 41 insertions(+), 11 deletions(-)

-- 
2.41.0


             reply	other threads:[~2023-07-03 19:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-03 19:25 Niklas Söderlund [this message]
2023-07-03 19:25 ` [PATCH 1/2] framework/pmd_output: report link speed in Mbps Niklas Söderlund
2023-07-03 19:25 ` [PATCH 2/2] tests/speed_capabilities: optimize code sequence of test case Niklas Söderlund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230703192542.36809-1-niklas.soderlund@corigine.com \
    --to=niklas.soderlund@corigine.com \
    --cc=dts@dpdk.org \
    --cc=oss-drivers@corigine.com \
    --cc=qin.ke@corigine.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).