diff options
author | Tom Herbert <tom@herbertland.com> | 2016-04-23 18:46:57 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-26 05:27:07 (GMT) |
commit | 90bfe662db13d49cadc6714b0b8ed7e2d0535c5c (patch) | |
tree | 1f7d7cab0c43d934ddcfa5bb008144c1f6dabf31 /arch | |
parent | 642c2c95585dac4ea977140dbb1149fd1e2e7f7f (diff) | |
download | linux-90bfe662db13d49cadc6714b0b8ed7e2d0535c5c.tar.xz |
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 'arch')
0 files changed, 0 insertions, 0 deletions