From: François Tigeot Date: Mon, 20 Aug 2012 19:59:03 +0000 (+0200) Subject: kernel: IFCAP_TSO is really IPv4-specific X-Git-Tag: v3.2.0~249 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/46117e3ec209f6cef549369bb574f1cd7940759a?ds=sidebyside kernel: IFCAP_TSO is really IPv4-specific * Rename IFCAP_TSO to IFCAP_TSO4 to make things crystal clear, keeping the old name for compatibility * Add IFCAP_TSO6 for the future --- diff --git a/sys/net/if.h b/sys/net/if.h index e0a890abe9..efd211452c 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -162,7 +162,9 @@ struct if_data { #define IFCAP_JUMBO_MTU 0x00020 /* 9000 byte MTU support */ #define IFCAP_RSS 0x00040 /* Receive Side Scaling for IPv4 */ #define IFCAP_VLAN_HWCSUM 0x00080 /* can do IFCAP_HWCSUM on VLANs */ -#define IFCAP_TSO 0x00100 /* can offload TCP segementation */ +#define IFCAP_TSO4 0x00100 /* can offload TCP segmentation */ +#define IFCAP_TSO IFCAP_TSO4 +#define IFCAP_TSO6 0x00200 /* can offload TCP6 segmentation */ #define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)