NetExtensionGetPacketRsc function (rsc.h)
The NetExtensionGetPacketRsc function retrieves receive segment coalescence (RSC) information for a packet.
Syntax
EXTERN_C_START NET_PACKET_RSC * NetExtensionGetPacketRsc(
NET_EXTENSION const *Extension,
UINT32 Index
);
Parameters
Extension
A pointer to a NET_EXTENSION structure that describes the RSC extension information for this receive queue.
Index
The index in the packet ring for the target NET_PACKET.
Return value
Returns a pointer to a NET_PACKET_RSC structure that holds the RSC information for this packet.
Remarks
NIC client drivers typically query offsets for packet extensions during datapath queue creation, then store them in their queue context space so they don't have to query them too often. For an example of this, see Transmit and receive queues. Clients can retrieve the RSC offset from the queue context to pass to NetExtensionGetPacketRsc.
This function is a wrapper function around NetExtensionGetData.
Requirements
Requirement | Value |
---|---|
Minimum UMDF version | 2.33 |
Header | rsc.h |
IRQL | Any level as long as target memory is resident |