paRouteInfo_t Struct Reference
[PA LLD Data Structures]

Packet routing configuration. More...

#include <pa.h>

Data Fields

int dest
uint8_t flowId
uint16_t queue
int mRouteIndex
uint32_t swInfo0
uint32_t swInfo1
int customType
uint8_t customIndex
uint8_t pktType_emacCtrl
paCmdInfo_tpCmd

Detailed Description

Packet routing configuration.

paRouteInfo_t is used to specify the physical routing of packets out of the packet accelerator sub-system. Not all fields are required for all destinations.


Field Documentation

For CONTINUE_PARSE_LUT1/LUT2 only, specifies the custom classification entry index

For CONTINUE_PARSE_LUT1/LUT2 only, specifies the custom type as defined at Custom Classification Types

Packet destination as defined at Routed Packet Destinations

For host, SA or SRIO destinations, specifies CPPI flow which defines free queues are used for receiving packets

For host, Multi-queue routing index (0 to (pa_MAX_MULTI_ROUTE_SETS - 1)) or pa_NO_MULTI_ROUTE if multi routing not used

Pointer to the Command info to be executed prior to the packet forwarding. NULL: no commads

Note:
only the following commands are supported within paRouteInfo_t
  • pa_CMD_PATCH_DATA (up to two bytes only) (LUT2 only)
  • pa_CMD_CMDSET
  • pa_CMD_USR_STATS
  • pa_CMD_CMDSET_AND_USR_STATS

For destination SRIO, specify the 5-bit packet type toward SRIO For destination HOST, EMAC, specify the EMAC control Ethernet MAC Output Control Bit Definitions to the network

For host, SA or SRIO destinations, specifies the destination queue

Placed in SwInfo0 for packets to host or SA; Placed in the PS Info for packets to SRIO

Placed in SwInfo1 for packets to the SA; Placed in the PS Info for packets to SRIO


The documentation for this struct was generated from the following file:

Copyright 2012, Texas Instruments Incorporated