Page MenuHomeFreeBSD

Fix SR-IOV passthrough devices to allow ppt to attach
AbandonedPublic

Authored by rstone on Mar 10 2015, 7:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 13 2024, 1:32 AM
Unknown Object (File)
Apr 25 2023, 6:51 PM
Unknown Object (File)
Apr 8 2023, 12:25 AM
Unknown Object (File)
Apr 7 2017, 12:21 AM
Unknown Object (File)
Mar 13 2017, 10:11 AM
Unknown Object (File)
Feb 24 2017, 4:52 PM
Unknown Object (File)
Feb 23 2017, 6:15 PM
Unknown Object (File)
Feb 5 2017, 5:18 PM
Subscribers

Details

Reviewers
None
Summary

A late change to the SR-IOV infrastructure broke passthrough of
VFs. device_set_devclass() was being used to try to force the
ppt driver to attach to the device, but this didn't work because
the DF_FIXEDCLASS flag wasn't being set on the device, so the
ppt driver probe routine would not match when it returned
BUS_NOWILDCARD. Fix this by adding a new device function that
both sets the devclass and sets the DF_FIXEDCLASS flag, and use
that to force the ppt driver to attach to VFs.

Diff Detail

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

Event Timeline

rstone retitled this revision from to Fix SR-IOV passthrough devices to allow ppt to attach.
rstone edited the test plan for this revision. (Show Details)
rstone updated this object.

generated by test of script; ignore