Data Structures | Defines | Typedefs
PA LLD Data Structures
PA LLD Module API

Data Structures

union  paIpAddr_t
 IP address specification. More...
union  paEntryHandle_t
 A generic entry handle types. More...
struct  paStartCfg_t
 PA start configuration structure. More...
struct  paSizeInfo_t
 PA Size Configuration Structure. More...
struct  paConfig_t
 PA Initialization config structure. More...
struct  paProtocolLimit_t
 Protocol-specific Limitations. More...
struct  paIpReassmConfig_t
 IP Reassembly Configuration Information. More...
struct  paCmdSetConfig_t
 Command Set Configuration Information. More...
struct  paUsrStatsConfig_t
 User-defined Statistics Configuration Information. More...
struct  paQueueDivertConfig_t
 Queue Diversion Configuration Information. More...
struct  paPacketControlConfig_t
 Packet Control Configuration Information. More...
struct  paSysConfig_t
 PA System Configuration Information structure. More...
struct  pa802p1agDetConfig_t
 802.1ag Detection Configuration Information. More...
struct  paIpsecNatTConfig_t
 IPSEC NAT-T Packet Detection Configuration Information. More...
struct  paGtpuConfig_t
 GTP-U Configuration Information. More...
struct  paCtrlInfo_t
 PA Control Information structure. More...
struct  paCmdReply_t
 paCmdReply_t is used to specify command result (from PASS) routing information More...
struct  paCmdNextRoute_t
 Next Route Command. More...
struct  paCmdCrcOp_t
 CRC Generation/Verification Command. More...
struct  paCmdSplitOp_t
 Split Command. More...
struct  paTxChksum_t
 Transmit checksum configuration. More...
struct  paCmdCopy_t
 Copy Command. More...
struct  paCmdMultiRoute_t
 Multi-route Command. More...
struct  paCmdSet_t
 Command Set Command. More...
struct  paPatchInfo_t
 Packet patching configuration. More...
struct  paPayloadInfo_t
 paPayloadInfo_t defines the packet payload information in the short format. It is required by the Security Accelerator sub-system (SASS) More...
struct  paCmdTxTimestamp_t
 Tx timestamp reporting information. More...
struct  paCmdIpFrag_t
 IP fragmentation information. More...
struct  paPatchMsgLenInfo_t
 Message length patching configuration. More...
struct  paCmdUsrStats_t
 User-defined Statistics Command. More...
struct  paCmdSetUsrStats_t
 Command Set plus User-defined Statistics Command. More...
struct  paCmdVerifyPktErr_t
 Verify Packet Error Command. More...
struct  paCmdInfo_t
 PA Command Information structure. More...
struct  paIpInfo_t
 IP lookup information. More...
struct  paIpInfo2_t
 Enhanced IP lookup information. More...
struct  paEthInfo_t
 MAC/Ethernet lookup information. More...
struct  paEthInfo2_t
 Enhanced MAC/Ethernet lookup information. More...
struct  paSrioType11Info_s
 SRIO Type11 header information. More...
struct  paSrioType9Info_s
 SRIO Type9 header information. More...
union  paSrioTypeInfo_t
 Srio message type specific header information. More...
struct  paSrioInfo_t
 SRIO lookup information. More...
struct  paRouteInfo_t
 Packet routing configuration. More...
struct  paRouteInfo2_t
 Enhanced Packet routing configuration. More...
struct  paMultiRouteEntry_t
 Packet Multi-route entry configuration. More...
struct  paCrcConfig_t
 CRC Engine configuration. More...
struct  paTimestampConfig_t
 Timestamp configuration. More...
struct  paUsrStatsCounterEntryConfig_t
 User-defined statistics counter entry configuration information. More...
struct  paUsrStatsCounterConfig_t
 User-defined statistics counter configuration information. More...
struct  paUsrStatsConfigInfo_t
 User-defined statistics configuration information. More...
struct  paUsrStatsAlloc_t
 User-defined statistics Allocation information. More...
struct  paClassify1Stats_s
 PA Classify1 Statistics Structure. More...
struct  paClassify2Stats_s
 PA Classify2 Statistics Structure. More...
struct  paModifyStats_s
 PA Modifier Statistics Structure. More...
struct  paCommonStats_s
 PA Common Statistics Structure. More...
struct  paSysStats_s
 PA System Statistics Structure. More...
struct  paUsrStats_s
 PA User-defined Statistics Structure. More...
struct  paTimestamp_t
 PA Timestamp Structure. More...
struct  paParamDesc
 PA API parameters structure. More...

Defines

#define pa_MAC_ADDR_SIZE   6
 MAC address specification.
#define pa_IPV4_ADDR_SIZE   4
 IPv4 address specification.
#define pa_IPV6_ADDR_SIZE   16
 IPv6 address specificiation.

Typedefs

typedef void * Pa_Handle
 Specification of Pa_Handle.
typedef void * paHandleL2L3_t
 PA handle specification for L2 and L3 (LUT1) handles.
typedef void * paLnkHandle_t
 PA link handle specification for L2, L3 (LUT1) and virtual link handles.
typedef uint32_t paHandleL4_t [2]
 PA handle specification for L4 (LUT2) handles.
typedef void * pa_RmHnd
 pa RM Handle
typedef void * paCmd_t
 Pointer to the buffer where the PASS command is placed.
typedef int paReturn_t
 The return type for module functions.
typedef struct paSrioType11Info_s paSrioType11Info_t
 SRIO Type11 header information.
typedef struct paSrioType9Info_s paSrioType9Info_t
 SRIO Type9 header information.
typedef int paSSstate_t
 paSState_t defines the operating state of the packet accelerator sub-system
typedef struct paClassify1Stats_s paClassify1Stats_t
 PA Classify1 Statistics Structure.
typedef struct paClassify2Stats_s paClassify2Stats_t
 PA Classify2 Statistics Structure.
typedef struct paModifyStats_s paModifyStats_t
 PA Modifier Statistics Structure.
typedef struct paCommonStats_s paCommonStats_t
 PA Common Statistics Structure.
typedef struct paSysStats_s paSysStats_t
 PA System Statistics Structure.
typedef struct paUsrStats_s paUsrStats_t
 PA User-defined Statistics Structure.

Define Documentation

#define pa_IPV4_ADDR_SIZE   4

IPv4 address specification.

This type is used to pass IPv4 addresses (see netlayers) to the module. The most significant byte of the IP address is placed in array element 0.

#define pa_IPV6_ADDR_SIZE   16

IPv6 address specificiation.

This type is used to pass IPv6 addresses (see netlayers) to the module. The most significant byte of the IP address is placed in array element 0.

#define pa_MAC_ADDR_SIZE   6

MAC address specification.

This type is used to pass MAC addresses (see netlayers) to the module. The most significant byte of the mac address is placed in array element 0.


Typedef Documentation

typedef void* Pa_Handle

Specification of Pa_Handle.

The Pa_Handle is used to identify a PA LLD instance

PA Classify1 Statistics Structure.

This structures define the PA Classify1-specific statistics provided with API function Pa_formatStatsReply ().

PA Classify2 Statistics Structure.

This structures define the PA Classify2-specific statistics provided with API function Pa_formatStatsReply ().

typedef void* paCmd_t

Pointer to the buffer where the PASS command is placed.

Functions in this module produce formatted commands that must be sent to the packet accelerator sub-system. These commands are always referred to through this type.

PA Common Statistics Structure.

This structures define the PA Common statistics provided with API function Pa_formatStatsReply ().

typedef void* paHandleL2L3_t

PA handle specification for L2 and L3 (LUT1) handles.

This type is used to reference L2 and L3 (LUT1) routing information (see netlayers). The module user is responsible for storing the handle and using it to refer to routing information already created through calls to Pa_addMac, Pa_addSrio, Pa_addCustomLUT1 and Pa_addIp.

typedef uint32_t paHandleL4_t[2]

PA handle specification for L4 (LUT2) handles.

This type is used to reference L4 (LUT2) routing information (see netlayers). The module user is responsible for storing the handle. It is used again only to delete a created route.

typedef void* paLnkHandle_t

PA link handle specification for L2, L3 (LUT1) and virtual link handles.

This type is used to reference L2, L3 (LUT1) and virtual link information. The module user is responsible for storing the handle and using it to refer to L2/L3/Virtual link handle already created through calls to Pa_addMac, Pa_addSrio, Pa_addCustomLUT1, Pa_addIp and Pa_addVirtualLink

PA Modifier Statistics Structure.

This structures define the PA Modifier-specific statistics provided with API function Pa_formatStatsReply ().

typedef int paReturn_t

The return type for module functions.

Function calls to this module return values used to determine if the command was successful or the reason for failure (see Function Return Values).

SRIO Type11 header information.

The structure describes the SRIO type 11 specific Lo-L2 header information.

SRIO Type9 header information.

The structure describes the SRIO type 9 specific L0-L2 header information.

typedef int paSSstate_t

paSState_t defines the operating state of the packet accelerator sub-system

The values in PA Sub-system Queries and States are used both to set the state of the packet accelerator sub-system (pa_STATE_RESET and pa_STATE_ENABLE) as well as show the current state of the system (all values).

typedef struct paSysStats_s paSysStats_t

PA System Statistics Structure.

This structures define the PA System statistics provided with API function Pa_formatStatsReply ().

typedef struct paUsrStats_s paUsrStats_t

PA User-defined Statistics Structure.

This structures define the PA User-defined statistics provided with API function Pa_requestUsrStats ().


Copyright 2014, Texas Instruments Incorporated