rx_tx_offload Test Suite

RX TX offload test suite.

Test the testpmd feature of configuring RX and TX offloads.

class TestRxTxOffload

Bases: TestSuite

RX/TX offload test suite.

test_mbuf_fast_free_configuration_per_port() None

Ensure mbuf_fast_free can be configured with testpmd per port.

Steps:
  • Start up testpmd shell.

  • Toggle mbuf_fast_free off per port.

  • Toggle mbuf_fast_free on per port.

Verify:
  • Mbuf_fast_free starts enabled.

  • Mbuf_fast_free can be configured off per port.

  • Mbuf_fast_free can be configured on per port.

test_mbuf_fast_free_configuration_per_queue() None

Ensure mbuf_fast_free can be configured with testpmd.

Steps:
  • Start up testpmd shell.

  • Toggle mbuf_fast_free off per queue.

  • Toggle mbuf_fast_free on per queue.

Verify:
  • Mbuf_fast_free starts disabled.

  • Mbuf_fast_free can be configured off per queue.

  • Mbuf_fast_free can be configured on per queue.

required_capabilities: ClassVar[set[Capability]] = {LinkTopology.ONE_LINK}

The capabilities the test case or suite requires in order to be executed.

topology_type: ClassVar[TopologyCapability] = LinkTopology.ONE_LINK

The topology type of the test case or suite.