Skip to content

Commit

Permalink
[Dell]: S5248F: Dynamic port breakout support (#20287)
Browse files Browse the repository at this point in the history
Added Dynamic port breakout support for S5248F DellEMC platform

How I did it
Modified the default hwsku profile for DPB support and updated the platform.json file with breakout options.
  • Loading branch information
arunlk-dell authored Oct 5, 2024
1 parent 81f1bf4 commit 456671c
Show file tree
Hide file tree
Showing 5 changed files with 1,164 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
{
"interfaces": {
"Ethernet0": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet1": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet2": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet3": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet4": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet5": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet6": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet7": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet8": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet9": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet10": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet11": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet12": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet13": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet14": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet15": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet16": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet17": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet18": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet19": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet20": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet21": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet22": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet23": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet24": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet25": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet26": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet27": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet28": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet29": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet30": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet31": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet32": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet33": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet34": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet35": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet36": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet37": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet38": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet39": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet40": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet41": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet42": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet43": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet44": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet45": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet46": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet47": {
"default_brkout_mode": "1x25G[10G]"
},
"Ethernet48": {
"default_brkout_mode": "1x100G[40G]"
},
"Ethernet52": {
"default_brkout_mode": "1x100G[40G]"
},
"Ethernet56": {
"default_brkout_mode": "1x100G[40G]"
},
"Ethernet60": {
"default_brkout_mode": "1x100G[40G]"
},
"Ethernet64": {
"default_brkout_mode": "1x100G[40G]"
},
"Ethernet68": {
"default_brkout_mode": "1x100G[40G]"
},
"Ethernet72": {
"default_brkout_mode": "1x100G[40G]"
},
"Ethernet76": {
"default_brkout_mode": "1x100G[40G]"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ Ethernet45 114 twentyfiveGigE1/12/2 46 25000
Ethernet46 115 twentyfiveGigE1/12/3 47 25000
Ethernet47 116 twentyfiveGigE1/12/4 48 25000
Ethernet48 121,122,123,124 hundredGigE1/49 49 100000
Ethernet49 125,126,127,128 hundredGigE1/50 50 100000
Ethernet50 69,70,71,72 hundredGigE1/51 51 100000
Ethernet51 65,66,67,68 hundredGigE1/52 52 100000
Ethernet52 1,2,3,4 hundredGigE1/53 53 100000
Ethernet53 33,34,35,36 hundredGigE1/54 54 100000
Ethernet54 5,6,7,8 hundredGigE1/55 55 100000
Ethernet55 41,42,43,44 hundredGigE1/56 56 100000
Ethernet52 125,126,127,128 hundredGigE1/50 50 100000
Ethernet56 69,70,71,72 hundredGigE1/51 51 100000
Ethernet60 65,66,67,68 hundredGigE1/52 52 100000
Ethernet64 1,2,3,4 hundredGigE1/53 53 100000
Ethernet68 33,34,35,36 hundredGigE1/54 54 100000
Ethernet72 5,6,7,8 hundredGigE1/55 55 100000
Ethernet76 41,42,43,44 hundredGigE1/56 56 100000
Original file line number Diff line number Diff line change
@@ -1,41 +1,56 @@
sai_load_hw_config=/etc/bcm/flex/bcm56870_a0_premium_issu/b870.6.4.1/
os=unix

dpp_clock_ratio=2:3
oversubscribe_mode=1
core_clock_frequency=1525

l2xmsg_mode=1
pbmp_oversubscribe=0x7f878787f878787f9fe1e1e1fe1e1e1fe
pbmp_xport_xe=0x7f878787f878787f9fe1e1e1fe1e1e1fe
ifp_inports_support_enable=1
port_flex_enable=1
phy_an_c73=3
l2xmsg_hostbuf_size=8192
# need for mac learn scale
l2xmsg_hostbuf_size=16384
module_64ports=0
tdma_intr_enable=1
ipv6_lpm_128b_enable=1
stat_if_parity_enable=1
bcm_tunnel_term_compatible_mode=1
table_dma_enable=1
schan_intr_enable=0
parity_enable=1
parity_correction=1
miim_intr_enable=1

#Interrupts and Parity
max_vp_lags=0
tdma_intr_enable=1

schan_intr_enable=0
tdma_timeout_usec=5000000
mmu_lossless=0
pdma_descriptor_prefetch_enable=1
pktdma_poll_mode_channel_bitmap=1

#Default L3 profile
l3_alpm_enable=2
l3_alpm_ipv6_128b_bkt_rsvd=1
l2_mem_entries=40960
l3_mem_entries=40960
l3_max_ecmp_mode=1

#Tunnels
bcm_tunnel_term_compatible_mode=1
use_all_splithorizon_groups=1
sai_tunnel_support=1

sai_interface_type_auto_detect=0

#RIOT Enable
riot_enable=1
riot_overlay_l3_intf_mem_size=8192
riot_overlay_l3_egress_mem_size=32768
l3_ecmp_levels=2
riot_overlay_ecmp_resilient_hash_size=16384


stable_size=0x6400000


#New Additions
pfc_deadlock_seq_control=1

#Common configs from broadcom/x86_64-broadcom_common/x86_64-broadcom_b87/broadcom-sonic-td3.config.bcm

stable_size=0x5500000
#Port and Phy Configs

pbmp_oversubscribe=0x7f878787f878787f9fe1e1e1fe1e1e1fe
pbmp_xport_xe=0x7f878787f878787f9fe1e1e1fe1e1e1fe
oversubscribe_mixed_sister_25_50_enable=1
ifp_inports_support_enable=1
port_flex_enable=1
phy_an_c73=3

portmap_1.0=1:100
portmap_5.0=5:100
Expand Down Expand Up @@ -342,15 +357,40 @@ dport_map_port_115=45
dport_map_port_116=46
dport_map_port_117=47
dport_map_port_118=48
#100G
dport_map_port_123=49
dport_map_port_127=50
dport_map_port_71=51
dport_map_port_67=52
dport_map_port_1=53
dport_map_port_33=54
dport_map_port_5=55
dport_map_port_41=56
dport_map_port_124=50
dport_map_port_125=51
dport_map_port_126=52
dport_map_port_127=53
dport_map_port_128=54
dport_map_port_129=55
dport_map_port_130=56
dport_map_port_71=57
dport_map_port_72=58
dport_map_port_73=59
dport_map_port_74=60
dport_map_port_67=61
dport_map_port_68=62
dport_map_port_69=63
dport_map_port_70=64
dport_map_port_1=65
dport_map_port_2=66
dport_map_port_3=67
dport_map_port_4=68
dport_map_port_33=69
dport_map_port_34=70
dport_map_port_35=71
dport_map_port_36=72
dport_map_port_5=73
dport_map_port_6=74
dport_map_port_7=75
dport_map_port_8=76
dport_map_port_41=77
dport_map_port_42=78
dport_map_port_43=79
dport_map_port_44=80

mmu_init_config="TD3-DELL-lossless"
sai_preinit_cmd_file=/usr/share/sonic/hwsku/sai_preinit_cmd.soc

fpem_mem_entries=32768
3 changes: 2 additions & 1 deletion device/dell/x86_64-dellemc_s5248f_c3538-r0/default_sku
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DellEMC-S5248f-P-25G t1
DellEMC-S5248f-P-25G t1

Loading

0 comments on commit 456671c

Please sign in to comment.