You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases the equalization parameters from the previous session can be used for a new link-up process. It can significantly reduce time of the Link-Up process
14
+
15
+
# 2. Scope
16
+
This approach is applicable to devices (switch-to-switch or switch-to-NIC) supporting this process, usually from the same vendor or from different vendors aligned on the process.
17
+
18
+
Can be applied to cold/fast boot or link recovery flows (vendor decision)
19
+
20
+
# 3. Architecture
21
+
This feature shall be enabled per-port using a new SAI attribute - SAI_PORT_ATTR_FAST_LINKUP_ENABLED (default status - disabled/false)
22
+
23
+
On ports with the enabled feature the ASIC FW shall try first to bring a link up using the equalization parameter stored from the previous successul session. The time given to ASIC to try to bring a link up with the old EQ parameters is limited by the Fast Link-Up Polling Timer. The time value is configured using a new SAI attribute - SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIMEOUT. The supported range for this value (in secs) can be read by NOS using a new SAI attribute SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIMEOUT_RANGE
24
+
25
+
If the process of brining a link up with the previosly used EQ parameters doesn't succeed the regular link-up process is triggered
26
+
27
+
If the link succeeds moving to the Operation UP state then the BER level shall be checked to make sure that the establish link has a good quality. To do that another timer called Guard Timer is used. Its value is also configurable using a new SAI attribute (SAI_SWITCH_ATTR_FAST_LINKUP_GUARD_TIMEOUT)
28
+
29
+
30
+
When the Guard Timer expires the BER is measured and compared with the "good" BER value configured using a new SAI attribure SAI_SWITCH_ATTR_FAST_LINKUP_BER_THRESHOLD. Only if the measured BER is equal or better than the configured BER threshold the process is considered completed. Otherwise, the fallback to the regular link-up process is done and link's Oper status changes to DOWN
31
+
32
+
If the remote side doesn't support the Fast Link-up then the fallback to regular process will happen
33
+
34
+
Note that the State Machine is implemented by ASIC FW and can vary between vendors. The proposal just defines just high level flow and SAI configuration for this flow
35
+
36
+
The following State Machine is proposed for the Fast Link-UP process described above
* @brief Time (in sec) during which the fast link-up is attempted.
3481
+
*
3482
+
* If this timer expires before the link is UP the regular link-up will be performed
3483
+
* Supported range can be obtained using SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIMEOUT_RANGE
3484
+
*
3485
+
* @type sai_uint16_t
3486
+
* @flags CREATE_AND_SET
3487
+
* @isvlan false
3488
+
* @default 60
3489
+
*/
3490
+
SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIMEOUT,
3491
+
3492
+
/**
3493
+
* @brief Linkup guard time range (in secs)
3494
+
*
3495
+
* @type sai_u16_range_t
3496
+
* @flags READ_ONLY
3497
+
*/
3498
+
SAI_SWITCH_ATTR_FAST_LINKUP_GUARD_TIMEOUT_RANGE,
3499
+
3500
+
/**
3501
+
* @brief Time (in secs) during which the link must be UP with the BER below the level configured with SAI_SWITCH_ATTR_FAST_LINKUP_BER_THRESHOLD to keep the fast link-up configuration.
3502
+
*
3503
+
* If either link failures happens within this time or high BER is measured at the end of this period of time the link should undergo regular link up process
3504
+
* Supported range can be obtained using SAI_SWITCH_ATTR_FAST_LINKUP_GUARD_TIMEOUT_RANGE
3505
+
*
3506
+
* @type sai_uint8_t
3507
+
* @flags CREATE_AND_SET
3508
+
* @default 10
3509
+
*/
3510
+
SAI_SWITCH_ATTR_FAST_LINKUP_GUARD_TIMEOUT,
3511
+
3512
+
/**
3513
+
* @brief Threshold to control regular link-up happened after fast linkup Time-out
3514
+
*
3515
+
* Configures the BER (negative exponent only, mantissa is always 1) which is if measured during
3516
+
* SAI_SWITCH_ATTR_FAST_LINKUP_GUARD_TIMEOUT causes the full link-up flow. For example, value 12 configured here is 1e^-12
0 commit comments