From 46117e3ec209f6cef549369bb574f1cd7940759a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Tigeot?= Date: Mon, 20 Aug 2012 21:59:03 +0200 Subject: [PATCH] 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 --- sys/net/if.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.41.0