Page MenuHomeFreeBSD

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

Authored by rstone on Mar 10 2015, 7:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 5 2024, 5:43 PM
Unknown Object (File)
Apr 25 2023, 6:51 PM
Unknown Object (File)
Apr 8 2023, 12:25 AM
Unknown Object (File)
Apr 2 2017, 4:13 AM
Unknown Object (File)
Oct 12 2016, 6:05 PM
Unknown Object (File)
Sep 9 2016, 5:42 PM
Unknown Object (File)
Sep 7 2016, 9:27 PM
Unknown Object (File)
Jul 1 2016, 11:46 AM
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