Page MenuHomeFreeBSD

Update mailbox writes to work with VF devices.
ClosedPublic

Authored by jhb on Aug 12 2016, 6:32 PM.

Details

Summary

Update mailbox writes to work with VF devices.

  • Use alternate register locations for the data and control registers for VFs.
  • Do a dummy read to force the writes to the mailbox data registers to post before the write to the control register on VFs.
  • Do not check the PCI-e firmware register for errors on VFs.
Test Plan
  • tested as part of the VF branch, also tested standalone on PF for basic testing (ping, netperf)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb retitled this revision from to Update mailbox writes to work with VF devices..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: np.
np edited edge metadata.
This revision is now accepted and ready to land.Aug 13 2016, 9:17 PM
This revision was automatically updated to reflect the committed changes.