Skip to content

Commit a3587e3

Browse files
Yakiv-Hurykarun1355492
authored andcommitted
[nvidia-bluefield] add arm64-nvda_bf-bf3comdpu platform (sonic-net#19408)
- Why I did it To add support for the arm64-nvda_bf-bf3comdpu platform - How I did it Added arm64-nvda_bf-bf3comdpu directory to the devices Signed-off-by: Yakiv Huryk <[email protected]>
1 parent e1e6603 commit a3587e3

File tree

11 files changed

+127
-0
lines changed

11 files changed

+127
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"interfaces": {
3+
"Ethernet0": {
4+
"default_brkout_mode": "1x400G",
5+
"autoneg": "on",
6+
"role": "Dpc"
7+
}
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
##
2+
## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
3+
## Apache-2.0
4+
##
5+
## Licensed under the Apache License, Version 2.0 (the "License");
6+
## you may not use this file except in compliance with the License.
7+
## You may obtain a copy of the License at
8+
##
9+
## http://www.apache.org/licenses/LICENSE-2.0
10+
##
11+
## Unless required by applicable law or agreed to in writing, software
12+
## distributed under the License is distributed on an "AS IS" BASIS,
13+
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
## See the License for the specific language governing permissions and
15+
## limitations under the License.
16+
##
17+
# name lanes alias index
18+
Ethernet0 0,1,2,3 etp1 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
SAI_DUMP_STORE_PATH=/var/log/bluefield/sdk-dumps
2+
SAI_DUMP_STORE_AMOUNT=10
3+
DASH_ACL_DEFAULT_RULE_ACTION=permit
4+
PORT_LAYOUT=1x400G
5+
HAIRPIN=false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Nvidia-bf3-com-dpu appliance
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
GRUB_CMDLINE_LINUX="console=ttyAMA1 console=hvc0 console=ttyAMA0 earlycon=pl011,0x13010000 quiet"
2+
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="isolcpus=1-13 nohz_full=1-13 rcu_nocbs=1-13"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
- bus: '00'
2+
dev: '00'
3+
fn: '0'
4+
id: a2da
5+
name: 'PCI bridge: Mellanox Technologies MT43244 BlueField-3 SoC Crypto enabled
6+
(rev 01)'
7+
- bus: '01'
8+
dev: '00'
9+
fn: '0'
10+
id: 197b
11+
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge]
12+
(rev 01)'
13+
- bus: '02'
14+
dev: '00'
15+
fn: '0'
16+
id: 197b
17+
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge]
18+
(rev 01)'
19+
- bus: '02'
20+
dev: '03'
21+
fn: '0'
22+
id: 197b
23+
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge]
24+
(rev 01)'
25+
- bus: '03'
26+
dev: '00'
27+
fn: '0'
28+
id: a2dc
29+
name: 'Ethernet controller: Mellanox Technologies MT43244 BlueField-3 integrated
30+
ConnectX-7 network controller (rev 01)'
31+
- bus: '04'
32+
dev: '00'
33+
fn: '0'
34+
id: 197b
35+
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge]
36+
(rev 01)'
37+
- bus: '05'
38+
dev: '00'
39+
fn: '0'
40+
id: 197b
41+
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge]
42+
(rev 01)'
43+
- bus: '06'
44+
dev: '00'
45+
fn: '0'
46+
id: '5765'
47+
name: 'Non-Volatile memory controller: Device 1f9f:5765 (rev 01)'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"chassis": {
3+
"name": "Nvidia-bf3-com-dpu",
4+
"components": [],
5+
"fans": [],
6+
"fan_drawers": [],
7+
"psus": [],
8+
"thermals": [],
9+
"sfps": []
10+
},
11+
"interfaces": {
12+
"Ethernet0": {
13+
"index": "1,1,1,1",
14+
"lanes": "0,1,2,3",
15+
"breakout_modes": {
16+
"1x400G": ["etp1"]
17+
}
18+
}
19+
},
20+
"DPU": {}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nvidia-bluefield
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
import os
3+
4+
from sonic_platform_base.sonic_storage.emmc import EmmcUtil
5+
from sonic_platform_base.sonic_storage.ssd import SsdUtil as SsdUtilDefault
6+
7+
def SsdUtil(diskdev):
8+
if os.path.basename(diskdev).startswith('mmcblk'):
9+
return EmmcUtil(diskdev)
10+
return SsdUtilDefault(diskdev)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"skip_ledd": true,
3+
"skip_psud": true,
4+
"skip_fancontrol": true,
5+
"skip_chassisd": true,
6+
"skip_ycabled": true
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"services_to_ignore": [],
3+
"devices_to_ignore": ["psu", "fan"],
4+
"user_defined_checkers": [],
5+
"polling_interval": 60
6+
}

0 commit comments

Comments
 (0)