git: 28f2d9b86de5 - stable/15 - vtnet: deprecate loader tunable fixup_needs_csum

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Mon, 22 Sep 2025 19:23:41 UTC
The branch stable/15 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=28f2d9b86de5aa337f9f5f28e95e112722cfa14d

commit 28f2d9b86de5aa337f9f5f28e95e112722cfa14d
Author:     Timo Völker <timo.voelker@fh-muenster.de>
AuthorDate: 2025-09-16 21:37:45 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-09-17 04:49:54 +0000

    vtnet: deprecate loader tunable fixup_needs_csum
    
    If this tunable is enabled and vtnet receives a packet with
    VIRTIO_NET_HDR_F_NEEDS_CSUM set, vtnet computes the TCP/UDP checksum
    and writes it in the checksum field.
    This was somewhat useful when vtnet pretended that such a packet has
    a correct checksum and set the mbuf flag CSUM_DATA_VALID.
    But this is not the case anymore.
    
    Reviewed by:            tuexen
    Differential Revision:  https://reviews.freebsd.org/D52546
    
    (cherry picked from commit 5da388d93917f5fa74022960cc65452592f71539)
---
 share/man/man4/vtnet.4 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/share/man/man4/vtnet.4 b/share/man/man4/vtnet.4
index 1df79da5f42e..0594ca70e99a 100644
--- a/share/man/man4/vtnet.4
+++ b/share/man/man4/vtnet.4
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd September 8, 2025
+.Dd September 16, 2025
 .Dt VTNET 4
 .Os
 .Sh NAME
@@ -84,6 +84,8 @@ field of the structure
 .Vt struct virtio_net_hdr .
 It also marks the checksum as being correct in the mbuf packet header.
 The default value is 0.
+This tunable is deprecated and will be removed in
+.Fx 16 .
 .It Va hw.vtnet.tso_disable
 .It Va hw.vtnet. Ns Ar X Ns Va .tso_disable
 This tunable disables TCP segmentation offloading.