Page MenuHomeFreeBSD

hyperv/hn: Suspend and resume the backend properly upon MTU change
ClosedPublic

Authored by sepherosa_gmail.com on Sep 27 2016, 5:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 2:58 AM
Unknown Object (File)
Fri, Nov 8, 4:55 AM
Unknown Object (File)
Wed, Nov 6, 1:39 PM
Unknown Object (File)
Fri, Nov 1, 1:20 PM
Unknown Object (File)
Fri, Nov 1, 4:03 AM
Unknown Object (File)
Oct 27 2024, 11:20 AM
Unknown Object (File)
Oct 11 2024, 7:59 AM
Unknown Object (File)
Oct 2 2024, 3:51 PM
Subscribers
None

Details

Summary

Suspend:

  • Prevent the backend from being touched on TX path.
  • Clear the RNDIS RX filter, and wait for RX to drain.
  • Make sure that NVS see the chimney sending buffer and RXBUF disconnection, before unlink these buffers from the channel.

Resume:

  • Reconfigure the RNDIS filter.
  • Allow TX path to work on the backend.
  • Kick start the TX eof task, in case the OACTIVE is set.

This fixes various panics, when the interface has traffic and MTU is being changed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/hn: Suspend and resume the backend properly upon MTU change.
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.