<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/hyperv/netvsc, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-10-06T06:22:12Z</updated>
<entry>
<title>netvsc: Fix a typo in a comment</title>
<updated>2021-10-06T06:22:12Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2021-10-02T08:42:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aa42680be7883ffb02e17abaccc225b8f6faf57f'/>
<id>urn:sha1:aa42680be7883ffb02e17abaccc225b8f6faf57f</id>
<content type='text'>
- s/prefered/preferred/

(cherry picked from commit 9ebd651b58502f0572a7832d088f53f7a2ad00a5)
</content>
</entry>
<entry>
<title>Hyper-V: hn: Initialize the internal field of per packet info on tx path</title>
<updated>2021-03-29T09:12:56Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2021-03-15T10:20:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a321939b02bbf6123ba029f1967778c10538fe6'/>
<id>urn:sha1:2a321939b02bbf6123ba029f1967778c10538fe6</id>
<content type='text'>
The RSC support feature introduced a bit field "rm_internal" in
struct rndis_pktinfo with total size unchanged.

The guest does not use this field in the tx path. However we need to
initialize it to zero in case older hosts which are not aware of this
field.

Fixes:		a491581f ("Hyper-V: hn: Enable vSwitch RSC support")
MFC after:	2 weeks
Sponsored by:	Microsoft

(cherry picked from commit 805dbff6c36a6cd84491aa53a02315fa025734cc)
</content>
</entry>
<entry>
<title>Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver</title>
<updated>2021-03-29T08:55:18Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2021-03-12T04:35:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4150446f6467f585595803db211f58152cd3587a'/>
<id>urn:sha1:4150446f6467f585595803db211f58152cd3587a</id>
<content type='text'>
Receive Segment Coalescing (RSC) in the vSwitch is a feature available in
Windows Server 2019 hosts and later. It reduces the per packet processing
overhead by coalescing multiple TCP segments when possible. This happens
mostly when TCP traffics are among different guests on same host.
This patch adds netvsc driver support for this feature.

The patch also updates NVS version to 6.1 as needed for RSC
enablement.

MFC after:	2 weeks
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D29075

(cherry picked from commit a491581f3f8df07cdff0236bd556895205929af4)
</content>
</entry>
<entry>
<title>Hyper-V: hn: Store host hash value in flowid</title>
<updated>2021-03-29T08:32:39Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2021-02-24T05:07:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1aadba9cc8af4c1925eb27215eaf6d68e6fbf4d8'/>
<id>urn:sha1:1aadba9cc8af4c1925eb27215eaf6d68e6fbf4d8</id>
<content type='text'>
When rx packet contains hash value sent from host, store it in
the mbuf's flowid field so when the same mbuf is on the tx path,
the hash value can be used by the host to determine the outgoing
network queue.

MFC after:	2 weeks
Sponsored by:	Microsoft

(cherry picked from commit 80f39bd95f22322152709ea5fae3a3c546044c9c)
</content>
</entry>
<entry>
<title>Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock</title>
<updated>2021-03-15T05:15:21Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2020-10-15T11:44:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=70f7b24753336efeb3cf6e73040780b2e4d28d8a'/>
<id>urn:sha1:70f7b24753336efeb3cf6e73040780b2e4d28d8a</id>
<content type='text'>
The try lock loop in HN_LOCK put the thread spinning on cpu if the lock
is not available. It is possible to cause deadlock if the thread holding
the lock is sleeping. Relinquish the cpu to work around this problem even
it doesn't completely solve the issue. The priority inversion could cause
the livelock no matter how less likely it could happen. A more complete
solution may be needed in the future.

Reported by:	Microsoft, Netapp
MFC after:	2 weeks
Sponsored by:	Microsoft

(cherry picked from commit b3460f44524b145c6c8a760ebe65052560a810bf)
</content>
</entry>
<entry>
<title>hyperv/vmbus: Fix the wrong size in ndis_offload structure</title>
<updated>2021-03-15T05:03:58Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2019-07-09T08:21:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b05c1dd0d1622fba5810513f3cefee4e34041c36'/>
<id>urn:sha1:b05c1dd0d1622fba5810513f3cefee4e34041c36</id>
<content type='text'>
Submitted by:	whu
MFC after:	2 weeks
Sponsored by:	Microsoft

(cherry picked from commit 23a499203c5b3fd74f781d1383269a6e168588cf)
</content>
</entry>
<entry>
<title>hyperv/vmbus: Update VMBus version 4.0 and 5.0 support.</title>
<updated>2021-03-15T05:00:05Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2019-07-09T07:24:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c38b9b80149f463b0c39a677e91b20925ec486d1'/>
<id>urn:sha1:c38b9b80149f463b0c39a677e91b20925ec486d1</id>
<content type='text'>
Add VMBus protocol version 4.0. and 5.0 to support Windows 10 and newer HyperV hosts.

For VMBus 4.0 and newer HyperV, the netvsc gpadl teardown must be done after vmbus close.

Submitted by:	whu
MFC after:	2 weeks
Sponsored by:	Microsoft

(cherry picked from commit ace5ce7e701e5a98c23f820d4f126e5c265aa667)
</content>
</entry>
<entry>
<title>MFC r356201:</title>
<updated>2020-01-06T09:50:44Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-01-06T09:50:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc5f8523587a37aaac0b5a8ba310c9faf9fbcd23'/>
<id>urn:sha1:dc5f8523587a37aaac0b5a8ba310c9faf9fbcd23</id>
<content type='text'>
Fix spelling.

PR:		242891
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r339585:</title>
<updated>2018-11-01T08:08:08Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2018-11-01T08:08:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=352fc1abf98072f09c9a745e51961011168f2240'/>
<id>urn:sha1:352fc1abf98072f09c9a745e51961011168f2240</id>
<content type='text'>
 Do not drop UDP traffic when TXCSUM_IPV6 flag is on.

PR:		231797
Submitted by:	whu
Reviewed by:	dexuan
Obtained from:	Kevin Morse
Approved by:	re (rgrimes)
Sponsored by:	Microsoft
</content>
</entry>
<entry>
<title>hyperv/hn: Fix panic in hypervisor code upon device detach event</title>
<updated>2018-07-17T21:05:08Z</updated>
<author>
<name>Dexuan Cui</name>
<email>dexuan@FreeBSD.org</email>
</author>
<published>2018-07-17T21:05:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d76fb49fd89f7b783798a2a2b76a03c9f988621f'/>
<id>urn:sha1:d76fb49fd89f7b783798a2a2b76a03c9f988621f</id>
<content type='text'>
Submitted by:	hselasky
Reviewed by:	dexuan
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D16139
</content>
</entry>
</feed>
