Page MenuHomeFreeBSD

Teach pciconf how to dump out SR-IOV capability
ClosedPublic

Authored by rstone on Jan 24 2015, 10:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 26, 7:32 PM
Unknown Object (File)
Sep 12 2025, 6:44 PM
Unknown Object (File)
Sep 3 2025, 10:44 PM
Unknown Object (File)
Aug 30 2025, 10:49 PM
Unknown Object (File)
Aug 15 2025, 11:05 PM
Unknown Object (File)
Aug 15 2025, 12:36 AM
Unknown Object (File)
Aug 8 2025, 1:06 AM
Unknown Object (File)
Aug 2 2025, 4:10 PM
Subscribers
None

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

rstone retitled this revision from to Teach pciconf how to dump out SR-IOV capability.
rstone edited the test plan for this revision. (Show Details)
rstone added a reviewer: jhb.
jhb edited edge metadata.

I think this looks fine. Do you have some sample output?

This revision is now accepted and ready to land.Jan 25 2015, 8:25 PM
usr.sbin/pciconf/pciconf.h
41

Perhaps avoid the extra line here and just sort 'print_bar' into the existing list of prototypes?

Sample output:

ecap 0010[160] = SR-IOV 1 IOV enabled, Memory Space enabled, ARI enabled
                 4 VFs configured out of 128 supported
                 First VF RID Offset 0x0010, VF RID Stride 0x0001
                 VF Device ID 0x154c
                 Page Sizes: 4096 (enabled), 8192, 65536, 262144, 1048576, 4194304

Thanks. I would suggest including that in a followup reply to the commit itself.