Bobby Eshleman <[email protected]> writes: > On Wed, Oct 28, 2026 at 05:04:36PM +0100, Sergio Lopez wrote: >> Vhost splits large datagrams across guest RX buffers, delivering each >> fragment as a separate message. Allocate full-size RX buffers with >> page fragments when datagrams are negotiated, and drop whole datagrams >> if a guest buffer is too small. Refill empty RX queues even when only >> one full-size buffer fits in the ring. > > I wonder if it might be better to do what seqpacket does, and just split > the datagram across the buffers (for seqpacket, until the EOM flag is > seen)? I'd expect that we will get better utilization of our vq buffers > this way? >
Yeah, I do like that approach better. I'm going to implement it for v2. Thanks! Sergio.
