Re: [PATCH v4 4/4] dts: add test case that utilizes offload to pmd_buffer_scatter

2024-06-21 Thread Juraj Linkeš
with testpmd_shell as testpmd: testpmd.set_forward_mode(TestPmdForwardingModes.mac) +# adjust the MTU of the SUT ports +for port_id in range(testpmd.number_of_ports): +testpmd.set_port_mtu(port_id, 9000) For a second I thought abo

Re: [PATCH v4 4/4] dts: add test case that utilizes offload to pmd_buffer_scatter

2024-06-20 Thread Jeremy Spewock
On Wed, Jun 19, 2024 at 4:51 AM Juraj Linkeš wrote: > > > > -def scatter_pktgen_send_packet(self, pktsize: int) -> str: > > +def scatter_pktgen_send_packet(self, pktsize: int) -> list[Packet]: > > A note: We should make this method a part of TestSuite (so that we have > a common way to fil

Re: [PATCH v4 4/4] dts: add test case that utilizes offload to pmd_buffer_scatter

2024-06-19 Thread Juraj Linkeš
-def scatter_pktgen_send_packet(self, pktsize: int) -> str: +def scatter_pktgen_send_packet(self, pktsize: int) -> list[Packet]: A note: We should make this method a part of TestSuite (so that we have a common way to filter packets across all test suites) in a separate patchset as p

[PATCH v4 4/4] dts: add test case that utilizes offload to pmd_buffer_scatter

2024-06-13 Thread jspewock
From: Jeremy Spewock Some NICs tested in DPDK allow for the scattering of packets without an offload and others enforce that you enable the scattered_rx offload in testpmd. The current version of the suite for testing support of scattering packets only tests the case where the NIC supports testin