Page MenuHomeFreeBSD

hyperv/hn: Trust host TCP segment checksum verification by default
ClosedPublic

Authored by sepherosa_gmail.com on Jan 19 2016, 1:26 AM.
Tags
None
Referenced Files
F114597675: D4991.diff
Mon, Apr 14, 7:06 AM
F114593674: D4991.id.diff
Mon, Apr 14, 6:21 AM
F114575072: D4991.id12672.diff
Mon, Apr 14, 2:40 AM
Unknown Object (File)
Fri, Apr 11, 3:30 PM
Unknown Object (File)
Jan 22 2025, 9:11 PM
Unknown Object (File)
Jan 21 2025, 12:52 PM
Unknown Object (File)
Jan 7 2025, 11:51 PM
Unknown Object (File)
Dec 10 2024, 10:14 PM
Subscribers

Details

Summary
According to all available information, VMSWITCH always does the
TCP segment checksum verification before send the segment to guest.

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: Trust host TCP segment checksum verification by default.
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
delphij edited edge metadata.

I think the change is Okay but would suggest that this be documented as a CTLFLAG_RDTUN sysctl so it's easier for users to figure out what they means (and their present value).

This revision is now accepted and ready to land.Jan 19 2016, 1:31 AM

I think the change is Okay but would suggest that this be documented as a CTLFLAG_RDTUN sysctl so it's easier for users to figure out what they means (and their present value).

Heh, the sysctl for this tunable was in the devclass sysctl tree, they are just added dynamically, since the devclass sysctl tree is created dynamiclly. On this hyperv (I used to write this reply down :):

fbsd-cur-sephe:netvsc# sysctl dev.hn
dev.hn.tso_maxlen: 0
dev.hn.tx_chimney_size: 0
dev.hn.trust_hosttcp: 1

I think the change is Okay but would suggest that this be documented as a CTLFLAG_RDTUN sysctl so it's easier for users to figure out what they means (and their present value).

Heh, the sysctl for this tunable was in the devclass sysctl tree, they are just added dynamically, since the devclass sysctl tree is created dynamiclly. On this hyperv (I used to write this reply down :):

fbsd-cur-sephe:netvsc# sysctl dev.hn
dev.hn.tso_maxlen: 0
dev.hn.tx_chimney_size: 0
dev.hn.trust_hosttcp: 1

I see, thanks for the explanation.

adrian edited edge metadata.
This revision was automatically updated to reflect the committed changes.