![]() |
![]() |
PASAHO Next Route Command Macros | |
Macros used by the PASAHO Next Route Command | |
#define | PASAHO_SET_N(x, v) PASAHO_SET_BITFIELD((x)->word0, (v), 28, 1) |
#define | PASAHO_SET_E(x, v) PASAHO_SET_BITFIELD((x)->word0, (v), 27, 1) |
#define | PASAHO_SET_DEST(x, v) PASAHO_SET_BITFIELD((x)->word0, (v), 24, 3) |
#define | PASAHO_SET_FLOW(x, v) PASAHO_SET_BITFIELD((x)->word0, (v), 16, 8) |
#define | PASAHO_SET_QUEUE(x, v) PASAHO_SET_BITFIELD((x)->word0, (v), 0, 16) |
#define | PASAHO_SET_PKTTYPE(x, v) PASAHO_SET_BITFIELD((x)->word1, (v), 24, 8) |
#define | PASAHO_SET_TX_PADDING(x, v) PASAHO_SET_BITFIELD((x)->word1, (v), 0, 1) |
#define PASAHO_SET_DEST | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word0, (v), 24, 3) |
Sets the destination of the route defined at Routed Packet Destinations
#define PASAHO_SET_E | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word0, (v), 27, 1) |
Sets the E bit which indicates the extened parameters (packet type and/or control flags) are present for SRIO
#define PASAHO_SET_FLOW | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word0, (v), 16, 8) |
Specifies the flow to use for packets sent to the host
#define PASAHO_SET_N | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word0, (v), 28, 1) |
Sets the N bit which indicates the next command should be executed prior to the route command
#define PASAHO_SET_PKTTYPE | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word1, (v), 24, 8) |
Specifies the packet type to use for packets send to the SRIO
#define PASAHO_SET_QUEUE | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word0, (v), 0, 16) |
Specifies the queue to use for packets send to the host
#define PASAHO_SET_TX_PADDING | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word1, (v), 0, 1) |
Sets the tx padding bit which indicates PASS should check padding condition and provide L2 zero padding if required