OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [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 <mst@redhat.com>
---
 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]