Data Fields
paCmdNextRoute_t Struct Reference

Next Route Command. More...

#include <pa.h>

Data Fields

uint16_t ctrlBitfield
int dest
uint8_t pktType_emacCtrl
uint8_t flowId
uint16_t queue
uint32_t swInfo0
uint32_t swInfo1
uint16_t multiRouteIndex
uint16_t statsIndex

Detailed Description

Next Route Command.

paCmdNextRoute_t defines the final route information The next route command can be used in both to-network and from-network directions. In the to-network direction, it may be used multiple times to route traffic between PASS and SASS before the packet is finally forwarded to the network. For example, the following steps show the SRTP over IPSEC AH to-network traffic:

               1. Packet is delivered to SASS for SRTP operation
               2. Packet is delivered to PASS for UDP checksum operation
               3. Packet is delivered to SASS for IPSEC AH operation
               4. Packet is delivered to PASS for AH authentication tag insertion
               5. Packet is delivered to the network.
    

The next route commands are required for step 3 and 5. The complete routing information should be provided in the to-network direction.

In the from-network direction, the next route command is used only if the multiple routes are required or when dest is set to EMAC to forward the ingress packets out to another EMAC port. In this case, only the parameter "ctrlBitfield", "multiRouteIndex" and/or "dest" are valid. After all the commands in the command set are executed, the PASS will deliver packets to their desired destination based on the parameters specified at the routing information upon the LUT1/LUT2 matching. If the next route command is specified, it must be the last command within a command set. The commands following the next route command will not be executed.


Field Documentation

Routing control information as defined at PA Routing Control Info Bit Definitions

Packet destination as defined at Routed Packet Destinations

For host, SA or SRIO destinations, specifies return free descriptor setup

Multi-route index. It is valid in the from-network direction only

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 dest queue

Index of the first user-defined statistics to be updated. This optional parameter is valid in the to-network direction only

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 2014, Texas Instruments Incorporated