From 2105bb64aa894760b82ed21922580d466c569eaa Mon Sep 17 00:00:00 2001 From: iinfi1 Date: Thu, 19 Mar 2020 19:16:19 +0530 Subject: [PATCH] Include support for Mellanox Connect-X 5 card added section on line 465 --- Frameworks/VMFleet/test-clusterhealth.ps1 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Frameworks/VMFleet/test-clusterhealth.ps1 b/Frameworks/VMFleet/test-clusterhealth.ps1 index 4a11545..f097b72 100644 --- a/Frameworks/VMFleet/test-clusterhealth.ps1 +++ b/Frameworks/VMFleet/test-clusterhealth.ps1 @@ -462,6 +462,17 @@ if ($roce) { '\Mellanox WinOF-2 Port Traffic(_Total)\Packets Outbound Errors' = 'Outbnd Err'; } } + "Mellanox ConnectX-5 Adapter" { + $pc = @{ + '\Mellanox WinOF-2 Diagnostics(_Total)\Responder out of order sequence received' = 'Out Of Order'; + '\Mellanox WinOF-2 Port Traffic(_Total)\Packets Received Bad CRC Error' = 'Rec BadCRC'; + '\Mellanox WinOF-2 Port Traffic(_Total)\Packets Received Frame Length Error' = 'Rec FrmLenErr'; + '\Mellanox WinOF-2 Port Traffic(_Total)\Packets Received Symbol Error' = 'Rec SymlErr'; + '\Mellanox WinOF-2 Port Traffic(_Total)\Packets Received Discarded' = 'Rec Discard'; + '\Mellanox WinOF-2 Port Traffic(_Total)\Packets Outbound Discarded' = 'Outbnd Discard' + '\Mellanox WinOF-2 Port Traffic(_Total)\Packets Outbound Errors' = 'Outbnd Err'; + } + } default { write-host -ForegroundColor Red "Unknown adapter type: $($using:drvdesc)" }