History log of /freebsd-10-stable/sys/net/rndis.h
Revision Date Author Comments
# 321760 31-Jul-2017 sephe

MFC 321408

rndis: Add LINK_SPEED_CHANGE status

Reviewed by: hselasky
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D11650


# 308503 10-Nov-2016 sephe

MFC 307985-307988

307985
hyperv/hn: Nuke unnecessary M_NETVSC

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8340

307986
hyperv/hn: Move %b format string for capabilities near their definition.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8341

307987
hyperv/hn: Define empty packet filter.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8342

307988
hyperv/hn: Shuffle chimney sending buffer alloc/free around.

This paves way for more chimney sending buffer reorganization.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8343


# 308497 10-Nov-2016 sephe

MFC 307843

hyperv/hn: Fix RX filter settings.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8313


# 308494 10-Nov-2016 sephe

MFC 307710-307712,307714

307710
hyperv/hn: Always query RSS capabilities.

- This avoid distributing NDIS version check.
- Only NDIS 6.20 required (earlier NDIS uses different indirect table
format).

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8291

307711
hyperv/hn: Check NVS version for HASHVAL pktinfo on sending path.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8293

307712
hyperv/hn: Add network change support.

Currently the network change is simulated by link status changes.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8295

307714
hyperv/hn: Function renaming; consistent w/ hardware capabilities query.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8296


# 307620 19-Oct-2016 sephe

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


# 307260 13-Oct-2016 sephe

MFC 306484,306485

306484
hyperv/vmbus: Add missing vmbus_if.c to module build.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8067

306485
hyperv/hn: Add stubs for OFFLOAD_CURRENT_CONFIG and NETWORK_CHANGE status

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8068


# 307198 13-Oct-2016 sephe

MFC 305405,305407,305408,305410,305411,305453

305405
hyperv/vmbus: Stringent header length and total length check.

While I'm here, minor style changes.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7752

305407
hyperv/hn: Stringent NVS notification length check.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7753

305408
hyperv/hn: Stringent NVS RNDIS packets length checks.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7755

305410
net/rndis: Define RNDIS status message, which could be sent by device.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7757

305411
hyperv/hn: Stringent RNDIS control message length check.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7758

305453
hyperv/hn: Stringent RNDIS packet message length/offset check.

While I'm here, use definition in net/rndis.h

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7782


# 307194 13-Oct-2016 sephe

MFC 305277,305278

305277
net/rndis: Add comment for rndis_comp_hdr

Reviewed by: hps
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7738

305278
net/rndis: Define common message header for RNDIS messages.

And avoid RNDIS_HEADER_OFFSET hardcoding.

Reviewed by: hps
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7739


# 307193 13-Oct-2016 sephe

MFC 305175,305176,305179,305182,305268,305270,305276

305175
net/rndis: Define per-packet-info for RNDIS packet message

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7708

305176
hyperv/hn: Stringent per-packet-info verification.

While I'm here, minor style changes.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7709

305179
hyperv/hn: Fix VLAN tag construction.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7716

305182
net/rndis: Define types for RNDIS pktinfo rm_type field.

They are defined by NDIS spec, so the NDIS prefix.

Reviewed by: hps
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7717

305268
hyperv/hn: Rework RXCSUM related bits

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7735

305270
hyperv/hn: Simplify RX hash related bits.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7736

305276
hyperv/hn: Use the per-packet-info types defined by net/rndis.h

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7737


# 307188 13-Oct-2016 sephe

MFC 305173,305174

305173
net/rndis: Add comment for rndis_set_parameter

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7705

305174
hyperv/hn: Remove unused function

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7706


# 307184 13-Oct-2016 sephe

MFC 304973,304975,304976,304979,305044-305048

304973
hyperv/hn: Switch to new RNDIS query for link status extraction.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7654

304975
hyperv/hn: Switch to new RNDIS query for RSS capabilities extraction.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7656

304976
hyperv/hn: Fix # of channels setting, if RSS is not available.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7657

304979
hyperv/hn: Switch to new RNDIS set for RSS parameters.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7658

305044
hyperv/hn: Move OIDs to net/rndis.h; they are standard NDIS OIDs.

Actually all OIDs defined in net/rndis.h are standard NDIS OIDs.
While I'm here, use the verbose macro name as in NDIS spec.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7679

305045
hyperv/hn: Indentation and field comment fixup for ndis.h.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7680

305046
net/rndis: Packet types are defined by NDIS; not RNDIS specific.

Reviewed by: hps
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7681

305047
hyperv/hn: Switch to new RNDIS set for RX filters.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7683

305048
hyperv/hn: Remove unused function

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7684


# 307181 13-Oct-2016 sephe

MFC 304832-304834,304972

304832
hyperv/hn: Use vmbus xact for RNDIS query.

And switch MAC address query to use new RNDIS query function.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7639

304833
hyperv/hn: Save the adopted NDIS version for RNDIS to use later.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7640

304834
hyperv/hn: Use vmbus xact for RNDIS set.

And use new RNDIS set to configure NDIS offloading parameters.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7641

304972
hyperv/hn: Add definition for NDIS media state.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7652


# 307178 12-Oct-2016 sephe

MFC 304783-304785

304783
hyperv/hn: Use definition in net/rndis.h for message type and status code.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7620

304784
hyperv/hn: Add compat code for RNDIS reorganization phase.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7621

304785
hyperv/hn: Use vmbus xact for RNDIS initialize.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7624


# 307175 12-Oct-2016 sephe

MFC 304654,304722,304723

304654
net: Split RNDIS protocol structs/macros out of dev/usb/net/if_urndisreg.h

So that Hyper-V can leverage them instead of rolling its own definition.

Discussed with: hps
Reviewed by: hps
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7592

304722
net/rndis: Add canonical RNDIS major/minor version as of today.

Reviewed by: hps
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7593

304723
net/rndis: Fix RNDIS_STATUS_PENDING definition.

While I'm here, sort the RNDIS status in ascending order.

Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7594