Skip to content

Commit 3c0aece

Browse files
byu343pull[bot]
authored andcommitted
Add gearbox taps to vs gearbox_config.json (sonic-net#11480)
Why I did it For the change to support gearbox taps by gearbox_config.json (sonic-net/sonic-swss#2158), I need to add tests to sonic-swss/tests/test_gearbox.py to satisfy the test coverage of the change. The existing code in test_gearbox.py has already used brcm_gearbox_vs and here is to add some gearbox tap value to its gearbox_config.json, for the added tests in sonic-swss/tests/test_gearbox.py. How I did it How to verify it This change itself will not affect existing code.
1 parent f6cdbb4 commit 3c0aece

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

device/virtual/x86_64-kvm_x86_64-r0/brcm_gearbox_vs/gearbox_config.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,17 @@
2020
"index": 0,
2121
"phy_id" : 1,
2222
"system_lanes": [200,201],
23-
"line_lanes": [206]
23+
"line_lanes": [206],
24+
"system_tx_fir_pre2": [1,1],
25+
"system_tx_fir_pre1": [-5,-5],
26+
"system_tx_fir_main": [14,14],
27+
"system_tx_fir_post1": [0,0],
28+
"system_tx_fir_post2": [0,0],
29+
"line_tx_fir_pre2": [0],
30+
"line_tx_fir_pre1": [-1],
31+
"line_tx_fir_main": [13],
32+
"line_tx_fir_post1": [-5],
33+
"line_tx_fir_post2": [0]
2434
},
2535
{
2636
"name": "Ethernet4",

0 commit comments

Comments
 (0)