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)
Sun, Aug 30, 7:40 PM
Unknown Object (File)
Fri, Aug 28, 9:44 PM
Unknown Object (File)
Tue, Aug 18, 8:39 AM
Unknown Object (File)
Sun, Aug 16, 9:36 AM
Unknown Object (File)
Tue, Aug 11, 5:22 PM
Unknown Object (File)
Sun, Aug 9, 9:28 AM
Unknown Object (File)
Sun, Aug 9, 9:27 AM
Unknown Object (File)
Wed, Aug 5, 4:43 AM
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.