Skip to content

Commit 0c3327f

Browse files
authored
Merge pull request #266 from Mellanox/master_devel
Merging master_devel to master for release 4.13.3-2
2 parents 98d0944 + b951425 commit 0c3327f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

mlxlink/modules/mlxlink_commander.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,14 +1938,15 @@ void MlxlinkCommander::showPcieLinks()
19381938
throw MlxRegException("No valid DPN's detected!");
19391939
}
19401940
setPrintTitle(_validPcieLinks,"Valid PCIe Links", _validDpns.size()+1);
1941-
setPrintVal(_validPcieLinks, 0," ", "depth, pcie_index, node, port");
1941+
setPrintVal(_validPcieLinks, 0, "Legend",
1942+
"depth, pcie_index, node, port", ANSI_COLOR_RESET, true, true, true);
19421943
for(u_int32_t i = 0; i < _validDpns.size(); i++) {
19431944
char dpnStr [20];
19441945
int localPort = getLocalPortFromMPIR(_validDpns[i]);
19451946
sprintf(dpnStr,"%d, %d, %d, %d", _validDpns[i].depth,
19461947
_validDpns[i].pcieIndex, _validDpns[i].node, localPort);
19471948
setPrintVal(_validPcieLinks, i+1, "Link " + to_string(i+1), dpnStr,
1948-
ANSI_COLOR_RESET, localPort >= 0 );
1949+
ANSI_COLOR_RESET, localPort >= 0, true, true);
19491950
}
19501951
cout << _validPcieLinks;
19511952
} catch (const std::exception &exc) {

mlxlink/modules/mlxlink_maps.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ MlxlinkMaps::MlxlinkMaps() {
396396
_ExtETHSpeed2Lanes[ETH_LINK_SPEED_EXT_XLAUI_4] = 4;
397397
_ExtETHSpeed2Lanes[ETH_LINK_SPEED_EXT_25GAUI_1] = 1;
398398
_ExtETHSpeed2Lanes[ETH_LINK_SPEED_EXT_50GAUI_2] = 2;
399+
_ExtETHSpeed2Lanes[ETH_LINK_SPEED_EXT_50GAUI_1] = 1;
399400
_ExtETHSpeed2Lanes[ETH_LINK_SPEED_EXT_CAUI_4] = 4;
400401
_ExtETHSpeed2Lanes[ETH_LINK_SPEED_EXT_100GAUI_2] = 2;
401402
_ExtETHSpeed2Lanes[ETH_LINK_SPEED_EXT_200GAUI_4] = 4;

mstflint.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{!?ibmadlib: %define ibmadlib libibmad-devel}
22
%{!?name: %define name mstflint}
33
%{!?version: %define version 4.13.3}
4-
%{!?release: %define release 1}
4+
%{!?release: %define release 2}
55
%{!?buildtype: %define buildtype "native"}
66
%{!?noinband: %define noinband 0}
77
%{!?nodc: %define nodc 0}

0 commit comments

Comments
 (0)