aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tso.h
diff options
context:
space:
mode:
authoremmanuel.grumbach@intel.com <emmanuel.grumbach@intel.com>2015-10-26 10:31:29 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-26 22:24:22 -0700
commit8941faa161b526199e55ca7764cf875383453612 (patch)
tree8c6b00aacf266432b12317de09ff5d89786423cd /include/net/tso.h
parentMerge tag 'arcnet-for-4.4-rc1' of git://git.pengutronix.de/git/mgr/linux (diff)
downloadlinux-dev-8941faa161b526199e55ca7764cf875383453612.tar.xz
linux-dev-8941faa161b526199e55ca7764cf875383453612.zip
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 <emmanuel.grumbach@intel.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tso.h')
-rw-r--r--include/net/tso.h1
1 files changed, 1 insertions, 0 deletions
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;
};