]> 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)
commitfa3a38ac24406f7d50310c9dd95e6530c03ad424
tree8c6b00aacf266432b12317de09ff5d89786423cd
parentca8d253d6053e0cbec8eca3655840a5a92ae018e
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