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

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-comment message

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


Subject: RE: RE: RE: RE: [PATCH v16] virtio-net: support device stats


> From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
> Sent: Monday, September 4, 2023 2:23 PM


> > "The device MUST NOT pass received packets that exceed mtu (plus low
> > level ethernet header length) size with gso_type NONE or ECN after
> VIRTIO_NET_F_MTU has been successfully negotiated."
> 
> NO.
> 
> If the mtu is 1500, we can pass 64k packets to the driver with gso_type (not
> NONE).

Any supporting citation to spec for above comment?

Each packet must be 1500 for the mtu normative above.
gso_size to <= mtu (ingoring the hdr math for simplicity for now).
whole GSO completion can be for 64K to be reported in used_elem.len.


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