On Sun, 21 Jan 2024 06:32:42 +0100 Morten Brørup <m...@smartsharesystems.com> wrote:
> I suppose that reducing mbuf->nb_segs from 16 to 8 bit is realistic, > considering that a maximum size IP packet (64 KB) is unlikely to use more > than 64 plus some segments. Does anyone know of any use case with more than > 255 segments in an mbuf? There is the case of Linux internally using super large IPv6 (and now IPv4) frames. See RFC 2675 IPv6 jumbograms https://netdevconf.info/0x15/slides/35/BIG%20TCP.pdf