Skip to content

Commit 5423156

Browse files
committed
LLR - Link Layer Retry HLD
Signed-off-by: Ravi Minnikanti <[email protected]>
1 parent 29db0ee commit 5423156

File tree

7 files changed

+1129
-0
lines changed

7 files changed

+1129
-0
lines changed

doc/llr/Link_Layer_Retry_Design.md

Lines changed: 1069 additions & 0 deletions
Large diffs are not rendered by default.

doc/llr/images/llr_cli_counter_flow.svg

Lines changed: 4 additions & 0 deletions
Loading

doc/llr/images/llr_config_flow.svg

Lines changed: 4 additions & 0 deletions
Loading

doc/llr/images/llr_init_flow.svg

Lines changed: 4 additions & 0 deletions
Loading

doc/llr/images/llr_llrmgrd_flow.svg

Lines changed: 4 additions & 0 deletions
Loading

doc/llr/images/llr_orchestration_design.svg

Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
############################################################################################################
2+
# llr_buffer_lookup.ini
3+
#
4+
# Vendor‑supplied lookup table used by llrmgrd to auto‑generate LLR_PROFILE entries per (speed, cable_len).
5+
#
6+
# Format is similar to port_config.ini:
7+
# * Plain text, whitespace separated columns.
8+
# * Lines beginning with '#' are comments and ignored.
9+
# * First two columns are mandatory and positional: <speed> <cable_length>
10+
# - speed: interface speed in Mb/s (e.g. 100000, 400000, 800000)
11+
# - cable_length: cable length string as used in CONFIG_DB PORT table (e.g. 1m, 3m, 40m)
12+
# * Remaining columns are optional and MAY appear in any order. A vendor lists only the
13+
# fields it supports; absent columns are treated as unsupported / not configured.
14+
# * If a column is present but a particular row wants to skip the value, use '-' (dash) to denote unset.
15+
# * Duplicate (speed, cable_length) rows are not allowed.
16+
#
17+
# Column Header Rule (Option 4):
18+
# First non-empty, non-comment line IS the header (no leading '#').
19+
# Header must start with: speed cable_length
20+
# You may use either long field names or short aliases (mixing allowed).
21+
# Subsequent lines are data rows.
22+
#
23+
# Alias mapping (long <-> short):
24+
# max_outstanding_frames <-> outstanding_frames
25+
# max_outstanding_bytes <-> outstanding_bytes
26+
# max_replay_timer <-> replay_timer
27+
# max_replay_count <-> replay_count
28+
# pcs_lost_timeout <-> pcs_lost_timeout
29+
# data_age_timer <-> data_age_timer
30+
# ctlos_spacing_bytes <-> ctlos_spacing
31+
# init_action <-> init_action
32+
# flush_action <-> flush_action
33+
#
34+
# Example values (illustrative only):
35+
36+
speed cable outstanding_frames outstanding_bytes replay_timer replay_count pcs_lost_timeout data_age_timer ctlos_spacing init_action flush_action
37+
400000 3m 4096 262144 5000 3 50000 20000 2048 best_effort block
38+
400000 10m 4096 262144 5500 3 55000 24000 2048 best_effort block
39+
800000 3m 8192 524288 5000 3 50000 20000 2048 best_effort best_effort
40+
800000 10m 8192 524288 5500 3 55000 24000 2048 best_effort discard

0 commit comments

Comments
 (0)