P_TPLDMODE
code: 350
# set
<module-index>/<port-index> P_TPLDMODE <mode>
# get
<module-index>/<port-index> P_TPLDMODE ?
Description
Sets the size of the Xena Test Payload (TPLD) used to track streams, perform latency measurements etc.
Default is “Normal”, which is a 20 byte TPLD.
“Micro” is a condensed version, which is useful when generating very small packets with relatively long headers (like IPv6). It has the following characteristics compared to the “normal” TPLD. * Only 6 byte long. * Less accurate mechanism to separate Xena-generated packets from other packets is the network - it is recommended not to have too much other traffic going into the receive Xena port, when micro TPLD is used. * No sequence checking (packet loss or packet misordering). The number of received packets for each stream can still be compared to the number of transmitted packets to detect packet loss once traffic has been stopped.
When the TPLDMODE is changed, it will affect ALL streams on the port.
Actions
set, get
Parameters
mode
: byte, the Test Payload mode of the port.
NORMAL = 0
MICRO = 1
Example
# set
input: 0/1 P_TPLDMODE NORMAL
output: <OK>
# get
input: 0/1 P_TPLDMODE ?
output: 0/1 P_TPLDMODE NORMAL