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
F135208449: D1639.id3392.diff
Fri, Nov 7, 12:56 PM
Unknown Object (File)
Mon, Nov 3, 2:56 AM
Unknown Object (File)
Mon, Nov 3, 2:56 AM
Unknown Object (File)
Sun, Nov 2, 10:50 PM
Unknown Object (File)
Sun, Oct 26, 7:57 AM
Unknown Object (File)
Fri, Oct 24, 4:08 PM
Unknown Object (File)
Sep 26 2025, 7:32 PM
Unknown Object (File)
Sep 12 2025, 6:44 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.