PD_SOURCE

code: 144

# set
<module-index>/<port-index> PD_SOURCE [<dataset_index>] <source_type> <which_packets> <identity>

# get
<module-index>/<port-index> PD_SOURCE [<dataset_index>] ?

Description

The source criteria specifying what is counted, and for which packets, by a histogram of a port.

Actions

set, get

Parameters

  1. source_type: byte, what is counted and for which packets

  • TXIFG = 0

  • TXLEN = 1

  • RXIFG = 2

  • RXLEN = 3

  • RXLAT = 4

  • RXJIT = 5

  1. which_packets: byte, a further detail on which packets to count

  • ALL = 0

  • TPLD = 1

  • FILTER = 2

  1. identity: integer, test payload id or filter id for the wanted packets

Example

# set
input:  0/1 PD_SOURCE [0] TXIFG ALL 1
output: <OK>

# get
input:  0/1 PD_SOURCE [0] ?
output: 0/1 PD_SOURCE [0] TXIFG ALL 1