* [PATCH] virtio_net: Set VIRTIO_NET_F_GUEST_CSUM feature
@ 2008-07-08 7:10 Rusty Russell
2008-07-11 5:22 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Rusty Russell @ 2008-07-08 7:10 UTC (permalink / raw)
To: Linus Torvalds; +Cc: David Miller, Jeff Garzik, netdev, virtualization
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,
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] virtio_net: Set VIRTIO_NET_F_GUEST_CSUM feature
2008-07-08 7:10 [PATCH] virtio_net: Set VIRTIO_NET_F_GUEST_CSUM feature Rusty Russell
@ 2008-07-11 5:22 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-07-11 5:22 UTC (permalink / raw)
To: Rusty Russell; +Cc: Linus Torvalds, David Miller, netdev, virtualization
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-11 5:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).