Skip to content

Commit 812c1ae

Browse files
sonic-buildimage Make changes to arista config.bcm files to support max cores (sonic-net#13831) (sonic-net#14033)
To support 64 cores on arista skus. Fixes aristanetworks/sonic#77 Remapped recycle ports to lowers core port ids and set appl_param_nof_ports_per_modid to 64. Co-authored-by: Sambath Kumar Balasubramanian <[email protected]>
1 parent ad41268 commit 812c1ae

File tree

13 files changed

+70
-63
lines changed

13 files changed

+70
-63
lines changed

device/arista/x86_64-arista_7800r3_48cq2_lc/Arista-7800R3-48CQ2-C48/jr2-a7280cr3-32d4-40x100G.config.bcm

+11-9
Original file line numberDiff line numberDiff line change
@@ -493,15 +493,16 @@ tm_port_header_type_out_233.BCM8869X=CPU
493493
tm_port_header_type_in_240.BCM8869X=INJECTED_2
494494
tm_port_header_type_out_240.BCM8869X=RAW
495495

496-
sai_recycle_port_lane_base=0
497-
ucode_port_221.BCM8869X=RCY.21:core_0.221
498-
ucode_port_222.BCM8869X=RCY.22:core_1.222
499-
tm_port_header_type_out_221.BCM8869X=ETH
500-
tm_port_header_type_in_221.BCM8869X=ETH
501-
tm_port_header_type_out_222.BCM8869X=ETH
502-
tm_port_header_type_in_222.BCM8869X=ETH
503-
port_init_speed_221.BCM8869X=400000
504-
port_init_speed_222.BCM8869X=400000
496+
#RCY
497+
sai_recycle_port_lane_base=200
498+
ucode_port_49.BCM8869X=RCY0:core_0.49
499+
ucode_port_50.BCM8869X=RCY1:core_1.50
500+
tm_port_header_type_out_49.BCM8869X=ETH
501+
tm_port_header_type_in_49.BCM8869X=ETH
502+
tm_port_header_type_out_50.BCM8869X=ETH
503+
tm_port_header_type_in_50.BCM8869X=ETH
504+
port_init_speed_49.BCM8869X=400000
505+
port_init_speed_50.BCM8869X=400000
505506

506507
# fabric
507508
port_init_cl72_sfi=1
@@ -788,6 +789,7 @@ dport_map_direct.BCM8869X=1
788789
pmf_sexem3_stage.BCM8869X=IPMF3
789790
rif_id_max=0x6000
790791

792+
appl_param_nof_ports_per_modid=64
791793
dma_desc_aggregator_chain_length_max.BCM8869X=1000
792794
dma_desc_aggregator_buff_size_kb.BCM8869X=100
793795
dma_desc_aggregator_timeout_usec.BCM8869X=1000

device/arista/x86_64-arista_7800r3_48cq2_lc/Arista-7800R3-48CQ2-C48/port_config.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ Ethernet176 54,55 Ethernet45/1 45 Ext 100000 1
4747
Ethernet180 50,51 Ethernet46/1 46 Ext 100000 1 46 8
4848
Ethernet184 52,53 Ethernet47/1 47 Ext 100000 1 47 8
4949
Ethernet188 48,49 Ethernet48/1 48 Ext 100000 1 48 8
50-
Ethernet-Rec0 221 Recirc0/0 51 Rec 400000 0 221 8
51-
Ethernet-IB0 222 Recirc0/1 52 Inb 400000 1 222 8
50+
Ethernet-Rec0 249 Recirc0/0 51 Rec 400000 0 49 8
51+
Ethernet-IB0 250 Recirc0/1 52 Inb 400000 1 50 8

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/0/j2p-a7800r3a-36d-36x400G.config.bcm

+10-9
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ tm_port_header_type_in_219=INJECTED_2
263263
port_init_speed_sat=400000
264264

265265
### RCY
266-
sai_recycle_port_lane_base=0
267-
ucode_port_221=RCY.21:core_0.221
268-
ucode_port_222=RCY.22:core_1.222
269-
tm_port_header_type_out_221=ETH
270-
tm_port_header_type_in_221=ETH
271-
tm_port_header_type_out_222=ETH
272-
tm_port_header_type_in_222=ETH
273-
port_init_speed_221=400000
274-
port_init_speed_222=400000
266+
sai_recycle_port_lane_base=200
267+
ucode_port_49=RCY0:core_0.49
268+
ucode_port_50=RCY1:core_1.50
269+
tm_port_header_type_out_49=ETH
270+
tm_port_header_type_in_49=ETH
271+
tm_port_header_type_out_50=ETH
272+
tm_port_header_type_in_50=ETH
273+
port_init_speed_49=400000
274+
port_init_speed_50=400000
275275

276276
#OLP port
277277
tm_port_header_type_in_240=INJECTED_2
@@ -981,6 +981,7 @@ serdes_tx_taps_34=nrz:-5:83:-22:0:0:0
981981
serdes_tx_taps_35=nrz:-4:75:-21:0:0:0
982982
serdes_tx_taps_36=nrz:-8:89:-29:0:0:0
983983

984+
appl_param_nof_ports_per_modid=64
984985
xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
985986
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=2
986987

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/0/port_config.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Ethernet112 24,25,26,27 Ethernet15/1 15 Ext 100000 Eth1
1717
Ethernet120 16,17,18,19 Ethernet16/1 16 Ext 100000 Eth120-ASIC0 0 16 8
1818
Ethernet128 8,9,10,11 Ethernet17/1 17 Ext 100000 Eth128-ASIC0 0 17 8
1919
Ethernet136 0,1,2,3 Ethernet18/1 18 Ext 100000 Eth136-ASIC0 0 18 8
20-
Ethernet-Rec0 221 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 221 8
21-
Ethernet-IB0 222 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 222 8
20+
Ethernet-Rec0 249 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 49 8
21+
Ethernet-IB0 250 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 50 8

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/1/j2p-a7800r3a-36d-36x400G.config.bcm

+10-9
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ tm_port_header_type_in_219=INJECTED_2
263263
port_init_speed_sat=400000
264264

265265
### RCY
266-
sai_recycle_port_lane_base=0
267-
ucode_port_221=RCY.21:core_0.221
268-
ucode_port_222=RCY.22:core_1.222
269-
tm_port_header_type_out_221=ETH
270-
tm_port_header_type_in_221=ETH
271-
tm_port_header_type_out_222=ETH
272-
tm_port_header_type_in_222=ETH
273-
port_init_speed_221=400000
274-
port_init_speed_222=400000
266+
sai_recycle_port_lane_base=200
267+
ucode_port_49=RCY0:core_0.49
268+
ucode_port_50=RCY1:core_1.50
269+
tm_port_header_type_out_49=ETH
270+
tm_port_header_type_in_49=ETH
271+
tm_port_header_type_out_50=ETH
272+
tm_port_header_type_in_50=ETH
273+
port_init_speed_49=400000
274+
port_init_speed_50=400000
275275

276276
#OLP port
277277
tm_port_header_type_in_240=INJECTED_2
@@ -981,6 +981,7 @@ serdes_tx_taps_34=nrz:-5:75:-20:0:0:0
981981
serdes_tx_taps_35=nrz:-5:80:-23:0:0:0
982982
serdes_tx_taps_36=nrz:-7:85:-25:0:0:0
983983

984+
appl_param_nof_ports_per_modid=64
984985
xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
985986
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=2
986987

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/1/port_config.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Ethernet256 24,25,26,27 Ethernet33/1 33 Ext 100000 Eth1
1717
Ethernet264 16,17,18,19 Ethernet34/1 34 Ext 100000 Eth120-ASIC1 0 16 8
1818
Ethernet272 8,9,10,11 Ethernet35/1 35 Ext 100000 Eth128-ASIC1 0 17 8
1919
Ethernet280 0,1,2,3 Ethernet36/1 36 Ext 100000 Eth136-ASIC1 0 18 8
20-
Ethernet-Rec1 221 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 221 8
21-
Ethernet-IB1 222 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 222 8
20+
Ethernet-Rec1 249 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 49 8
21+
Ethernet-IB1 250 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 50 8

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-C36/port_config.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Ethernet256 24,25,26,27 Ethernet33/1 33 Ext 100000 Eth1
3535
Ethernet264 16,17,18,19 Ethernet34/1 34 Ext 100000 Eth120-ASIC1 0 16 8
3636
Ethernet272 8,9,10,11 Ethernet35/1 35 Ext 100000 Eth128-ASIC1 0 17 8
3737
Ethernet280 0,1,2,3 Ethernet36/1 36 Ext 100000 Eth136-ASIC1 0 18 8
38-
Ethernet-Rec0 221 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 221 8
39-
Ethernet-IB0 222 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 222 8
40-
Ethernet-Rec1 221 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 221 8
41-
Ethernet-IB1 222 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 222 8
38+
Ethernet-Rec0 249 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 49 8
39+
Ethernet-IB0 250 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 50 8
40+
Ethernet-Rec1 249 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 49 8
41+
Ethernet-IB1 250 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 50 8

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-D36/0/j2p-a7800r3a-36d-36x400G.config.bcm

+10-9
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ tm_port_header_type_in_219=INJECTED_2
263263
port_init_speed_sat=400000
264264

265265
### RCY
266-
sai_recycle_port_lane_base=0
267-
ucode_port_221=RCY.21:core_0.221
268-
ucode_port_222=RCY.22:core_1.222
269-
tm_port_header_type_out_221=ETH
270-
tm_port_header_type_in_221=ETH
271-
tm_port_header_type_out_222=ETH
272-
tm_port_header_type_in_222=ETH
273-
port_init_speed_221=400000
274-
port_init_speed_222=400000
266+
sai_recycle_port_lane_base=200
267+
ucode_port_49=RCY0:core_0.49
268+
ucode_port_50=RCY1:core_1.50
269+
tm_port_header_type_out_49=ETH
270+
tm_port_header_type_in_49=ETH
271+
tm_port_header_type_out_50=ETH
272+
tm_port_header_type_in_50=ETH
273+
port_init_speed_49=400000
274+
port_init_speed_50=400000
275275

276276
#OLP port
277277
tm_port_header_type_in_240=INJECTED_2
@@ -1018,6 +1018,7 @@ serdes_tx_taps_34=pam4:-14:136:-14:2:0:-4
10181018
serdes_tx_taps_35=pam4:-16:141:-5:3:-2:-3
10191019
serdes_tx_taps_36=pam4:-16:137:-12:2:0:-3
10201020

1021+
appl_param_nof_ports_per_modid=64
10211022
xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
10221023
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=4
10231024

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-D36/0/port_config.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Ethernet112 24,25,26,27,28,29,30,31 Ethernet15/1 15 Ext
1717
Ethernet120 16,17,18,19,20,21,22,23 Ethernet16/1 16 Ext 400000 Eth120-ASIC0 0 16 8
1818
Ethernet128 8,9,10,11,12,13,14,15 Ethernet17/1 17 Ext 400000 Eth128-ASIC0 0 17 8
1919
Ethernet136 0,1,2,3,4,5,6,7 Ethernet18/1 18 Ext 400000 Eth136-ASIC0 0 18 8
20-
Ethernet-Rec0 221 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 221 8
21-
Ethernet-IB0 222 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 222 8
20+
Ethernet-Rec0 249 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 49 8
21+
Ethernet-IB0 250 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 50 8

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-D36/1/j2p-a7800r3a-36d-36x400G.config.bcm

+10-9
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ tm_port_header_type_in_219=INJECTED_2
263263
port_init_speed_sat=400000
264264

265265
### RCY
266-
sai_recycle_port_lane_base=0
267-
ucode_port_221=RCY.21:core_0.221
268-
ucode_port_222=RCY.22:core_1.222
269-
tm_port_header_type_out_221=ETH
270-
tm_port_header_type_in_221=ETH
271-
tm_port_header_type_out_222=ETH
272-
tm_port_header_type_in_222=ETH
273-
port_init_speed_221=400000
274-
port_init_speed_222=400000
266+
sai_recycle_port_lane_base=200
267+
ucode_port_49=RCY0:core_0.49
268+
ucode_port_50=RCY1:core_1.50
269+
tm_port_header_type_out_49=ETH
270+
tm_port_header_type_in_49=ETH
271+
tm_port_header_type_out_50=ETH
272+
tm_port_header_type_in_50=ETH
273+
port_init_speed_49=400000
274+
port_init_speed_50=400000
275275

276276
#OLP port
277277
tm_port_header_type_in_240=INJECTED_2
@@ -1018,6 +1018,7 @@ serdes_tx_taps_34=pam4:-14:136:-14:2:0:-4
10181018
serdes_tx_taps_35=pam4:-16:141:-5:3:-2:-3
10191019
serdes_tx_taps_36=pam4:-16:137:-12:2:0:-3
10201020

1021+
appl_param_nof_ports_per_modid=64
10211022
xflow_macsec_secure_chan_to_num_secure_assoc_encrypt=2
10221023
xflow_macsec_secure_chan_to_num_secure_assoc_decrypt=4
10231024

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-D36/1/port_config.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Ethernet256 24,25,26,27,28,29,30,31 Ethernet33/1 33 Ext
1717
Ethernet264 16,17,18,19,20,21,22,23 Ethernet34/1 34 Ext 400000 Eth120-ASIC1 0 16 8
1818
Ethernet272 8,9,10,11,12,13,14,15 Ethernet35/1 35 Ext 400000 Eth128-ASIC1 0 17 8
1919
Ethernet280 0,1,2,3,4,5,6,7 Ethernet36/1 36 Ext 400000 Eth136-ASIC1 0 18 8
20-
Ethernet-Rec1 221 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 221 8
21-
Ethernet-IB1 222 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 222 8
20+
Ethernet-Rec1 249 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 49 8
21+
Ethernet-IB1 250 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 50 8

device/arista/x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D2-D36/port_config.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Ethernet256 24,25,26,27,28,29,30,31 Ethernet33/1 33 Ext
3535
Ethernet264 16,17,18,19,20,21,22,23 Ethernet34/1 34 Ext 400000 Eth120-ASIC1 0 16 8
3636
Ethernet272 8,9,10,11,12,13,14,15 Ethernet35/1 35 Ext 400000 Eth128-ASIC1 0 17 8
3737
Ethernet280 0,1,2,3,4,5,6,7 Ethernet36/1 36 Ext 400000 Eth136-ASIC1 0 18 8
38-
Ethernet-Rec0 221 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 221 8
39-
Ethernet-IB0 222 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 222 8
40-
Ethernet-Rec1 221 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 221 8
41-
Ethernet-IB1 222 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 222 8
38+
Ethernet-Rec0 249 Recirc0/0 37 Rec 400000 Rcy0-ASIC0 0 49 8
39+
Ethernet-IB0 250 Recirc0/1 38 Inb 400000 Rcy1-ASIC0 1 50 8
40+
Ethernet-Rec1 249 Recirc0/0 39 Rec 400000 Rcy0-ASIC1 0 49 8
41+
Ethernet-IB1 250 Recirc0/1 40 Inb 400000 Rcy1-ASIC1 1 50 8

src/sonic-device-data/tests/permitted_list

+1
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,4 @@ cmic_dma_abort_in_cold_boot
323323
hybrid_pfc_deadlock_enable
324324
sai_pfc_dlr_init_capability
325325
sai_disable_srcmacqedstmac_ctrl
326+
appl_param_nof_ports_per_modid

0 commit comments

Comments
 (0)