Function Return Values
PA LLD Constants (enum's and define's)

PALLD Function Return Codes

Error codes returned by PALLD API functions.

#define pa_OK   0
#define pa_ERR_CONFIG   -10
#define pa_INSUFFICIENT_CMD_BUFFER_SIZE   -11
#define pa_INVALID_CMD_REPLY_DEST   -12
#define pa_DUP_ENTRY   -13
#define pa_INVALID_DUP_ENTRY   -14
#define pa_INVALID_TABLE_MORE_SPECIFIC_ENTRY_PRESENT   -15
#define pa_INVALID_MPLS_LABEL   -16
#define pa_HANDLE_TABLE_FULL   -17
#define pa_INVALID_INPUT_HANDLE   -18
#define pa_HANDLE_INACTIVE   -19
#define pa_INVALID_IP_FLOW   -20
#define pa_WARN_ACTIVE_HANDLE_ACKED   -21
#define pa_LUT_ENTRY_FAILED   -22
#define pa_RESUBMIT_COMMAND   -23
#define pa_SYSTEM_STATE_INVALID   -24
#define pa_INVALID_LUT1_INDEX   -25
#define pa_WARN_LNK_CNT_UNSYNC   -26
#define pa_CMDSET_TOO_BIG   -27
#define pa_INVALID_LUT_INST   -28
#define pa_RESOURCE_INIT_DENIED   -29
#define pa_RESOURCE_USE_DENIED   -30
#define pa_RESOURCE_FREE_DENIED   -31
#define pa_FIRMWARE_REVISION_DIFFERENCE   -32
#define pa_VIRTUAL_LINK_TABLE_FULL   -33

Define Documentation

#define pa_CMDSET_TOO_BIG   -27

The total length of commads in the command set exceeds the limit

#define pa_DUP_ENTRY   -13

A duplicate active entry was found in the L2/L3 table. If the module user intends to replace the associate routing information for the same entry, command packet should be delivered to the PASS via the PKTDMA sub-system Otherwise, module user may decide to drop the command packet and free the buffer.

#define pa_ERR_CONFIG   -10

Invalid configuration provided to PA

The firmware revision difference

#define pa_HANDLE_INACTIVE   -19

Operation requested on an inactive handle

#define pa_HANDLE_TABLE_FULL   -17

No room for an entry in the L2 table

The provided buffer was too small to hold the command

#define pa_INVALID_CMD_REPLY_DEST   -12

An invalid destination was provided for command replies

#define pa_INVALID_DUP_ENTRY   -14

A duplicate pending entry was found in the handle table This entry can not be handled until the pending entry becomes active

#define pa_INVALID_INPUT_HANDLE   -18

Invalid handle provided

#define pa_INVALID_IP_FLOW   -20

A flow label exceeded 20 bits

#define pa_INVALID_LUT1_INDEX   -25

LUT1 index exceeds the LUT1 table range

#define pa_INVALID_LUT_INST   -28

The specified LUT1 or LUT2 instance does not exist

#define pa_INVALID_MPLS_LABEL   -16

An MPLS label exceeded 20 bits

A more specific entry was found in the handle table

#define pa_LUT_ENTRY_FAILED   -22

Sub-system could not make an entry to the LUT1 table

#define pa_OK   0

PA return code -- Function executed successfully

#define pa_RESOURCE_FREE_DENIED   -31

The resource free permission denied

#define pa_RESOURCE_INIT_DENIED   -29

The resource initialization permission denied

#define pa_RESOURCE_USE_DENIED   -30

The resource usage permission denied

#define pa_RESUBMIT_COMMAND   -23

Sub-system could not handle the command due to memory. Command must be resubmitted

#define pa_SYSTEM_STATE_INVALID   -24

Tried to download an image to a running PDSP

#define pa_VIRTUAL_LINK_TABLE_FULL   -33

Virtual link table is full

#define pa_WARN_ACTIVE_HANDLE_ACKED   -21

Sub-system reported activation of a handle already marked active

#define pa_WARN_LNK_CNT_UNSYNC   -26

Warning: Link counter out of sync


Copyright 2014, Texas Instruments Incorporated