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: [virtio-dev] RE: RE: RE: RE: [PATCH v16] virtio-net: support device stats




å 2023/9/4 äå6:26, Parav Pandit åé:
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?

I think it can be referred here:
"The converse features are also available: a driver can save the virtual device some work by negotiating these features. Note: For example, a network packet transported between two guests on the same system might not need checksumming at all, nor segmentation, if both guests are amenable."


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org



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