[PATCH 0/2] tests/speed_capabilities: Document and convert to a common speed unit

Niklas Söderlund niklas.soderlund at corigine.com
Mon Jul 3 21:25:40 CEST 2023


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



More information about the dts mailing list