diff options
author | emmanuel.grumbach@intel.com <emmanuel.grumbach@intel.com> | 2015-10-26 11:31:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-27 08:24:22 +0300 |
commit | 8941faa161b526199e55ca7764cf875383453612 (patch) | |
tree | 8c6b00aacf266432b12317de09ff5d89786423cd /include/net/tso.h | |
parent | 61b9da925a5e985afc268eb8184f1af3ef542422 (diff) | |
download | linux-8941faa161b526199e55ca7764cf875383453612.tar.xz |
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.h | 1 |
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; }; |