Re: [RFC PATCH v2] Initial Implementation For Jumbo Frames Test Suite

2024-07-01 Thread Nicholas Pratte
If I would like to create a test suite that is driver agnostic, then I would need to increase the boundaries at which I conduct each individual test case. Right now, I test jumbo frame behavior -1, +1, or at the MTU boundary. But, packets in TestPMD are dropped or forwarded based on the MTU size pl

Re: [RFC PATCH v2] Initial Implementation For Jumbo Frames Test Suite

2024-06-25 Thread Stephen Hemminger
On Tue, 25 Jun 2024 15:57:02 -0400 Nicholas Pratte wrote: > The previous comments led me to go on an investigation about how MTUs > are allocated in testpmd. --max-pkt-len, which the documentation > states is defaulted to 1518, will shave off 18 bytes to account for > the 14 byte Ethernet frame a

Re: [RFC PATCH v2] Initial Implementation For Jumbo Frames Test Suite

2024-06-25 Thread Thomas Monjalon
Nicholas, you are writing a test for the API. You should not adapt to the driver behaviour. If the driver does not report what we can expect from the API definition, it is a bug. Ferruh, please can you explain what is the problem with MTU sizes? 25/06/2024 21:57, Nicholas Pratte: > The previous

Re: [RFC PATCH v2] Initial Implementation For Jumbo Frames Test Suite

2024-06-25 Thread Nicholas Pratte
The previous comments led me to go on an investigation about how MTUs are allocated in testpmd. --max-pkt-len, which the documentation states is defaulted to 1518, will shave off 18 bytes to account for the 14 byte Ethernet frame and the Dot1Q headers. This is the case when using Mellanox, but for

Re: [RFC PATCH v2] Initial Implementation For Jumbo Frames Test Suite

2024-06-21 Thread Honnappa Nagarahalli
> On Jun 21, 2024, at 5:18 PM, Stephen Hemminger > wrote: > > On Fri, 21 Jun 2024 17:19:21 -0400 > Nicholas Pratte wrote: > >> +The test suite ensures the consistency of jumbo frames transmission within >> +Poll Mode Drivers using a series of individual test cases. If a Poll Mode >> +Driver

Re: [RFC PATCH v2] Initial Implementation For Jumbo Frames Test Suite

2024-06-21 Thread Stephen Hemminger
On Fri, 21 Jun 2024 17:19:21 -0400 Nicholas Pratte wrote: > +The test suite ensures the consistency of jumbo frames transmission within > +Poll Mode Drivers using a series of individual test cases. If a Poll Mode > +Driver receives a packet that is greater than its assigned MTU length, then > +th

[RFC PATCH v2] Initial Implementation For Jumbo Frames Test Suite

2024-06-21 Thread Nicholas Pratte
The following test suite reflects the fundamental outline for how the jumbo frames test suite may be designed. The test suite consists of five individual test cases, each of which assesses the behavior of packet transmissions for both 1518 byte and 9000 byte frames. The edge cases are ripped direc