-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkey fine verification #1041
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PKEY will always be at index 0.
Please add a comment as to what the expected PKEYs are and verify the second PKEY is 0x7fff (this applies to CX3-Pro. Don't recall if it's the same case in CX-5 and newer)
$pkeys = executeRemoteCommand $ipaddress "cat /sys/class/infiniband/mlx4_0/ports/1/pkeys/*"
if (!($pkeys[0] -match "0x8[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]" -and $pkeys[1] -eq "0x7fff"))
{
Write-LogError "Unexpected PKEYs in ${$ipaddress}: $pkeys"
exit 1
}
Need to take care of fine verification later
The text was updated successfully, but these errors were encountered: