From b0e0b23d2a4d85820693b0fb29dcfe7085b19999 Mon Sep 17 00:00:00 2001 From: byu343 Date: Wed, 15 Feb 2023 10:25:49 -0800 Subject: [PATCH] [arista] Add tuning values for phys on 7280cr3 (#10084) Why I did it This change specifies the tuning values for each lane of the B52 phy chips. These values can be different for different ports. The values being set are under the assumption of optical transceivers. This change depends on the change to sonic-swss: sonic-net/sonic-swss#2158. How to verify it We verified the values are correctly set on the B52 chips of Arista 7280cr3, by reading them from the debug cli of the B52 driver. --- .../Arista-7280CR3-C40/gearbox_config.json | 384 ++++++++++++++++-- 1 file changed, 352 insertions(+), 32 deletions(-) diff --git a/device/arista/x86_64-arista_7280cr3mk_32p4/Arista-7280CR3-C40/gearbox_config.json b/device/arista/x86_64-arista_7280cr3mk_32p4/Arista-7280CR3-C40/gearbox_config.json index 5a1fd88d49..11ba880428 100644 --- a/device/arista/x86_64-arista_7280cr3mk_32p4/Arista-7280CR3-C40/gearbox_config.json +++ b/device/arista/x86_64-arista_7280cr3mk_32p4/Arista-7280CR3-C40/gearbox_config.json @@ -119,224 +119,544 @@ "index": 1, "phy_id": 1, "system_lanes": [4,5], - "line_lanes": [20,21,22,23] + "line_lanes": [20,21,22,23], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet4", "index": 2, "phy_id": 1, "system_lanes": [6,7], - "line_lanes": [8,9,10,11] + "line_lanes": [8,9,10,11], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet8", "index": 3, "phy_id": 1, "system_lanes": [0,1], - "line_lanes": [12,13,14,15] + "line_lanes": [12,13,14,15], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet12", "index": 4, "phy_id": 1, "system_lanes": [2,3], - "line_lanes": [16,17,18,19] + "line_lanes": [16,17,18,19], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet16", "index": 5, "phy_id": 2, "system_lanes": [4,5], - "line_lanes": [20,21,22,23] + "line_lanes": [20,21,22,23], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet20", "index": 6, "phy_id": 2, "system_lanes": [6,7], - "line_lanes": [8,9,10,11] + "line_lanes": [8,9,10,11], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet24", "index": 7, "phy_id": 2, "system_lanes": [0,1], - "line_lanes": [12,13,14,15] + "line_lanes": [12,13,14,15], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet28", "index": 8, "phy_id": 2, "system_lanes": [2,3], - "line_lanes": [16,17,18,19] + "line_lanes": [16,17,18,19], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet32", "index": 9, "phy_id": 3, "system_lanes": [4,5], - "line_lanes": [20,21,22,23] + "line_lanes": [20,21,22,23], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-4,-4], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet36", "index": 10, "phy_id": 3, "system_lanes": [6,7], - "line_lanes": [8,9,10,11] + "line_lanes": [8,9,10,11], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-4,-4], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet40", "index": 11, "phy_id": 3, "system_lanes": [0,1], - "line_lanes": [12,13,14,15] + "line_lanes": [12,13,14,15], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-4,-4], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet44", "index": 12, "phy_id": 3, "system_lanes": [2,3], - "line_lanes": [16,17,18,19] + "line_lanes": [16,17,18,19], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-4,-4], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet48", "index": 13, "phy_id": 4, "system_lanes": [4,5], - "line_lanes": [20,21,22,23] + "line_lanes": [20,21,22,23], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-3,-3], + "system_tx_fir_main": [11,11], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet52", "index": 14, "phy_id": 4, "system_lanes": [6,7], - "line_lanes": [8,9,10,11] + "line_lanes": [8,9,10,11], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-3,-5], + "system_tx_fir_main": [11,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet56", "index": 15, "phy_id": 4, "system_lanes": [0,1], - "line_lanes": [12,13,14,15] + "line_lanes": [12,13,14,15], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-3,-3], + "system_tx_fir_main": [11,11], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet60", "index": 16, "phy_id": 4, "system_lanes": [2,3], - "line_lanes": [16,17,18,19] + "line_lanes": [16,17,18,19], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-3,-3], + "system_tx_fir_main": [11,11], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet64", "index": 17, "phy_id": 5, "system_lanes": [4,5], - "line_lanes": [20,21,22,23] + "line_lanes": [20,21,22,23], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-3,-3], + "system_tx_fir_main": [11,11], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet68", "index": 18, "phy_id": 5, "system_lanes": [6,7], - "line_lanes": [8,9,10,11] + "line_lanes": [8,9,10,11], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-3,-3], + "system_tx_fir_main": [11,11], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet72", "index": 19, "phy_id": 5, "system_lanes": [0,1], - "line_lanes": [12,13,14,15] + "line_lanes": [12,13,14,15], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-3,-3], + "system_tx_fir_main": [11,11], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet76", "index": 20, "phy_id": 5, "system_lanes": [2,3], - "line_lanes": [16,17,18,19] + "line_lanes": [16,17,18,19], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-3,-3], + "system_tx_fir_main": [11,11], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet80", "index": 21, "phy_id": 6, "system_lanes": [4,5], - "line_lanes": [20,21,22,23] + "line_lanes": [20,21,22,23], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-4,-4], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet84", "index": 22, "phy_id": 6, "system_lanes": [6,7], - "line_lanes": [8,9,10,11] + "line_lanes": [8,9,10,11], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-4,-4], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet88", "index": 23, "phy_id": 6, "system_lanes": [0,1], - "line_lanes": [12,13,14,15] + "line_lanes": [12,13,14,15], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-4,-4], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet92", "index": 24, "phy_id": 6, "system_lanes": [2,3], - "line_lanes": [16,17,18,19] + "line_lanes": [16,17,18,19], + "system_tx_fir_pre2": [1,1], + "system_tx_fir_pre1": [-4,-4], + "system_tx_fir_main": [14,14], + "system_tx_fir_post1": [0,0], + "system_tx_fir_post2": [0,0], + "line_tx_fir_pre2": [0,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet96", "index": 25, "phy_id": 7, "system_lanes": [4,5], - "line_lanes": [20,21,22,23] + "line_lanes": [20,21,22,23], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet100", "index": 26, "phy_id": 7, "system_lanes": [6,7], - "line_lanes": [8,9,10,11] + "line_lanes": [8,9,10,11], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet104", "index": 27, "phy_id": 7, "system_lanes": [0,1], - "line_lanes": [12,13,14,15] + "line_lanes": [12,13,14,15], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet108", "index": 28, "phy_id": 7, "system_lanes": [2,3], - "line_lanes": [16,17,18,19] + "line_lanes": [16,17,18,19], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet112", "index": 29, "phy_id": 8, "system_lanes": [4,5], - "line_lanes": [20,21,22,23] + "line_lanes": [20,21,22,23], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet116", "index": 30, "phy_id": 8, "system_lanes": [6,7], - "line_lanes": [8,9,10,11] + "line_lanes": [8,9,10,11], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet120", "index": 31, "phy_id": 8, "system_lanes": [0,1], - "line_lanes": [12,13,14,15] + "line_lanes": [12,13,14,15], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] }, { "name": "Ethernet124", "index": 32, "phy_id": 8, "system_lanes": [2,3], - "line_lanes": [16,17,18,19] + "line_lanes": [16,17,18,19], + "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,0,0,0], + "line_tx_fir_pre1": [-1,-1,-1,-1], + "line_tx_fir_main": [13,13,13,13], + "line_tx_fir_post1": [-5,-5,-5,-5], + "line_tx_fir_post2": [0,0,0,0] } ] }