← Prev in month ← Prev in thread

[PATCH] net: relax buf size requirements for mrg buffers

From
Michael S. Tsirkin <>
Date
2017-03-27T23:09:10+00:00
ID
Thread
[PATCH] net: relax buf size requirements for mrg buffers
VIRTIO-84 added a requirement that each buffer is > header size but
there's no reason to require that for merge-able buffers since data can
be placed in follow-up buffers.

The current wording seems confusing enough that it seems likely
no one relies on this.

VIRTIO-159

Signed-off-by: Michael S. Tsirkin <>
---
 content.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content.tex b/content.tex
index e57ebc5..a67610f 100644
--- a/content.tex
+++ b/content.tex
@@ -3524,7 +3524,7 @@ making for 65562 or 1526 bytes.
       with buffers of at least 1526 bytes.
   \end{itemize}
 \item If VIRTIO_NET_F_MRG_RXBUF is negotiated, each buffer MUST be at
-  greater than the size of the struct virtio_net_hdr.
+least the size of the struct virtio_net_hdr.
 \end{itemize}
 
 \begin{note}
-- 
MST
← Prev in month ← Prev in thread