]> asedeno.scripts.mit.edu Git - linux.git/commit
ila: add checksum neutral map auto
authorTom Herbert <tom@quantonium.net>
Sun, 5 Nov 2017 23:58:23 +0000 (15:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Nov 2017 02:20:48 +0000 (11:20 +0900)
commit84287bb3285634b60c55c00a1d5ed843b44fde92
tree2e212cdf5454318fd22e2d60e32b876cd5eab9f1
parent80661e7687f202514ee5eea0e74916d3c50c2606
ila: add checksum neutral map auto

Add checksum neutral auto that performs checksum neutral mapping
without using the C-bit. This is enabled by configuration of
a mapping.

The checksum neutral function has been split into
ila_csum_do_neutral_fmt and ila_csum_do_neutral_nofmt. The former
handles the C-bit and includes it in the adjustment value. The latter
just sets the adjustment value on the locator diff only.

Added configuration for checksum neutral map aut in ila_lwt
and ila_xlat.

Signed-off-by: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ila.h
net/ipv6/ila/ila_common.c
net/ipv6/ila/ila_lwt.c
net/ipv6/ila/ila_xlat.c