Bewerken

Delen via


NDIS_TCP_RECV_SEG_COALESCE_OFFLOAD structure (ntddndis.h)

The NDIS_TCP_RECV_SEG_COALESCE_OFFLOAD structure contains the offload support state for receive segment coalescing (RSC).

Syntax

typedef struct _NDIS_TCP_RECV_SEG_COALESCE_OFFLOAD {
  struct {
    BOOLEAN Enabled;
  } IPv4;
  struct {
    BOOLEAN Enabled;
  } IPv6;
} NDIS_TCP_RECV_SEG_COALESCE_OFFLOAD, *PNDIS_TCP_RECV_SEG_COALESCE_OFFLOAD;

Members

IPv4

IPv4.Enabled

A BOOLEAN value that is set to TRUE if RSC processing on IPv4 traffic is supported. Otherwise, this member is FALSE.

IPv6

IPv6.Enabled

A BOOLEAN value that is set to TRUE if RSC processing on IPv6 traffic is supported. Otherwise, this member is FALSE.

Remarks

A miniport driver advertises support for receive segment coalescing (RSC) in the Rsc member of the NDIS_OFFLOAD structure that it passes to the NdisMSetMiniportAttributes function.

The miniport driver can set the IPv4.Enabled member or the IPv6.Enabled member or both in the NDIS_TCP_RECV_SEG_COALESCE_OFFLOAD structure to TRUE if it supports RSC for these protocols. The miniport driver must support RSC for 802.3 encapsulation or greater, and can support any other encapsulations. If the miniport driver does not support RSC for some encapsulation, the received packets of that encapsulation type must be indicated up the stack normally.

To determine if a miniport driver supports RSC, NDIS drivers and other applications can query the OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES OID which returns the NDIS_OFFLOAD structure.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.30 and later.
Header ntddndis.h (include Ndis.h)

See also

NDIS_OFFLOAD

NdisMSetMiniportAttributes

OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES