DPDK patches and discussions
 help / color / mirror / Atom feed
* Test non-scattered jumbo frames
@ 2022-07-23 10:35 Morten Brørup
  0 siblings, 0 replies; only message in thread
From: Morten Brørup @ 2022-07-23 10:35 UTC (permalink / raw)
  To: dts; +Cc: dev

Hi DPDK DTS team,

Some Linux Ethernet drivers have the braindead idea that when configured for max packet length slightly above 1518, e.g. 1536, they will scatter packets into segments of 1024 byte, so even normal size packets get scattered. I would like ensure that DPDK PMDs don't do something remotely similar.

I have looked at the test plans for Scattered Packets (chapter 135) and Jumbo Frames (chapter 81).

Some applications do not use scattered packets, but still might support jumbo frames, so I would like to suggest two test cases to verify that PMDs don't generate scattered packets on RX, even for jumbo frames:

1. Using --mbuf-size=2048 --max-pkt-len=1600, received packets up to 1600 byte should not be scattered on RX.

2. Using --mbuf-size=16384 --max-pkt-len=9600, received packets up to 9600 byte should not be scattered on RX.


Med venlig hilsen / Kind regards,
-Morten Brørup



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-23 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23 10:35 Test non-scattered jumbo frames Morten Brørup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).