PA LUT1 Instance Destinations
PA LLD Constants (enum's and define's)

PA LUT1 Instance Destinations

These values are used by the module user to specify the LUT1 table instance used by the specified IP, ACL or customLUT1 entry.

Note:
PA LLD will determine the appropriate LUT1 instance to add/configure LUT1 entry based on the types of API and the linking information in normal operation, i.e. when lutInst is set to pa_LUT_INST_NOT_SPECIFIED. These values are only used by module users, who want to maintain their own LUT1 tables, to overwrite the default rules.
#define pa_LUT1_INST_0_0   0
#define pa_LUT1_INST_0_1   1
#define pa_LUT1_INST_1_0   2
#define pa_LUT1_INST_1_1   3
#define pa_LUT1_INST_2_0   4
#define pa_LUT1_INST_3_0   5
#define pa_LUT1_INST_4_0   6
#define pa_LUT1_INST_5_0   7
#define pa_LUT1_INST_0_GEN1   0
#define pa_LUT1_INST_1_GEN1   1
#define pa_LUT1_INST_2_GEN1   2
#define pa_LUT1_INST_MAX_GEN1   pa_LUT1_INST_2_GEN1
#define pa_LUT1_INST_0_GEN2   pa_LUT1_INST_0_0
#define pa_LUT1_INST_1_GEN2   pa_LUT1_INST_1_0
#define pa_LUT1_INST_2_GEN2   pa_LUT1_INST_4_0
#define pa_LUT1_INST_MAX_GEN2   pa_LUT1_INST_5_0

Common LUT1 instance for NSS

Define the LUT1 instance based on the compiler switch NSS_GEN2 to cover both generations of NSS. These values are intended to be used by the LLD only. For the application which maintain the LUT1 tables should either use the LUT1 instance definitions with _GEN1 and _GEN2 suffix or these definitions with the compiler switch NSS_GEN2 defined or undefined.

#define pa_LUT1_INST_0   pa_LUT1_INST_0_GEN1
#define pa_LUT1_INST_1   pa_LUT1_INST_1_GEN1
#define pa_LUT1_INST_2   pa_LUT1_INST_2_GEN1
#define pa_LUT1_INST_MAX   pa_LUT1_INST_MAX_GEN1

Define Documentation

LUT1 instance 0

LUT1 Instance 0 for MAC/SRIO

#define pa_LUT1_INST_0_0   0

LUT1 instance of Ingress0, PDSP0

LUT1 table connected to Ingress0, PDSP0

#define pa_LUT1_INST_0_1   1

LUT1 instance of Ingress0, PDSP1

LUT1 table connected to Ingress0, PDSP1

LUT1 instance of Ingress1, PDSP1

#define pa_LUT1_INST_0_GEN1   0

LUT1 table connected to PDSP0 (PASS Gen1)

LUT1 table equivalent to Netcp 1.0 LUT1_0 (Pass Gen2)

LUT1 instance 1

LUT1 instance 1 for Outer IP

#define pa_LUT1_INST_1_0   2

LUT1 instance of Ingress1, PDSP0

LUT1 table connected to Ingress1, PDSP0

#define pa_LUT1_INST_1_1   3

LUT1 table connected to Ingress1, PDSP1

#define pa_LUT1_INST_1_GEN1   1

LUT1 table connected to PDSP1 (PASS Gen1)

LUT1 table equivalent to Netcp 1.0 LUT1_1 (Pass Gen2)

LUT1 instance 2

LUT1 instance 2 for Inner IP

#define pa_LUT1_INST_2_0   4

LUT1 instance of Ingress2, PDSP0

LUT1 table connected to Ingress2, PDSP0

#define pa_LUT1_INST_2_GEN1   2

LUT1 table connected to PDSP2 (PASS Gen1)

LUT1 table equivalent to Netcp 1.0 LUT1_2 (Pass Gen2)

#define pa_LUT1_INST_3_0   5

LUT1 instance of Ingress3, PDSP0

LUT1 table connected to Ingress3, PDSP0

#define pa_LUT1_INST_4_0   6

LUT1 instance of Ingress4, PDSP0

LUT1 table connected to Ingress4, PDSP0

#define pa_LUT1_INST_5_0   7

LUT1 instance of Egress0, PDSP0

LUT1 table connected to Egress0, PDSP0 LUT1 instances of First Generation PASS

Specify the maximum LUT1 instance

LUT1 instances of Second Generation PASS


Copyright 2014, Texas Instruments Incorporated