Data Fields
paRouteInfo2_t Struct Reference

Enhanced Packet routing configuration. More...

#include <pa.h>

Data Fields

uint32_t validBitMap
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
uint8_t priorityType
paEfOpInfo_tefOpInfo

Detailed Description

Enhanced Packet routing configuration.

paRouteInfo2_t is the upgraded version of paRouteInfo_t to support additional routing parameters over time while still maintaining backward compatibility. Future feature enhancements will be supported through this API data structure only.

The validBitMap is used to specify which field is used for packet routing.


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 EFLOW only, egress flow operation info (PASS Gen2 only)

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

validBitMap[t0] For host, Multi-queue routing index (0 to (pa_MAX_MULTI_ROUTE_SETS - 1)

validBitMap[t2] 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 and paRouteInfo2_t for ingress packets
  • pa_CMD_PATCH_DATA (up to two bytes only) (LUT2 only)
  • pa_CMD_CMDSET
  • pa_CMD_USR_STATS
  • pa_CMD_CMDSET_AND_USR_STATS
the post-classification commands specified by the command set will be executed when the packets re-entering PASS from the QoS queue if priority-based routing is selected

validBitMap[t1] 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

validBitMap[t3]: For Host only, specify priority-based and/or interfcae-based routing mode as defined at paRoutePriIntf_e

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

For host, SA or SRIO destinations, placed in SwInfo0 for packets to host or SA; Placed in the PS Info for packets to SRIO

For host, SA or SRIO destinations, placed in SwInfo1 for packets to the SA; Placed in the PS Info for packets to SRIO

32-bit valid bitmap corresponding to each optional field as defined at PA Route Info Valid Bit Definitions


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

Copyright 2014, Texas Instruments Incorporated