From 3c0aeceb8a8d7fc2d099d4398ae61eb2f10c9d10 Mon Sep 17 00:00:00 2001 From: byu343 Date: Mon, 10 Oct 2022 13:35:06 -0700 Subject: [PATCH] Add gearbox taps to vs gearbox_config.json (#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. --- .../brcm_gearbox_vs/gearbox_config.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/device/virtual/x86_64-kvm_x86_64-r0/brcm_gearbox_vs/gearbox_config.json b/device/virtual/x86_64-kvm_x86_64-r0/brcm_gearbox_vs/gearbox_config.json index f40be4f3eb62..40b8cd29ef15 100644 --- a/device/virtual/x86_64-kvm_x86_64-r0/brcm_gearbox_vs/gearbox_config.json +++ b/device/virtual/x86_64-kvm_x86_64-r0/brcm_gearbox_vs/gearbox_config.json @@ -20,7 +20,17 @@ "index": 0, "phy_id" : 1, "system_lanes": [200,201], - "line_lanes": [206] + "line_lanes": [206], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-5,-5], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0], + "line_tx_fir_pre1": [-1], + "line_tx_fir_main": [13], + "line_tx_fir_post1": [-5], + "line_tx_fir_post2": [0] }, { "name": "Ethernet4",