summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2015-02-10 16:30:33 -0800
committerDavid S. Miller <davem@davemloft.net>2015-02-11 15:12:13 -0800
commitfe881ef11cf0220f118816181930494d484c4883 (patch)
treefc3c9744cddeb0bba07c0ed258de06df4eb01487 /include
parent0ace2ca89cbd6bcdf2b9d2df1fa0fa24ea9d1653 (diff)
downloadlwn-fe881ef11cf0220f118816181930494d484c4883.tar.gz
lwn-fe881ef11cf0220f118816181930494d484c4883.zip
gue: Use checksum partial with remote checksum offload
Change remote checksum handling to set checksum partial as default behavior. Added an iflink parameter to configure not using checksum partial (calling csum_partial to update checksum). Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/fou.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/fou.h b/include/uapi/linux/fou.h
index 8df06894da23..c303588bb767 100644
--- a/include/uapi/linux/fou.h
+++ b/include/uapi/linux/fou.h
@@ -14,6 +14,7 @@ enum {
FOU_ATTR_AF, /* u8 */
FOU_ATTR_IPPROTO, /* u8 */
FOU_ATTR_TYPE, /* u8 */
+ FOU_ATTR_REMCSUM_NOPARTIAL, /* flag */
__FOU_ATTR_MAX,
};