P4G_TCP_CONGESTION_MODE#

# set
<module-index>/<port-index> P4G_TCP_CONGESTION_MODE [<group_index>] <congestion_type>

# get
<module-index>/<port-index> P4G_TCP_CONGESTION_MODE [<group_index>] ?

Description#

Configure the TCP congestion control algorithm.

Actions#

set, get

Parameters#

congestion_type: byte, specifying congestion algorithm type
  • NONE = 0

  • RENO = 1

  • NEW_RENO = 2

Example#

# set
input:  0/1 P4G_TCP_CONGESTION_MODE [0] NONE
output: <OK>

# get
input:  0/1 P4G_TCP_CONGESTION_MODE [0] ?
output: 0/1 P4G_TCP_CONGESTION_MODE [0] NONE