# Srio_DriverInst Struct Reference

The structure describes the SRIO Driver Instance. More...

## Data Fields

Cppi_ChHnd | rxChHnd
| SRIO Receive channel handle returned by the CPPI library.
Cppi_ChHnd | txChHnd
| SRIO Transmit channel handle returned by the CPPI library.
Cppi_FlowHnd | flowHandle
| CPPI Flow Handle.
Qmss_QueueHnd | rxQueue
| SRIO Receive Queue. The BD's in this queue are used to receive data packets.
Qmss_QueueHnd | rxCompletionQueue
| SRIO Receive Completion Queue. Once a packet has been received it is removed from the above queue and placed into the completion queue waiting for the driver to service it.
Qmss_QueueHnd | txQueue
| SRIO Transmit Queue. The queue is the well defined SRIO Tx queue and is used to send data packets.
Qmss_QueueHnd | txFreeQueue
| SRIO Transmit Free Queue. The queue contains a list of buffer descriptors which are available and can be used by the driver for transmission.
void * | socketDoorbellDatabase [MAX_DOORBELL_REG][MAX_DOORBELL_BIT]
| This is the Socket to Doorbell Database which maps DIO sockets to a specific Doorbell register and Doorbell bit.
uint16_t | isAccumulatorProgrammed
| The flag which indicates if the Accumulator is programmed or not. Accumulator is only programmed if the receive completion queue passed to the configuration is NULL.
uint32_t | accChannel
| The accumulator channel which has been programmed.
uint32_t | rxPingAddress
| Receive Ping Completion Accumulator List address. SRIO driver expects accumulator list will be allocated from local memory (un-cached memory) for performance reasons. Using local memory reduces the overhead of cache invalidates on every Srio_rxCompletionIsr() call.
uint32_t | rxPongAddress
| Receive Pong Completion Accumulator List address. SRIO driver expects accumulator list will be allocated from local memory (un-cached memory) for performance reasons. Using local memory reduces the overhead of cache invalidates on every Srio_rxCompletionIsr() call.
uint16_t | rxUsePingList
| Receive Pong Completion Accumulator List address.
int32_t | rxDescSize
| Normal Socket: Receive Descriptor Size.
int32_t | txDescSize
| Normal Socket: Transmit Descriptor Size.
void * | socketList
| Each Driver instance has a list of sockets which can be opened on them.
uint32_t | accInterrupts
| Counter which keeps track of the number of interrupts.
Srio_DrvConfig | cfg
| SRIO Driver configuration block passed by the driver user during initialization.

## Detailed Description

The structure describes the SRIO Driver Instance.

The SRIO driver can have multiple instances each of which is bound to a specific SRIO channel.

The documentation for this struct was generated from the following file:

- srio_drv.c

Copyright 2012, Texas Instruments Incorporated