<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/hyperv/netvsc, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Hyper-V: hn: just call vf's ioctl when changing mtu</title>
<updated>2025-12-23T05:38:40+00:00</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2025-12-23T04:23:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=44f656641c238cb3db31026f3e3bef36cd5231a8'/>
<id>44f656641c238cb3db31026f3e3bef36cd5231a8</id>
<content type='text'>
When changing mtu, if a vf is attached to the netvsc interface, just
calling its ioctl to change vf's mtu is good enough.

Tested by:	whu
MFC after:	3 days
Sponsored by:	Microsoft
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When changing mtu, if a vf is attached to the netvsc interface, just
calling its ioctl to change vf's mtu is good enough.

Tested by:	whu
MFC after:	3 days
Sponsored by:	Microsoft
</pre>
</div>
</content>
</entry>
<entry>
<title>hn: use newly exposed RSS hash key API rather than ad-hoc hashing</title>
<updated>2025-11-22T14:29:34+00:00</updated>
<author>
<name>Andrew Gallatin</name>
<email>gallatin@FreeBSD.org</email>
</author>
<published>2025-11-22T14:29:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2ae6227ddfb85965d9d2a3719583d8fddad02ba1'/>
<id>2ae6227ddfb85965d9d2a3719583d8fddad02ba1</id>
<content type='text'>
Differential Revision:	https://reviews.freebsd.org/D53099
Sponsored by: Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision:	https://reviews.freebsd.org/D53099
Sponsored by: Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>hyper-v: Fix a couple of typos in kernel messages</title>
<updated>2025-10-28T08:07:28+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2025-10-28T08:07:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1ef6fef9d5c82a106ba8e42c1e087f9b5d1dfec6'/>
<id>1ef6fef9d5c82a106ba8e42c1e087f9b5d1dfec6</id>
<content type='text'>
- s/tranparent/transparent/
- s/Unknow/Unknown/
- s/qury/query/

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/tranparent/transparent/
- s/Unknow/Unknown/
- s/qury/query/

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Hyper-V: hn: rewrite hn rsc swtich to avoid sysctl hang</title>
<updated>2025-02-04T13:39:14+00:00</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2025-02-04T13:39:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da1deb784d9ad3a4015a3f91fa1a5ce394fd3fdb'/>
<id>da1deb784d9ad3a4015a3f91fa1a5ce394fd3fdb</id>
<content type='text'>
Changing the rsc_switch flag using sysctl to turn rsc on or off
could hang. The orignal code sends request to host to get the
mtu setting. Sometimes the host fails to reply, causing
the thread to sleep forever waiting for the host response.

Use existing cached mtu from hn device instead to avoid calling
host.

Reported by:	whu
Tested by:	whu
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changing the rsc_switch flag using sysctl to turn rsc on or off
could hang. The orignal code sends request to host to get the
mtu setting. Sometimes the host fails to reply, causing
the thread to sleep forever waiting for the host response.

Use existing cached mtu from hn device instead to avoid calling
host.

Reported by:	whu
Tested by:	whu
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>tcp: extend the use of the th_flags accessor function</title>
<updated>2024-11-29T08:48:23+00:00</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2024-11-29T08:44:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0fc7bdc978366abb4351b0b76b50a5848cc5d982'/>
<id>0fc7bdc978366abb4351b0b76b50a5848cc5d982</id>
<content type='text'>
Formally, there are 12 bits for TCP header flags.
Use the accessor functions in more (kernel) places.

No functional change.

Reviewed By: cc, #transport, cy, glebius, #iflib, kbowling
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D47063
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Formally, there are 12 bits for TCP header flags.
Use the accessor functions in more (kernel) places.

No functional change.

Reviewed By: cc, #transport, cy, glebius, #iflib, kbowling
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D47063
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate contigfree(9) in favour of free(9)</title>
<updated>2024-07-26T10:45:01+00:00</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2024-07-23T19:21:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d1bdc2821fcd416ab9b238580386eb605a6128d0'/>
<id>d1bdc2821fcd416ab9b238580386eb605a6128d0</id>
<content type='text'>
As of 9e6544dd6e02c46b805d11ab925c4f3b18ad7a4b contigfree(9) is no longer
needed and should not be used anymore.  We leave a wrapper for 3rd party
code in at least 15.x but remove (almost) all other cases from the tree.

This leaves one use of contigfree(9) untouched; that was the original
trigger for 9e6544dd6e02 and is handled in D45813 (to be committed
seperately later).

Sponsored by:	The FreeBSD Foundation
Reviewed by:	markj, kib
Tested by:	pho (10h stress test run)
Differential Revision: https://reviews.freebsd.org/D46099
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As of 9e6544dd6e02c46b805d11ab925c4f3b18ad7a4b contigfree(9) is no longer
needed and should not be used anymore.  We leave a wrapper for 3rd party
code in at least 15.x but remove (almost) all other cases from the tree.

This leaves one use of contigfree(9) untouched; that was the original
trigger for 9e6544dd6e02 and is handled in D45813 (to be committed
seperately later).

Sponsored by:	The FreeBSD Foundation
Reviewed by:	markj, kib
Tested by:	pho (10h stress test run)
Differential Revision: https://reviews.freebsd.org/D46099
</pre>
</div>
</content>
</entry>
<entry>
<title>hyperv/hn: Don't return error when setting media to autoselect</title>
<updated>2024-03-14T00:05:19+00:00</updated>
<author>
<name>Mark Peek</name>
<email>mp@FreeBSD.org</email>
</author>
<published>2024-03-13T23:53:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=63a7c4be4ad524629292eee659d6542f1c5e9c21'/>
<id>63a7c4be4ad524629292eee659d6542f1c5e9c21</id>
<content type='text'>
Setting media to autoselect would always return EOPNOTSUPP.
As autoselect is the only valid media, this change now returns
success instead.

PR:		264253
Reported by:	Prakash Shiva &lt;prakashs0234@gmail.com&gt;
Reviewed by:	Dexuan Cui &lt;decui microsoft com&gt;, whu
Approved by:	whu
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting media to autoselect would always return EOPNOTSUPP.
As autoselect is the only valid media, this change now returns
success instead.

PR:		264253
Reported by:	Prakash Shiva &lt;prakashs0234@gmail.com&gt;
Reviewed by:	Dexuan Cui &lt;decui microsoft com&gt;, whu
Approved by:	whu
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>if_hn: Fix two typos in source code comments</title>
<updated>2024-02-24T09:13:44+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-02-24T09:13:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=61b88a230bac766f55984d8d33b98845d2b0d1a9'/>
<id>61b88a230bac766f55984d8d33b98845d2b0d1a9</id>
<content type='text'>
- s/managment/management/
- s/transacion/transaction/

Obtained from:	NetBSD
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/managment/management/
- s/transacion/transaction/

Obtained from:	NetBSD
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>netvsc: Fix typo (triple S)</title>
<updated>2023-12-28T03:24:31+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-12-28T03:17:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a3db639a9af1b53ba7244caa2da09d23838be6ce'/>
<id>a3db639a9af1b53ba7244caa2da09d23838be6ce</id>
<content type='text'>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/955
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/955
</pre>
</div>
</content>
</entry>
<entry>
<title>bpf: Add IfAPI analogue for bpf_peers_present()</title>
<updated>2023-10-13T18:33:31+00:00</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2023-10-04T20:56:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8f31b879ecaf9e738dba631df4606742ee404e8e'/>
<id>8f31b879ecaf9e738dba631df4606742ee404e8e</id>
<content type='text'>
An interface's bpf could feasibly not exist, in which case
bpf_peers_present() would panic from a NULL pointer dereference.  Solve
this by adding a new IfAPI that could deal with a NULL bpf, if such
could occur in the network stack.

Reviewed by:	zlei
Sponsored by:	Juniper Networks, Inc.
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42082
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An interface's bpf could feasibly not exist, in which case
bpf_peers_present() would panic from a NULL pointer dereference.  Solve
this by adding a new IfAPI that could deal with a NULL bpf, if such
could occur in the network stack.

Reviewed by:	zlei
Sponsored by:	Juniper Networks, Inc.
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42082
</pre>
</div>
</content>
</entry>
</feed>
