Skip to content
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

Open
juhlee-microsoft opened this issue Oct 8, 2020 · 0 comments
Open

pkey fine verification #1041

juhlee-microsoft opened this issue Oct 8, 2020 · 0 comments
Assignees

Comments

@juhlee-microsoft
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant