search for: have_no_csum_offload

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

2007 Aug 13
0
[LINUX] netfront: Cleanup and fix TSO/GSO/CHECKSUM conditionals
...+#define HAVE_GSO 0 #define HAVE_TSO 1 /* Some older kernels cannot cope with incorrect checksums, @@ -113,7 +115,7 @@ static inline void dev_disable_gso_featu * with the presence of NETIF_F_TSO but it appears to be a good first * approximiation. */ -#define HAVE_NO_CSUM_OFFLOAD 1 +#define HAVE_CSUM_OFFLOAD 0 #define gso_size tso_size #define gso_segs tso_segs @@ -138,8 +140,12 @@ static inline int netif_needs_gso(struct unlikely(skb->ip_summed != CHECKSUM_HW)); } #else +#define HAVE_GSO 0 +#define HAVE_TSO 0 +#define HA...