forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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]>
- Loading branch information
1 parent
e1e6603
commit a3587e3
Showing
11 changed files
with
127 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/Nvidia-bf3-com-dpu/hwsku.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"interfaces": { | ||
"Ethernet0": { | ||
"default_brkout_mode": "1x400G", | ||
"autoneg": "on", | ||
"role": "Dpc" | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/Nvidia-bf3-com-dpu/port_config.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## | ||
## Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. | ||
## Apache-2.0 | ||
## | ||
## Licensed under the Apache License, Version 2.0 (the "License"); | ||
## you may not use this file except in compliance with the License. | ||
## You may obtain a copy of the License at | ||
## | ||
## http://www.apache.org/licenses/LICENSE-2.0 | ||
## | ||
## Unless required by applicable law or agreed to in writing, software | ||
## distributed under the License is distributed on an "AS IS" BASIS, | ||
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
## See the License for the specific language governing permissions and | ||
## limitations under the License. | ||
## | ||
# name lanes alias index | ||
Ethernet0 0,1,2,3 etp1 1 |
5 changes: 5 additions & 0 deletions
5
device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/Nvidia-bf3-com-dpu/sai.profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SAI_DUMP_STORE_PATH=/var/log/bluefield/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
DASH_ACL_DEFAULT_RULE_ACTION=permit | ||
PORT_LAYOUT=1x400G | ||
HAIRPIN=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Nvidia-bf3-com-dpu appliance |
2 changes: 2 additions & 0 deletions
2
device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/installer.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
GRUB_CMDLINE_LINUX="console=ttyAMA1 console=hvc0 console=ttyAMA0 earlycon=pl011,0x13010000 quiet" | ||
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="isolcpus=1-13 nohz_full=1-13 rcu_nocbs=1-13" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
- bus: '00' | ||
dev: '00' | ||
fn: '0' | ||
id: a2da | ||
name: 'PCI bridge: Mellanox Technologies MT43244 BlueField-3 SoC Crypto enabled | ||
(rev 01)' | ||
- bus: '01' | ||
dev: '00' | ||
fn: '0' | ||
id: 197b | ||
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge] | ||
(rev 01)' | ||
- bus: '02' | ||
dev: '00' | ||
fn: '0' | ||
id: 197b | ||
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge] | ||
(rev 01)' | ||
- bus: '02' | ||
dev: '03' | ||
fn: '0' | ||
id: 197b | ||
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge] | ||
(rev 01)' | ||
- bus: '03' | ||
dev: '00' | ||
fn: '0' | ||
id: a2dc | ||
name: 'Ethernet controller: Mellanox Technologies MT43244 BlueField-3 integrated | ||
ConnectX-7 network controller (rev 01)' | ||
- bus: '04' | ||
dev: '00' | ||
fn: '0' | ||
id: 197b | ||
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge] | ||
(rev 01)' | ||
- bus: '05' | ||
dev: '00' | ||
fn: '0' | ||
id: 197b | ||
name: 'PCI bridge: Mellanox Technologies MT43244 Family [BlueField-3 SoC PCIe Bridge] | ||
(rev 01)' | ||
- bus: '06' | ||
dev: '00' | ||
fn: '0' | ||
id: '5765' | ||
name: 'Non-Volatile memory controller: Device 1f9f:5765 (rev 01)' |
21 changes: 21 additions & 0 deletions
21
device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/platform.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"chassis": { | ||
"name": "Nvidia-bf3-com-dpu", | ||
"components": [], | ||
"fans": [], | ||
"fan_drawers": [], | ||
"psus": [], | ||
"thermals": [], | ||
"sfps": [] | ||
}, | ||
"interfaces": { | ||
"Ethernet0": { | ||
"index": "1,1,1,1", | ||
"lanes": "0,1,2,3", | ||
"breakout_modes": { | ||
"1x400G": ["etp1"] | ||
} | ||
} | ||
}, | ||
"DPU": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nvidia-bluefield |
10 changes: 10 additions & 0 deletions
10
device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/plugins/ssd_util.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
import os | ||
|
||
from sonic_platform_base.sonic_storage.emmc import EmmcUtil | ||
from sonic_platform_base.sonic_storage.ssd import SsdUtil as SsdUtilDefault | ||
|
||
def SsdUtil(diskdev): | ||
if os.path.basename(diskdev).startswith('mmcblk'): | ||
return EmmcUtil(diskdev) | ||
return SsdUtilDefault(diskdev) |
7 changes: 7 additions & 0 deletions
7
device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/pmon_daemon_control.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"skip_ledd": true, | ||
"skip_psud": true, | ||
"skip_fancontrol": true, | ||
"skip_chassisd": true, | ||
"skip_ycabled": true | ||
} |
6 changes: 6 additions & 0 deletions
6
device/nvidia-bluefield/arm64-nvda_bf-bf3comdpu/system_health_monitoring_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"services_to_ignore": [], | ||
"devices_to_ignore": ["psu", "fan"], | ||
"user_defined_checkers": [], | ||
"polling_interval": 60 | ||
} |