summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-19 07:24:32 +0000
committersephe <sephe@FreeBSD.org>2016-10-19 07:24:32 +0000
commitdc46df7561ebe75f8bd3d5b89478eb8a17600384 (patch)
treee9c3cfb7296493ad624b69f9aa48f8b0c50229ed /sys/net
parentc82515f1657ed148dccf0f57652dadd19dbb73cc (diff)
downloadFreeBSD-src-dc46df7561ebe75f8bd3d5b89478eb8a17600384.zip
FreeBSD-src-dc46df7561ebe75f8bd3d5b89478eb8a17600384.tar.gz
MFC 306936-306939
306936 hyperv/hn: Fix checksum offload settings The _correct_ way to identify the supported checksum offloading and TSO parameters is to query OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES. Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8088 306937 hyperv/hn: Fix if_hw_tsomax setup. Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8089 306938 hyperv/hn: Generalize RSS capabilities query. - Support NDIS < 6.30. - Stringent response checks. Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8090 306939 hyperv/hn: Suffix NDIS offload size with NDIS version. Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8091
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/rndis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/rndis.h b/sys/net/rndis.h
index 2d7a5bf..9da76bc 100644
--- a/sys/net/rndis.h
+++ b/sys/net/rndis.h
@@ -87,6 +87,7 @@
#define OID_802_3_XMIT_LATE_COLLISIONS 0x01020207
#define OID_TCP_OFFLOAD_PARAMETERS 0xFC01020C
+#define OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES 0xFC01020D
#define RNDIS_MEDIUM_802_3 0x00000000
OpenPOWER on IntegriCloud