speed_capabilities Test Suite

Speed capability test suite.

This test suite ensures that testpmd recognizes the expected speed from a link in Gbps.

class Config

Bases: BaseConfig

Performance test metrics.

class TestSpeedCapabilities

Bases: TestSuite

Speed capabilities test suite.

set_up_suite()

Set up the test suite.

validate_port_speed() None

Validate expected port speed is also the observed port speed.

Steps:
  • Show port info for each available port

Verify:
  • The resulting link speeds are equal to the configured link speeds