OID_NDK_STATISTICS

As a query, NDIS and overlying drivers or user-mode applications use the OID_NDK_STATISTICS OID to get the NDK statistics of a miniport adapter.

NDIS 6.30 and later miniport drivers that provide NDK services must support this OID. Otherwise, this OID is optional.

Note  NDIS supports this OID with the direct OID request interface. For more information about the direct OID request interface, see NDIS 6.1 Direct OID Request Interface.
 

Remarks

NDIS issues this OID with the InformationBuffer member of the NDIS_OID_REQUEST structure pointing to an NDIS_NDK_STATISTICS_INFO structure.

The NDK-capable miniport driver must provide the CounterSet member, which is a NDIS_NDK_PERFORMANCE_COUNTERS structure.

The counters are published to tools such as perfmon (see the NetworkDirect Activity performance counter) and made available programmatically with the Performance Data Helper (PDH) and Performance Library (PERFLIB) programming interfaces. For more information about these interfaces, see Performance Counters.

These counters are also available by calling the Get-NetAdapterStatistics PowerShell cmdlet with the RdmaStatistics attribute. For more information about the RdmaStatistics attribute, see MSFT_NetAdapterStatisticsSettingData.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Version

Supported in NDIS 6.30 and later.

Header

Ntddndis.h (include Ndis.h)

See also

Kernel Mode Performance Monitoring
NDIS_NDK_PERFORMANCE_COUNTERS
NDIS_NDK_STATISTICS_INFO
NDIS_OID_REQUEST

 

 

Send comments about this topic to Microsoft

Show: