![]() |
![]() |
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_t * | pCmd |
uint8_t | priorityType |
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.
uint8_t paRouteInfo2_t::customIndex |
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
uint8_t paRouteInfo2_t::flowId |
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
uint8_t paRouteInfo2_t::pktType_emacCtrl |
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
uint8_t paRouteInfo2_t::priorityType |
validBitMap[t3]: For Host only, specify priority-based and/or interfcae-based routing mode as defined at paRoutePriIntf_e
uint16_t paRouteInfo2_t::queue |
For host, SA or SRIO destinations, specifies the destination queue
uint32_t paRouteInfo2_t::swInfo0 |
For host, SA or SRIO destinations, placed in SwInfo0 for packets to host or SA; Placed in the PS Info for packets to SRIO
uint32_t paRouteInfo2_t::swInfo1 |
For host, SA or SRIO destinations, placed in SwInfo1 for packets to the SA; Placed in the PS Info for packets to SRIO
uint32_t paRouteInfo2_t::validBitMap |
32-bit valid bitmap corresponding to each optional field as defined at PA Route Info Valid Bit Definitions