Command buffer minimum size requirements
PA LLD Constants (enum's and define's)

Command buffer minimum sizes

Define command buffer minimum size requirements.

#define pa_ADD_LUT1_MIN_CMD_BUF_SIZE_BYTES   124
#define pa_ADD_MAC_MIN_CMD_BUF_SIZE_BYTES   pa_ADD_LUT1_MIN_CMD_BUF_SIZE_BYTES
#define pa_DEL_HANDLE_MIN_CMD_BUF_SIZE_BYTES   32
#define pa_DEL_L4_HANDLE_MIN_CMD_BUF_SIZE_BYTES   28
#define pa_ADD_IP_MIN_CMD_BUF_SIZE_BYTES   240
#define pa_ADD_LUT2_MIN_CMD_BUF_SIZE_BYTES   48
#define pa_ADD_PORT_MIN_CMD_BUF_SIZE_BYTES   pa_ADD_LUT2_MIN_CMD_BUF_SIZE_BYTES
#define pa_CONFIG_EXCEPTION_ROUTE_MIN_CMD_BUF_SIZE_BYTES   520
#define pa_CONFIG_CRC_ENGINE_MIN_CMD_BUF_SIZE_BYTES   88
#define pa_CONFIG_MULTI_ROUTE_MIN_CMD_BUF_SIZE_BYTES   84
#define pa_SET_CUSTOM_LUT1_MIN_CMD_BUF_SIZE_BYTES   60
#define pa_SET_CUSTOM_LUT2_MIN_CMD_BUF_SIZE_BYTES   36
#define pa_CONFIG_CMD_SET_MIN_CMD_BUF_SIZE_BYTES   144
#define pa_REQUEST_STATS_MIN_CMD_BUF_SIZE_BYTES   24
#define pa_CONFIG_USR_STATS_MIN_CMD_BUF_SIZE_BYTES   2068
#define pa_GLOBAL_CONFIG_MIN_CMD_BUF_SIZE_BYTES   72
#define pa_802_1ag_DET_MIN_CMD_BUF_SIZE_BYTES   24
#define pa_IPSEC_NAT_T_DET_MIN_CMD_BUF_SIZE_BYTES   24
#define pa_GTPU_CONFIG_MIN_CMD_BUF_SIZE_BYTES   24
#define pa_EMAC_PORT_CONFIG_MIN_CMD_BUF_SIZE_BYTES   632
#define pa_MAX_CMD_BUF_SIZE_BYTES   2068

Define Documentation

The minmium command buffer size allowed when using the Pa_control (pa_CONTROL_802_1ag_CONFIG) function to configure the 802.1ag packet detector.

The minimum command buffer size required when using the Pa_addIp and Pa_addIp2 functions

The minimum command buffer size required when using the Pa_addSrio and Pa_addCustomLUT1 function

The minimum command buffer size required when using the Pa_addCustomLUT2 function

The minimum command buffer size required when using the Pa_addMac and Pa_addMac2 function

The minimum command buffer size required when using the Pa_addPort function

The minimum command buffer size allowed when using the Pa_configCmdSet and Pa_formatTxCmd function

The minimum command buffer size required when using the Pa_configCrcEngine function

The minimum command buffer size required when using the Pa_configExceptionRoute and Pa_configEflowExceptionRoute function

The minimum command buffer size required when using the Pa_configMultiRoute function

The minmium command buffer size allowed when using the Pa_configUsrStats function with the maximum number of user-defined statistics. The size of command packet is calculated as 20 + (number of statistic entries) * 4.

The minimum command buffer size required when using the Pa_delHandle function

The minimum command buffer size required when using the Pa_delL4Handle function

The minmium command buffer size allowed when using the Pa_control (pa_CONTROL_EMAC_PORT_CONFIG) function to configure the ethernet port configuration operations.

The minmium command buffer size allowed when using the Pa_control (pa_CONTROL_SYS_CONFIG) function to perform PASS global configuration.

The minmium command buffer size allowed when using the Pa_control (pa_CONTROL_GTPU_CONFIG) function to configure the GTUP classification operation.

The minmium command buffer size allowed when using the Pa_control (pa_CONTROL_IPSEC_NAT_T_CONFIG) function to configure the IPSEC NAT-T packet detector.

#define pa_MAX_CMD_BUF_SIZE_BYTES   2068

The maximum command buffer size requested when using any PA API call which generates command packet.

The minimum command buffer size required when using the Pa_requestStats and Pa_requestUsrStats functions

The minimum command buffer size required when using the Pa_setCustomLUT1 function

The minimum command buffer size required when using the Pa_setCustomLUT2 function


Copyright 2014, Texas Instruments Incorporated