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
F176163587: D5085.id12744.diff
Fri, Oct 16, 2:39 PM
F176144700: D5085.id12744.diff
Fri, Oct 16, 11:27 AM
Unknown Object (File)
Wed, Oct 14, 5:33 PM
Unknown Object (File)
Wed, Oct 14, 4:40 PM
Unknown Object (File)
Thu, Oct 1, 6:07 PM
Unknown Object (File)
Tue, Sep 22, 3:02 PM
Unknown Object (File)
Sun, Sep 20, 7:31 PM
Unknown Object (File)
Sat, Sep 19, 5:16 PM
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

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: 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.