aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macsec.c
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2016-04-23 11:46:57 -0700
committerDavid S. Miller <davem@davemloft.net>2016-04-26 01:27:07 -0400
commit90bfe662db13d49cadc6714b0b8ed7e2d0535c5c (patch)
tree1f7d7cab0c43d934ddcfa5bb008144c1f6dabf31 /drivers/net/macsec.c
parentila: xlat changes (diff)
downloadlinux-dev-90bfe662db13d49cadc6714b0b8ed7e2d0535c5c.tar.xz
linux-dev-90bfe662db13d49cadc6714b0b8ed7e2d0535c5c.zip
ila: add checksum neutral ILA translations
Support checksum neutral ILA as described in the ILA draft. The low order 16 bits of the identifier are used to contain the checksum adjustment value. The csum-mode parameter is added to described checksum processing. There are three values: - adjust transport checksum (previous behavior) - do checksum neutral mapping - do nothing On output the csum-mode in the ila_params is checked and acted on. If mode is checksum neutral mapping then to mapping and set C-bit. On input, C-bit is checked. If it is set checksum-netural mapping is done (regardless of csum-mode in ila params) and C-bit will be cleared. If it is not set then action in csum-mode is taken. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions