lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1KSU3v-00037r-00@gondolin.me.apana.org.au>
Date:	Mon, 11 Aug 2008 17:51:39 +0800
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	rusty@...tcorp.com.au (Rusty Russell)
Cc:	anthony@...emonkey.ws, netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH 0/9][RFC] KVM virtio_net performance

Rusty Russell <rusty@...tcorp.com.au> wrote:
>
> add an "else if (skb->ip_summed == CHECKSUM_PARTIAL)" case...

If you're going to hack the guest kernel, then you might as well
fix the guest DHCP client.  However, we should default checksum
offload to off until we know that the client is capable of handling
it (to handle guests that haven't been fixed).

One easy way of doing this is to hook up the rx checksum offload
option in the guest with the tx offload option in the host.  In
other words, when rx offload is enabled in the guest we enable
tx offload in the host, and disable it vice versa.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ