Priority-based or Interface-based routing mode
PA LLD Constants (enum's and define's)

Priority-based or Interface-based routing mode

paRoutePriIntf_e is used to specify the mode of priority-based or interface-based routing. PASS forwards the matched packets to the desired QoS queue which is equal to the base queue plus an offset specified by the VLAN priority or DSCP value in prority-based routing such as pa_ROUTE_PRIORITY_VLAN or pa_ROUTE_PRIORITY_DSCP. PASS forwards the matched packets to the desired host queue which is equal to the base queue plus an offset as the EMAC port (interface) number with the CPPI flow which is equal to the base flow number plus the EMAC port (interface) number optionally in interface-based routing such as pa_ROUTE_INTF or pa_ROUTE_INTF_W_FLOW. PASS forwards the matched packets to the derived QoS queue with derived CPPI flow based on the algorithm specified at Ingress Default Route Operation in EQoS routing

Note:
: There is some use cases where output packets from QoS are delivered to PASS for pre-routing operation such as tx timestamp report and both egress and ingress forwarding packets go through the same QoS. To support this use case, the PASS is enhanced to delay the post-classification command set execution until the packets re-entering PASS from QoS if Priority-based routing is selected.
enum  paRoutePriIntf_e {
  pa_ROUTE_PRIORITY_VLAN = 1, pa_ROUTE_PRIORITY_DSCP, pa_ROUTE_INTF, pa_ROUTE_INTF_W_FLOW,
  pa_ROUTE_EQoS_MODE
}

Enumeration Type Documentation

Enumerator:
pa_ROUTE_PRIORITY_VLAN 

Route by using VLAN P bits as priority

pa_ROUTE_PRIORITY_DSCP 

Route by using DSCP bits as priority

pa_ROUTE_INTF 

Route by using EMAC port (interface) number as destination queue offset

pa_ROUTE_INTF_W_FLOW 

Route by using EMAC port (interface) number as both destination queue and CPPI flow offset

pa_ROUTE_EQoS_MODE 

Route by using priority map for enhanced QoS to support L2 Shapper


Copyright 2014, Texas Instruments Incorporated