netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next-2.6 1/2] virtio-net: Allow UFO feature to be set and advertised.
@ 2009-07-15  0:21 Sridhar Samudrala
  2009-07-16  2:28 ` Rusty Russell
  0 siblings, 1 reply; 3+ messages in thread
From: Sridhar Samudrala @ 2009-07-15  0:21 UTC (permalink / raw)
  To: David Miller, Herbert Xu, Rusty Russell, netdev

[PATCH net-next-2.6 1/2] virtio-net: Allow UFO feature to be set

- Allow setting UFO on virtio-net and advertise to host.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>

---------------------------------------------------------
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 2a6e81d..a6f903f 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -774,6 +774,7 @@ static struct ethtool_ops virtnet_ethtool_ops = {
 	.set_tx_csum = virtnet_set_tx_csum,
 	.set_sg = ethtool_op_set_sg,
 	.set_tso = ethtool_op_set_tso,
+	.set_ufo = ethtool_op_set_ufo,
 	.get_link = ethtool_op_get_link,
 };
 
@@ -1005,7 +1006,7 @@ static unsigned int features[] = {
 	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_NET_F_GUEST_TSO4, VIRTIO_NET_F_GUEST_TSO6,
-	VIRTIO_NET_F_GUEST_ECN, /* We don't yet handle UFO input. */
+	VIRTIO_NET_F_GUEST_ECN, VIRTIO_NET_F_GUEST_UFO,
 	VIRTIO_NET_F_MRG_RXBUF, VIRTIO_NET_F_STATUS, VIRTIO_NET_F_CTRL_VQ,
 	VIRTIO_NET_F_CTRL_RX, VIRTIO_NET_F_CTRL_VLAN,
 	VIRTIO_F_NOTIFY_ON_EMPTY,
> 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next-2.6 1/2] virtio-net: Allow UFO feature to be set and advertised.
  2009-07-15  0:21 [PATCH net-next-2.6 1/2] virtio-net: Allow UFO feature to be set and advertised Sridhar Samudrala
@ 2009-07-16  2:28 ` Rusty Russell
  2009-07-17 17:11   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2009-07-16  2:28 UTC (permalink / raw)
  To: Sridhar Samudrala; +Cc: David Miller, Herbert Xu, netdev

On Wed, 15 Jul 2009 09:51:02 am Sridhar Samudrala wrote:
> [PATCH net-next-2.6 1/2] virtio-net: Allow UFO feature to be set
>
> - Allow setting UFO on virtio-net and advertise to host.
>
> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>

Acked-by: Rusty Russell <rusty@rustcorp.com.au>

Thanks!
Rusty.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next-2.6 1/2] virtio-net: Allow UFO feature to be set and advertised.
  2009-07-16  2:28 ` Rusty Russell
@ 2009-07-17 17:11   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-07-17 17:11 UTC (permalink / raw)
  To: rusty; +Cc: sri, herbert, netdev

From: Rusty Russell <rusty@rustcorp.com.au>
Date: Thu, 16 Jul 2009 11:58:22 +0930

> On Wed, 15 Jul 2009 09:51:02 am Sridhar Samudrala wrote:
>> [PATCH net-next-2.6 1/2] virtio-net: Allow UFO feature to be set
>>
>> - Allow setting UFO on virtio-net and advertise to host.
>>
>> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
> 
> Acked-by: Rusty Russell <rusty@rustcorp.com.au>

Applied to net-next-2.6

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-17 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15  0:21 [PATCH net-next-2.6 1/2] virtio-net: Allow UFO feature to be set and advertised Sridhar Samudrala
2009-07-16  2:28 ` Rusty Russell
2009-07-17 17:11   ` David Miller

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).