PA Routing Control Info Bit Definitions
PA LLD Constants (enum's and define's)

PA Routing Control Info Bit Definitions

Bitmap definition of the ctrlBitField in paCmdNextRoute_t.

#define pa_NEXT_ROUTE_PARAM_PRESENT   0x0001
#define pa_NEXT_ROUTE_PROC_NEXT_CMD   0x0002
#define pa_NEXT_ROUTE_PROC_MULTI_ROUTE   0x0004
#define pa_NEXT_ROUTE_TX_L2_PADDING   0x0008
#define pa_NEXT_ROUTE_PROC_USR_STATS   0x0010

Define Documentation

#define pa_NEXT_ROUTE_PARAM_PRESENT   0x0001

Control Info -- Set: Routing information such as flowId, queue are in command for egress packets Clear: Routing information such as flowId, queue are in packet for ingress packets

#define pa_NEXT_ROUTE_PROC_MULTI_ROUTE   0x0004

Control Info -- Set: Multi-route is valid, the packet should be forwarded and then perform multi-route Clear: Multi-route is invalid

Note:
: This option is only valid in the receive (from-network) direction
#define pa_NEXT_ROUTE_PROC_NEXT_CMD   0x0002

Control Info -- Set: Process the next command prior to forward the packet to its final destination Clear: Forward the packet to the next destination without executing any more command

Note:
: The data patch command (pa_CMD_PATCH_DATA) is the only one which can follow the next route command.
: This option is only valid in the transmit (to-network) direction
#define pa_NEXT_ROUTE_PROC_USR_STATS   0x0010

Control Info -- Set: User-defined statistics index is valid, update the chain of user-defined statistics specified by statsIndex Clear: User-defined statistics index is invalid

Note:
: This option is only valid in the egress (to-network) direction
#define pa_NEXT_ROUTE_TX_L2_PADDING   0x0008

Control Info -- Set: Perform MAC padding for packet with size smaller than 60 Clear: Do not perform MAC padding

Note:
: This option is only valid in the transmit (to-network) direction

Copyright 2014, Texas Instruments Incorporated