-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [mlxtrace] Add mft-fwtrace-cfg.deb which contains fwtrace_cfg files for the mlxtrace utility Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com> * [mlxtrace] Remove mlxtrace support for SPC4 Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com> --------- Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
- Loading branch information
1 parent
603ed3e
commit 7294103
Showing
50 changed files
with
66,017 additions
and
5 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3420.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3700.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn3700c-r0/ACS-MSN3700C/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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3700c.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4410.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4600c-r0/ACS-MSN4600C/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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4700-r0/Mellanox-SN4700-A96C8V8/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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x200g_8x100g_96x25g.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4700-r0/Mellanox-SN4700-C128/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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_128x100g.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg |
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4700-r0/Mellanox-SN4700-V48C32/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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_32x100g_48x200g.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4800.xml | ||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps | ||
SAI_DUMP_STORE_AMOUNT=10 | ||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg |
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
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 @@ | ||
# DPKG FRK | ||
|
||
SPATH := $($(MFT_FWTRACE_CFG)_SRC_PATH) | ||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) $(PLATFORM_PATH)/mft-fwtrace-cfg.mk $(PLATFORM_PATH)/mft-fwtrace-cfg.dep | ||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST) | ||
DEP_FILES += $(shell git ls-files -- $(SPATH)) | ||
|
||
$(MFT_FWTRACE_CFG)_CACHE_MODE := GIT_CONTENT_SHA | ||
$(MFT_FWTRACE_CFG)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) | ||
$(MFT_FWTRACE_CFG)_DEP_FILES := $(DEP_FILES) |
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,22 @@ | ||
# | ||
# Copyright (c) 2023 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. | ||
# | ||
|
||
MFT_FWTRACE_CFG = mft-fwtrace-cfg-$(MFT_VERSION)-$(MFT_REVISION).deb | ||
$(MFT_FWTRACE_CFG)_SRC_PATH = $(PLATFORM_PATH)/mft-fwtrace-cfg | ||
SONIC_MAKE_DEBS += $(MFT_FWTRACE_CFG) | ||
|
||
export MFT_FWTRACE_CFG |
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 @@ | ||
mft-fwtrace-cfg (1.0.0) STABLE; urgency=low | ||
|
||
* Initial release. | ||
|
||
-- Vadym Hlushko <vadymh@nvidia.com> Mon, 24 Jul 2023 12:03:04 +0300 |
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 @@ | ||
Package: mft-fwtrace-cfg | ||
Version: 1.0.0 | ||
Section: utils | ||
Priority: optional | ||
Architecture: all | ||
Maintainer: Vadym Hlushko <vadymh@nvidia.com> | ||
Description: fwtrace_cfg files for the mlxtrace utility from the MFT debian package |
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,25 @@ | ||
# | ||
# Copyright (c) 2023 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. | ||
# | ||
.ONESHELL: | ||
SHELL = /bin/bash | ||
.SHELLFLAGS += -e | ||
|
||
MAIN_TARGET = $(MFT_FWTRACE_CFG) | ||
|
||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : | ||
dpkg -b . $(MAIN_TARGET) | ||
mv $(MAIN_TARGET) $(DEST)/ |
Oops, something went wrong.