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



> From: Michael S. Tsirkin <mst@redhat.com>
> Sent: Monday, September 4, 2023 6:58 PM

> > So counter looks ok to me when VIRTIO_NET_F_MTU is not negotiated or
> > when mtu matches.
> 
> If someone misconfigures the LAN with different devices using different MTU
> values .... all bets are off. OK we can put something in spec e.g. for debugging
> but really just don't do this.
> 
True. When all the entities exactly know everything, gso_size <= mtu can be omitted.
When such things are unknown it is needed.

> > > >
> > > > 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]