SRIO LLD Symbols Defined
[SRIO LLD]

Defines

#define DEFAULT_SRIO_MAX_PENDING_PACKETS   5
 This defines the maximum depth of the SRIO socket receive queues. This is the MAX number of packets which can be enqueued in the SRIO socket receive queue before packets get dropped.
#define NUM_SRIO_TYPE9_TYPE11_SOCKETS   64
 This is the maximum number of Type9 and Type11 sockets that can be created. This is limited by the hardware and since Type9 and Type11 share the same QID_MAP register both of them are limited to this.
#define NUM_DIO_SOCKETS   8
 This is the maximum number of DIO sockets that can be created. This limit is specified by the number of LSU blocks.
#define SRIO_SET_DBELL_INFO(DBELL_REG, DBELL_BIT)
 This is a macro provided for the application and should be used if a DOORBELL is to be transmitted.
#define SRIO_GET_DBELL_REG(DBELL_INFO)   CSL_FEXTR(DBELL_INFO, 31, 16)
 This is a macro provided for the application and should be used to get the doorbell register information once data is received on the DIO socket.
#define SRIO_GET_DBELL_BIT(DBELL_INFO)   CSL_FEXTR(DBELL_INFO, 15, 0)
 This is a macro provided for the application and should be used to get the doorbell bit information once data is received on the DIO socket.
#define SRIO_TYPE11_HW_ASSIGNED_LETTER_VALUE   4
 Specifies to use hardware assigned Letter to which the message will be send. The hardware will check for an unused context starting with letter = 0 (A), and incrementing to letter = 3 (D). The first unused context with that letter will be used. If there are no context available with any letters then the packet is stopped and re-arbitrated in the TXU until one does get available.
#define SRIO_TYPE11_RX_ACCEPT_ALL_MBOX_VALUE   0xFFFF
 This value can be used to accept all mailbox values on receive side. Setting a mailbox number to this value will set MBX_MASK to "0x000000" in RIO_RXU_MAPxx_L register.

Define Documentation

#define SRIO_GET_DBELL_BIT ( DBELL_INFO   )     CSL_FEXTR(DBELL_INFO, 15, 0)

This is a macro provided for the application and should be used to get the doorbell bit information once data is received on the DIO socket.

See also:
Srio_sockRecv
#define SRIO_GET_DBELL_REG ( DBELL_INFO   )     CSL_FEXTR(DBELL_INFO, 31, 16)

This is a macro provided for the application and should be used to get the doorbell register information once data is received on the DIO socket.

See also:
Srio_sockRecv
#define SRIO_SET_DBELL_INFO ( DBELL_REG,
DBELL_BIT   ) 
Value:
CSL_FMKR(31, 16, DBELL_REG) | \
                                                   CSL_FMKR(15,  0, DBELL_BIT)

This is a macro provided for the application and should be used if a DOORBELL is to be transmitted.

See also:
Srio_sockSend

Copyright 2012, Texas Instruments Incorporated