![]() |
![]() |
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_t * | pCmd |
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.
| uint8_t paRouteInfo_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 paRouteInfo_t::flowId |
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
| uint8_t paRouteInfo_t::pktType_emacCtrl |
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
| uint16_t paRouteInfo_t::queue |
For host, SA or SRIO destinations, specifies the destination queue
| uint32_t paRouteInfo_t::swInfo0 |
Placed in SwInfo0 for packets to host or SA; Placed in the PS Info for packets to SRIO
| uint32_t paRouteInfo_t::swInfo1 |
Placed in SwInfo1 for packets to the SA; Placed in the PS Info for packets to SRIO