]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08176610753eb6387bbeba4ab75ebe7dc601dba3
tree8c6b00aacf266432b12317de09ff5d89786423cd
parent97be26c8011e3b54d5b7e005f8ff7e5e3d680d5a
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