]> git.baikalelectronics.ru Git - kernel.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)
commit8dd2fabefa51101277a1b67a11c983ed9de28944
tree2e212cdf5454318fd22e2d60e32b876cd5eab9f1
parent28c03d472e072cdc872239cfa3de0aff05bc6634
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