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-comment] [PATCH v2] virtio-net: support distinguishing between partial and full checksum




å 2023/11/9 äå4:01, Michael S. Tsirkin åé:
On Thu, Nov 09, 2023 at 11:55:01AM +0800, Jason Wang wrote:
Most userspace doesn't care about the checksum though.

Maybe we need a flag
to say which offloads are expensive?

That exposes some device details which seem not good (e.g we may want
to do migration among hardware and software).

Thanks
If you do then things will be less well tuned on one of the migration
ends but then that is by design, isn't it?
Ok, so I'm fine to enable it by default.

Thanks
I was really asking a question. Is it true that full is more expensive
than partial for the device?

It depends on the device. For performant (e.g. IO queues are hardware accelerated) or well-resourced devices, the overhead of full csum compared to partial csum is almost negligible.

So it should only be enabled if
strictly required?

I think for software devices, yes.

Thanks.


--
MST


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/



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