* [PATCH] net: Make UFO on master device independent of attached devices
@ 2009-10-07 22:24 Sridhar Samudrala
2009-10-07 23:41 ` Herbert Xu
2009-10-08 5:01 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Sridhar Samudrala @ 2009-10-07 22:24 UTC (permalink / raw)
To: David Miller, Herbert Xu, netdev
Now that software UFO is supported, UFO can be enabled on master
devices like bridge, bond even though the attached device doesn't
support this feature in hardware.
This allows UFO to be used between KVM host and guest even when a
physical interface attached to the bridge doesn't support UFO.
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
diff --git a/net/core/dev.c b/net/core/dev.c
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -5483,7 +5483,7 @@ unsigned long netdev_increment_features(unsigned long all, unsigned long one,
one |= NETIF_F_ALL_CSUM;
one |= all & NETIF_F_ONE_FOR_ALL;
- all &= one | NETIF_F_LLTX | NETIF_F_GSO;
+ all &= one | NETIF_F_LLTX | NETIF_F_GSO | NETIF_F_UFO;
all |= one & mask & NETIF_F_ONE_FOR_ALL;
return all;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net: Make UFO on master device independent of attached devices
2009-10-07 22:24 [PATCH] net: Make UFO on master device independent of attached devices Sridhar Samudrala
@ 2009-10-07 23:41 ` Herbert Xu
2009-10-08 5:01 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2009-10-07 23:41 UTC (permalink / raw)
To: Sridhar Samudrala; +Cc: David Miller, netdev
On Wed, Oct 07, 2009 at 03:24:25PM -0700, Sridhar Samudrala wrote:
> Now that software UFO is supported, UFO can be enabled on master
> devices like bridge, bond even though the attached device doesn't
> support this feature in hardware.
>
> This allows UFO to be used between KVM host and guest even when a
> physical interface attached to the bridge doesn't support UFO.
>
> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] net: Make UFO on master device independent of attached devices
2009-10-07 22:24 [PATCH] net: Make UFO on master device independent of attached devices Sridhar Samudrala
2009-10-07 23:41 ` Herbert Xu
@ 2009-10-08 5:01 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2009-10-08 5:01 UTC (permalink / raw)
To: sri; +Cc: herbert, netdev
From: Sridhar Samudrala <sri@us.ibm.com>
Date: Wed, 07 Oct 2009 15:24:25 -0700
> Now that software UFO is supported, UFO can be enabled on master
> devices like bridge, bond even though the attached device doesn't
> support this feature in hardware.
>
> This allows UFO to be used between KVM host and guest even when a
> physical interface attached to the bridge doesn't support UFO.
>
> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-08 5:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 22:24 [PATCH] net: Make UFO on master device independent of attached devices Sridhar Samudrala
2009-10-07 23:41 ` Herbert Xu
2009-10-08 5:01 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox