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)
Thu, Jan 23, 5:34 AM
Unknown Object (File)
Thu, Jan 23, 5:02 AM
Unknown Object (File)
Sun, Jan 19, 10:24 AM
Unknown Object (File)
Dec 13 2024, 4:58 AM
Unknown Object (File)
Nov 28 2024, 9:28 PM
Unknown Object (File)
Nov 10 2024, 10:06 AM
Unknown Object (File)
Nov 4 2024, 6:37 AM
Unknown Object (File)
Nov 2 2024, 8:36 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.