Page MenuHomeFreeBSD

hyperv/hn: Avoid duplicate csum features settings
ClosedPublic

Authored by sepherosa_gmail.com on Jan 27 2016, 7:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 7 2024, 5:55 PM
Unknown Object (File)
Oct 4 2024, 5:08 PM
Unknown Object (File)
Oct 4 2024, 10:06 AM
Unknown Object (File)
Oct 3 2024, 2:07 PM
Unknown Object (File)
Oct 3 2024, 12:02 AM
Unknown Object (File)
Oct 2 2024, 2:03 AM
Unknown Object (File)
Oct 1 2024, 10:22 PM
Unknown Object (File)
Sep 30 2024, 6:53 AM
Subscribers

Details

Summary
  • Record csum features in softc, so we don't need to duplicate the logic from attach path to ioctl path.
  • Protect if_capenable and if_hwassist changes by main lock.
  • Prefer turn on/off bits in if_hwassist explicitly instead of using XOR.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/hn: Avoid duplicate csum features settings.
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jan 28 2016, 7:58 AM
adrian edited edge metadata.
This revision was automatically updated to reflect the committed changes.