kdnetpf.h header

This header is used by miniport NDIS drivers for 2PF debugger support to allow increased performance for high speed network adapters. This feature is available in Windows 11 and later.

Using the PCI multiple Physical Function (PF) feature for KDNET allows for debugging to be enabled with minimal performance impact.

The Physical Function (PF) is a PCI Express (PCIe) function of a network adapter that supports the single root I/O virtualization (SR-IOV) interface. The PF includes the SR-IOV Extended Capability in the PCIe Configuration space. The capability is used to configure and manage the SR-IOV functionality of the network adapter, such as enabling virtualization and exposing PCIe Virtual Functions (VFs).

The PF supports the SR-IOV Extended Capability structure in its PCIe configuration space. This structure is defined in the PCI-SIG Single Root I/O Virtualization and Sharing 1.1 specification.

For more information, see the following topics:

kdnetpf.h contains the following programming interfaces:

Structures

 
NDIS_KDNET_ADD_PF

The KDNETPF transport support NDIS_KDNET_ADD_PF structure describes the data required to add a PF to the BDF port.
NDIS_KDNET_BDF

The KDNETPF transport support NDIS_KDNET_BDF structure describes the PCI location of the port to query.
NDIS_KDNET_ENUMERATE_PFS

The KDNETPF transport support NDIS_KDNET_ENUMERATE_PFS structure describes the data required to enumerate the list of PF.
NDIS_KDNET_PF_ENUM_ELEMENT

KDNETPF transport support API NDIS_KDNET_PF_ENUM_ELEMENT is a PF element array structure.
NDIS_KDNET_QUERY_PF_INFORMATION

KDNETPF transport support API NDIS_KDNET_QUERY_PF_INFORMATION structure describes the data required to query the PF management data.
NDIS_KDNET_REMOVE_PF

The KDNETPF transport support API NDIS_KDNET_REMOVE_PF structure describes the data required to remove a PF from the BDF port.

Enumerations

 
NDIS_KDNET_PF_STATE

The KDNETPF transport support NDIS_KDNET_PF_STATE enumeration defines the PF state.
NDIS_KDNET_PF_USAGE_TAG

The KDNETPF transport support NDIS_KDNET_PF_USAGE_TAG enumeration defines the PF usage.