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

Update switch.sh slot-info output #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

behlendorf
Copy link
Contributor

@behlendorf behlendorf commented Dec 19, 2024

For 'switch.sh slot-info' all of the columns in a PFID row should be printed even if the field value could not be read. This allows the output to be more easily parsed.

One such failure mode which has been observed:

# switchtec-nvme id-ctrl 0x4100@/dev/switchtec1
Getting EP tunnel status: Unknown MRPC error (MRPC: 0x8f, error: 0x1)
NVMe status: Unknown(0x2827)

For 'switch.sh slot-info' all of the columns in a PFID row should be
printed even if they field value could not be read.  This allows the
output to be more easily parsed.

One such failure mode which has been observed:

    # switchtec-nvme id-ctrl 0x4100@/dev/switchtec1
    Getting EP tunnel status: Unknown MRPC error (MRPC: 0x8f, error: 0x1)
    NVMe status: Unknown(0x2827)

Signed-off-by: Brian Behlendorf <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants