Rocev2PortConfig Object


Description:

Specifies the RoCEv2 ECN and CNP Configuration.

Parents: Port

Relations:

Side name
(Type)
Relative Description
Rocev2DcqcnProfile
(AffiliatedRocev2DcqcnProfile)

Rocev2DcqcnProfile

Specifies the relation of RoCEv2 DCQCN Profile that is affiliated to

Rocev2PortConfig Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AdditiveIncreaseRateInMbps

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Indicates the Mbps rate increase step to raise the target rate in each stage of the additive increase phase.

Type: double

Default: 5.0

Range: 1 - 100000

AiSteps

Indicates the max number of the additive increase steps to increase the rate to the maximum rate for the queue pair.

Type: u8

Default: 8

Range: 1 - 8

AiTimerInMs

Indicates the additive increase timer in milliseconds for the queue pair.

Type: double

Default: 0.055

Range: 0 - 21990

Alpha

Determines the aggressiveness of the initial rate drop for the queue pair.

Type: double

Default: 1.0

Range: 0.001 - 1.999

AlphaUpdatePeriodInMs

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Indicates the alpha timer update period in milliseconds for the DCQCN based automatic rate adjustment. Usually the alpha update period should be longer than the CNP generation interval.

Type: double

Default: 1.55

Range: 0 - 21990

ByteResetInMb

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Indicates the number of frame megabytes sent since the last rate reduction was initiated. When this threshold is met, a new rate increase event is initiated.

Type: u32

Default: 2

Range: 1 - 4294

CnpInterval

Indicates the CNP generation interval.

Type: double

Default: 0.05

Range: 0 - 10700

CnpPriority

Indicates the CNP priority value.

Type: u8

Default: 0

Range: 0 - 63

CnpPriorityMode

Indicates the CNP priority mode.

Type: enum

Default: PCP

Possible Values:

Value Description
PCP

CNP Priority Mode is PCP

DSCP

CNP Priority Mode is DSCP

DisablePortTraffic

Disable or enable the traffic generation on the port.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Disables the traffic generation on the port.

FALSE

Enables the traffic generation on the port.

EnableAi

Enable or disable the additive rate increase for the queue pair.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

FALSE

EnableAutoRateAdjust

Enable or disable the DCQCN based automatic rate adjustment.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Enables the DCQCN based automatic rate adjustment.

FALSE

Disables the DCQCN based automatic rate adjustment.

EnableEcnCnp

Enable or disable the RoCEv2 ECNCNP.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enables the RoCEv2 ECNCNP.

FALSE

Disables the RoCEv2 ECNCNP.

EnableUserDefinedAlphaUpdatePeriod

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Enable or disable the user defined alpha update period.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enables the the user defined alpha update period

FALSE

Disables the the user defined alpha update period

FrTimerInMs

Indicates the fast recovery timer in milliseconds for the queue pair.

Type: double

Default: 0.055

Range: 0 - 21990

HyperIncreaseRateInMbps

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Indicates the Mbps rate increase step to raise the target rate in each stage of the hyper increase phase.

Type: double

Default: 40.0

Range: 1 - 100000

MaxRateInPercent

Indicates the maximal percent rate limit for the queue pair.

Type: double

Default: 10.0

Range: 0.0000001 - 100.0

MinAlpha

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Indicates the minimum alpha value can be reduced to by the alpha update process.

Type: double

Default: 0.001

Range: 0.001 - 1

MinRateInMbps

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Indicates the minimal Mbps rate limit for the queue pair.

Type: double

Default: 2.0

Range: 1 - 100000

MinRateInPercent

Indicates the minimal percent rate limit for the queue pair.

Type: double

Default: 0.0001

Range: 0.0000001 - 100.0

PhaseThreshold

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Indicates the stage threshold of rate increase events for moving to the next rate increase phase of recovery (Additive Increase or Hyper Increase).

Type: u8

Default: 5

Range: 2 - 31

ResetRateAdjustOnGenStop

Reset or not reset the rate adjust variables on generator stop.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Resets the rate adjust variables on generator stop.

FALSE

Do not reset the rate adjust variables on generator stop.

TimeResetInMs

NOTE: This attribute is deprecated. It will be removed in subsequent releases, so it is recommended that you do not use it.

Indicates the interval of time in milliseconds since the last rate reduction was initiated. When this timer expires, a new rate increase event is initiated.

Type: double

Default: 0.055

Range: 0 - 21990

Rocev2PortConfig Read-Only Attributes

There are no read-only attributes.