PP_LINKTRAIN#

code: 383

Attention

Only for the following modules:

  • Thor-400G-7S-1P

# set
<module-index>/<port-index> PP_LINKTRAIN <mode> <pam4_frame_size> <nrz_pam4_init_cond> <nrz_preset> <timeout_mode>

# get
<module-index>/<port-index> PP_LINKTRAIN ?

Description#

Per-port link training settings

Note

This command corresponds to Clause 72. Only mode and timeout_mode are applicable. The other parameters will be ignored.

Actions#

set, get

Parameters#

  1. mode: byte, link training mode

  • AUTO=START_AFTER_AUTONEG = 0

  • FORCED_ENABLE=STANDALONE = 1

  • DISABLED = 2

  • INTERACTIVE = 3

  1. pam4_frame_size: byte, PAM4 frame size

  • P16K_FRAME = 0

  • P4K_FRAME = 1

  1. nrz_pam4_init_cond: byte link training init condition

  • NO_INIT = 0

  • INIT_ENABLED = 1

  1. nrz_preset: byte, NRZ preset

  • NRZ_NO_PRESET = 0

  • NRZ_WITH_PRESET = 1

  1. timeout_mode: byte, timeout mode

  • DEFAULT_TIMEOUT = 0

  • TIMEOUT_DISABLED = 255

Example#

# set
input:  0/1 PP_LINKTRAIN AUTO P16K_FRAME NO_INIT NRZ_NO_PRESET DEFAULT_TIMEOUT
output: <OK>

# get
input:  0/1 PP_LINKTRAIN ?
output: 0/1 PP_LINKTRAIN AUTO P16K_FRAME NO_INIT NRZ_NO_PRESET DEFAULT_TIMEOUT