aboutsummaryrefslogtreecommitdiffstats
path: root/sys/dev/ixl/ixl.h
diff options
context:
space:
mode:
authorEric Joyner <erj@FreeBSD.org>2018-11-08 21:36:45 +0000
committerEric Joyner <erj@FreeBSD.org>2018-11-08 21:36:45 +0000
commit84b28a1f9bfd05bd013395ab68debb67e7051dfa (patch)
treea22e0801d06ee2a0fc13c89071bc59528b34a098 /sys/dev/ixl/ixl.h
parenta14a7bbbc34b29ff85e9836ebd92c511fb39234a (diff)
downloadsrc-84b28a1f9bfd05bd013395ab68debb67e7051dfa.tar.gz
src-84b28a1f9bfd05bd013395ab68debb67e7051dfa.zip
MFC r340256: ixl/iavf(4): Fix TSO offloads when TXCSUM is disabled
Approved by: re (gjb@)
Notes
Notes: svn path=/stable/12/; revision=340263
Diffstat (limited to 'sys/dev/ixl/ixl.h')
-rw-r--r--sys/dev/ixl/ixl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ixl/ixl.h b/sys/dev/ixl/ixl.h
index fe0a2064d3c9..d38f391cf928 100644
--- a/sys/dev/ixl/ixl.h
+++ b/sys/dev/ixl/ixl.h
@@ -258,6 +258,8 @@
(CSUM_IP_UDP|CSUM_IP6_UDP)
#define IXL_CSUM_SCTP \
(CSUM_IP_SCTP|CSUM_IP6_SCTP)
+#define IXL_CSUM_IPV4 \
+ (CSUM_IP|CSUM_IP_TSO)
/* Pre-11 counter(9) compatibility */
#if __FreeBSD_version >= 1100036