Command Code
PA LLD Constants (enum's and define's)

PA Command Codes

Define the commands which can be executed in PASS

A single command or a set of commands can be executed to support fully-offloaded data path in both the transmit (to network) and receive (from network) directions. In the to-network direction, the list of commands formatted by the module should be stored as the protocol-specific information at the packet descriptor with the packet. The commands will be executed in order at PASS and the associated security accelerator sub-system (SASS). The executed commands will be removed by PASS and SASS so that the output packet will not contain any command. In the from-network direction, the list of commands formatted by the module will be stored at the PASS as a command set which can be referred to by the command set index. A single command including a command set can be executed per the enhanced routing information paRouteInfo_t after a LUT1 or LUT2 matches.

Note:
The packet offset specified at each command of the command list should be strictly in ascending order becasue the PASS processes the list of commands in order and it can not move backwards. The command violating the order requirement may be detected and rejected by the API Pa_formatTxCmd and Pa_configCmdSet. In the case, the order constraint can not be validated at the LLD, the violating command will be ignored by the PASS.
#define pa_CMD_NONE   0
#define pa_CMD_NEXT_ROUTE   1
#define pa_CMD_CRC_OP   2
#define pa_CMD_COPY_DATA_TO_PSINFO   3
#define pa_CMD_PATCH_DATA   4
#define pa_CMD_TX_CHECKSUM   5
#define pa_CMD_MULTI_ROUTE   6
#define pa_CMD_REPORT_TX_TIMESTAMP   7
#define pa_CMD_REMOVE_HEADER   8
#define pa_CMD_REMOVE_TAIL   9
#define pa_CMD_CMDSET   10
#define pa_CMD_SA_PAYLOAD   11
#define pa_CMD_IP_FRAGMENT   12
#define pa_CMD_USR_STATS   13
#define pa_CMD_CMDSET_AND_USR_STATS   14
#define pa_CMD_PATCH_MSG_LEN   15
#define pa_CMD_VERIFY_PKT_ERROR   16
#define pa_CMD_SPLIT   17
#define pa_CMD_EF_OP   18

Define Documentation

#define pa_CMD_NONE   0

End of commands


Copyright 2014, Texas Instruments Incorporated