net: tso: add support for IPv6
authoremmanuel.grumbach@intel.com <emmanuel.grumbach@intel.com>
Mon, 26 Oct 2015 08:31:29 +0000 (10:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Oct 2015 05:24:22 +0000 (22:24 -0700)
commit8941faa161b526199e55ca7764cf875383453612
tree8c6b00aacf266432b12317de09ff5d89786423cd
parent61b9da925a5e985afc268eb8184f1af3ef542422
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>
include/net/tso.h
net/core/tso.c