Page MenuHomeFreeBSD

hyperv/hn: Fix primary channel revocation
ClosedPublic

Authored by sepherosa_gmail.com on Nov 18 2016, 3:17 AM.
Tags
None
Referenced Files
F153281353: D8559.diff
Mon, Apr 20, 5:37 AM
Unknown Object (File)
Sun, Apr 19, 2:51 AM
Unknown Object (File)
Sat, Apr 18, 6:18 PM
Unknown Object (File)
Thu, Apr 16, 8:44 AM
Unknown Object (File)
Thu, Apr 9, 5:36 AM
Unknown Object (File)
Sun, Apr 5, 2:54 PM
Unknown Object (File)
Thu, Mar 26, 7:06 AM
Unknown Object (File)
Wed, Mar 25, 10:16 AM
Subscribers
None

Details

Summary

Since hypervisor will not drain the TX bufring, once the channels are revoked:

  • Setup vmbus orphan handler properly.
  • Make sure that suspension will not wait the TX bufring draining forever.
  • GC the pending TX descs on detach path, before freeing the busdma stuffs.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/hn: Fix primary channel revocation.
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.