RTNAL_DEVICE_INFO

RTNAL_DEVICE_INFO is a structure that specifies data on the network device as part of structure RTNAL_QUEUE.

Syntax

typedef struct _RTNAL_DEVICE_INFO{
  	CHAR deviceName[RTNAL_DEVICE_NAME_LENGTH];
  	RTNAL_PCI_LOCATION pciLocation;
  	BYTE macAddress[RTNAL_MAC_ADDRESS_LENGTH];
  	ULONG driverIndex;
  	ULONG numberOfRxQueues;
  	ULONG numberOfTxQueues;
  	ULONG defaultQueue;
  	ULONG maxPacketSize;
  	ULONG numRxBuffers;
  	ULONG numTxBuffers;
  	BOOL linkStatusEnabled;
  	void *reserved[4]
}RTNAL_DEVICE_INFO, *PRTNAL_DEVICE_INFO;

Fields

deviceName

Network friendly device name.

pciLocation

Network device PCI location.

macAddress

Physical address.

driverIndex

Device driver index for this device.

numberOfRxQueues

Number of receive queue pairs configured for the device.

numberOfTxQueues

Number of transmit queue pairs configured for the device.

defaultQueue

Index of a receive queue configured to receive unfiltered data.

maxPacketSize

Maximum packet size, not includes FCS.

numRxBuffers

Number of receive DMA buffers.

numTxBuffers

Number of transmit DMA buffers.

linkStatusEnabled

Line status monitoring is supported by the device and enabled.

Requirements

Minimum Supported Version RTX64 4.0
Header rtnapi.h, RtNalApi.h
Library RtNal.lib

See Also:

RTNAL_QUEUE