From 8941faa161b526199e55ca7764cf875383453612 Mon Sep 17 00:00:00 2001 From: "emmanuel.grumbach@intel.com" Date: Mon, 26 Oct 2015 10:31:29 +0200 Subject: net: tso: add support for IPv6 Adding IPv6 for the TSO helper API is trivial: * Don't play with the id (which doesn't exist in IPv6) * Correctly update the payload_len (don't include the length of the IP header itself) Signed-off-by: Emmanuel Grumbach Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- include/net/tso.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/net/tso.h') diff --git a/include/net/tso.h b/include/net/tso.h index 47e5444f7d15..b7be852bfe9d 100644 --- a/include/net/tso.h +++ b/include/net/tso.h @@ -8,6 +8,7 @@ struct tso_t { void *data; size_t size; u16 ip_id; + bool ipv6; u32 tcp_seq; }; -- cgit v1.2.3