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, Nov 10, 10:06 AM
Unknown Object (File)
Mon, Nov 4, 6:37 AM
Unknown Object (File)
Sat, Nov 2, 8:36 AM
Unknown Object (File)
Oct 18 2024, 9:31 AM
Unknown Object (File)
Oct 18 2024, 9:30 AM
Unknown Object (File)
Oct 18 2024, 9:16 AM
Unknown Object (File)
Oct 2 2024, 6:22 PM
Unknown Object (File)
Oct 2 2024, 6:21 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.