diff options
| author | Tom Herbert <tom@quantonium.net> | 2017-11-05 18:58:23 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-11-07 21:20:48 -0500 |
| commit | 84287bb3285634b60c55c00a1d5ed843b44fde92 (patch) | |
| tree | 2e212cdf5454318fd22e2d60e32b876cd5eab9f1 /include | |
| parent | 80661e7687f202514ee5eea0e74916d3c50c2606 (diff) | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/linux/ila.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ila.h b/include/uapi/linux/ila.h index f54853288f99..0744881dcef3 100644 --- a/include/uapi/linux/ila.h +++ b/include/uapi/linux/ila.h | |||
| @@ -41,6 +41,7 @@ enum { | |||
| 41 | ILA_CSUM_ADJUST_TRANSPORT, | 41 | ILA_CSUM_ADJUST_TRANSPORT, |
| 42 | ILA_CSUM_NEUTRAL_MAP, | 42 | ILA_CSUM_NEUTRAL_MAP, |
| 43 | ILA_CSUM_NO_ACTION, | 43 | ILA_CSUM_NO_ACTION, |
| 44 | ILA_CSUM_NEUTRAL_MAP_AUTO, | ||
| 44 | }; | 45 | }; |
| 45 | 46 | ||
| 46 | #endif /* _UAPI_LINUX_ILA_H */ | 47 | #endif /* _UAPI_LINUX_ILA_H */ |
