public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik•org>
To: Rusty Russell <rusty@rustcorp•com.au>
Cc: Linus Torvalds <torvalds@linux-foundation•org>,
	David Miller <davem@davemloft•net>,
	netdev@vger•kernel.org,
	virtualization@lists•linux-foundation.org
Subject: Re: [PATCH] virtio_net: Set VIRTIO_NET_F_GUEST_CSUM feature
Date: Fri, 11 Jul 2008 01:22:22 -0400	[thread overview]
Message-ID: <4876EE0E.1000400@garzik.org> (raw)
In-Reply-To: <200807081710.42530.rusty@rustcorp.com.au>

Rusty Russell wrote:
> From: Mark McLoughlin <markmc@redhat•com>
> 
> We can handle receiving partial csums, so set the
> appropriate feature bit.
> 
> Signed-off-by: Mark McLoughlin <markmc@redhat•com>
> Signed-off-by: Rusty Russell <rusty@rustcorp•com.au>
> ---
>  drivers/net/virtio_net.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
> --- a/drivers/net/virtio_net.c
> +++ b/drivers/net/virtio_net.c
> @@ -550,7 +550,8 @@ static struct virtio_device_id id_table[
>  };
>  
>  static unsigned int features[] = {
> -	VIRTIO_NET_F_CSUM, VIRTIO_NET_F_GSO, VIRTIO_NET_F_MAC,
> +	VIRTIO_NET_F_CSUM, VIRTIO_NET_F_GUEST_CSUM,
> +	VIRTIO_NET_F_GSO, VIRTIO_NET_F_MAC,
>  	VIRTIO_NET_F_HOST_TSO4, VIRTIO_NET_F_HOST_UFO, VIRTIO_NET_F_HOST_TSO6,
>  	VIRTIO_NET_F_HOST_ECN, VIRTIO_F_NOTIFY_ON_EMPTY,
>  };
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in

applied



      reply	other threads:[~2008-07-11  5:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08  7:10 [PATCH] virtio_net: Set VIRTIO_NET_F_GUEST_CSUM feature Rusty Russell
2008-07-11  5:22 ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4876EE0E.1000400@garzik.org \
    --to=jeff@garzik$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=rusty@rustcorp$(echo .)com.au \
    --cc=torvalds@linux-foundation$(echo .)org \
    --cc=virtualization@lists$(echo .)linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox