Routed Packet Destinations
PA LLD Constants (enum's and define's)

Routed Packet Destinations

The module user specifies packet destinations for packets exiting the packet accelerator sub-system.

The destination of packets that leave the packet accelerator sub-system are provided to the module in the paRouteInfo_t structure and passed to the module through the Pa_addMac, Pa_addSrio, Pa_addIp, Pa_addCustomLUT1, Pa_addCustomLUT2 and Pa_addPort functions

#define pa_DEST_DISCARD   3
#define pa_DEST_CONTINUE_PARSE_LUT1   4
#define pa_DEST_CONTINUE_PARSE_LUT2   5
#define pa_DEST_HOST   6
#define pa_DEST_EMAC   7
#define pa_DEST_SASS   8
#define pa_DEST_SASS_LOC_DMA   11
#define pa_DEST_SRIO   9
#define pa_DEST_CASCADED_FORWARDING_LUT1   10
#define pa_DEST_EFLOW   12
#define pa_DEST_RES_1   20
#define pa_DEST_RES_2   21

Define Documentation

Cascaded forwarding packet remains in PA sub-system for next LUT1 (IP) parsing. Those packets are expected to be delivered to QoS queues based on the VLAN/DSCP priority at the next stage so that some PASS actions such as IP reassembly and IP fragment exception route will be disabled.

packet remains in PA sub-system for more parsing and LUT1 classification

Packet remains in PA sub-system for more parsing and LUT1 classification

packet remains in PA sub-system for more parsing and LUT2 classification.

Packet remains in PA sub-system for more parsing and LUT2 classification

#define pa_DEST_DISCARD   3

packet is discarded

Packet is discarded

#define pa_DEST_EFLOW   12

packet remains in PA sub-system for egress flow operation

Note:
This definition is valid for the second generation of PASS only.

Packet is routed to Egress Flow Path

#define pa_DEST_EMAC   7

ethernet mac port (of the switch)

Packet is routed to EMAC

#define pa_DEST_HOST   6

host thread

Packet is routed to host

#define pa_DEST_RES_1   20

Reseved destination for internal usage

Note:
This definition is valid for the second generation of PASS only.
#define pa_DEST_RES_2   21

Reseved destination for internal usage

Note:
This definition is valid for the second generation of PASS only.
#define pa_DEST_SASS   8

security accelerator destination

Packet is routed to SA

#define pa_DEST_SASS_LOC_DMA   11

security accelerator destination via local DMA

Note:
This definition is valid for the second generation of PASS only.

Packet is routed to SA through local DMA

#define pa_DEST_SRIO   9

SRIO interface

Packet is routed to SRIO


Copyright 2014, Texas Instruments Incorporated