search for: dev_disable_gso_featur

Displaying 1 result from an estimated 1 matches for "dev_disable_gso_featur".

Did you mean: dev_disable_gso_featu
2007 Aug 13
0
[LINUX] netfront: Cleanup and fix TSO/GSO/CHECKSUM conditionals
...ug 07 09:37:41 2007 +0100 +++ b/drivers/xen/netfront/netfront.c Mon Aug 13 14:30:37 2007 +0800 @@ -99,6 +99,7 @@ static const int MODPARM_rx_flip = 0; #if defined(NETIF_F_GSO) #define HAVE_GSO 1 #define HAVE_TSO 1 /* TSO is a subset of GSO */ +#define HAVE_CSUM_OFFLOAD 1 static inline void dev_disable_gso_features(struct net_device *dev) { /* Turn off all GSO bits except ROBUST. */ @@ -106,6 +107,7 @@ static inline void dev_disable_gso_featu dev->features |= NETIF_F_GSO_ROBUST; } #elif defined(NETIF_F_TSO) +#define HAVE_GSO 0 #define HAVE_TSO 1 /* Some older kern...