aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgb/cxgb_osdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cxgb/cxgb_osdep.h')
-rw-r--r--sys/dev/cxgb/cxgb_osdep.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/cxgb/cxgb_osdep.h b/sys/dev/cxgb/cxgb_osdep.h
index 96072bbe9103..2f3d0ce0c106 100644
--- a/sys/dev/cxgb/cxgb_osdep.h
+++ b/sys/dev/cxgb/cxgb_osdep.h
@@ -114,6 +114,11 @@ struct t3_mbuf_hdr {
#define M_SANITY(m, n)
#endif
+#if __FreeBSD_version >= 701000
+#define LRO_SUPPORTED
+#define TOE_SUPPORTED
+#endif
+
#define __read_mostly __attribute__((__section__(".data.read_mostly")))
/*