Message ID | 1254954265.31575.191.camel@w-sridhar.beaverton.ibm.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
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>
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. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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;
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> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html