From nobody Fri Jan 16 19:40:44 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dt9F85mkTz6NlZ6 for ; Fri, 16 Jan 2026 19:40:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dt9F81NQ5z3wkn for ; Fri, 16 Jan 2026 19:40:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768592444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DMgMXLm83h0oY57/aq99hGW4NFdQf9ORnxEZPn1WAKM=; b=AiuXqFMTK9pAaisOoMsS5OirELlZnDY+Sr6llstOKXC9uHX1tQb8dAKKGPaajJhZo+fLo6 swqvcJZ4Mvi2DRrTz2nW5D1rW/8NjKizQh5OaqRV3uJLaHfoOncfupWo0+j5g++0D0fnNW I+NfH0MdOHOr2IVssjrIPkiFjFDBTjY9xvqnOtZD/Ozy87rEnoE9U+rU2WaQdi2tI+Ommk iPRYqU04FAFIlhWiLuidPdQgOyRySIU7UjP1pDgYFQ8Ztz0gFb12vFpEEc8fJ4nfH0tgWS 23j4DnQUT46OWfCjvNx+oyo8GeOF37KckER4G+SPUu/1WiTwOecmZAv/S6S+6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768592444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DMgMXLm83h0oY57/aq99hGW4NFdQf9ORnxEZPn1WAKM=; b=fuzWCHQMOBfMTnrBJteBtFIhMIxyvkQIg2GAEoq004WeO9G0ScloU6C4woKnDXVoWRsAR0 abyY2FcxUxgspopJBxcYJDM+2fcJoYLC0+Lw6YM5wIg1nYnsFPzc4hMDYSID3Vb7rGlrXI mXPNNzyMhmzc73EBNL8Jg8tfcmi8uWTM0BQ/ytT6b7k1f+exRwqvTGHdbRSNCyvQe9ZHx0 JXwpZGydMfPWrupPJZL2Oqlft3fbclemf0qtOEmsK3TeODxixb3KNDs++HrfTVUbYDxahf JexWv3Jz6HXa/PGPWG+RC53Ch3IY44zKvncK7yCzpECVab03ByaAsZoza7iCZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768592444; a=rsa-sha256; cv=none; b=ekm71lDoi5zK85LtNnjzbCiyqI34N8BcTj/yIuHEbp/R5Q6+a2JI6/LQN0cHfsveOmzhBb otSgF4fdwcOSuBxiNkc21gzfexQYMdJt8U85oE5yASXudvHkPDEmVwXm469Wa7QSAraQWl rsQZxUgUBs8odoS2FAkjtE9G06W8ZUQBSRMV1/ZJBK6nWR7Sh44OUBHY0pqou7tUdgjQ9p M2DvIA3PFCDOGvWz0n2/T3zVAeMk2WR3byy1icHBS3EOoGCfe/X2dpApS6aAXF+SJfNF1T bfoo/qYQ88r5gsQAEFntE92bdjkRQENuEfZ78Vbh/+wB9PtjOYqAjpcDJqTFUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dt9F80vLfzBj2 for ; Fri, 16 Jan 2026 19:40:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id dbdb by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 16 Jan 2026 19:40:44 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 5b7aa8225bea - stable/14 - LinuxKPI: skbuff: checksum offloading flags List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 5b7aa8225bea341b830666e2724ecb13316e27b0 Auto-Submitted: auto-generated Date: Fri, 16 Jan 2026 19:40:44 +0000 Message-Id: <696a943c.dbdb.41649b3c@gitrepo.freebsd.org> The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=5b7aa8225bea341b830666e2724ecb13316e27b0 commit 5b7aa8225bea341b830666e2724ecb13316e27b0 Author: Bjoern A. Zeeb AuthorDate: 2025-08-29 18:55:53 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-01-16 19:37:45 +0000 LinuxKPI: skbuff: checksum offloading flags Given the checksum offloading flags are mutually exclusive and are not a bit mask, we can compress them into 2 bit for the four possible values. Change the define but leave the type at uint8_t for now with a comment. We can possible combine them with another sub-octet field in the future. Sponsored by: The FreeBSD Foundation (cherry picked from commit 343f8f71af70c92b36be19e1d97530b84f871c3e) --- sys/compat/linuxkpi/common/include/linux/skbuff.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h index c8ad90281e34..0f192ceab318 100644 --- a/sys/compat/linuxkpi/common/include/linux/skbuff.h +++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h @@ -120,7 +120,7 @@ enum sk_checksum_flags { CHECKSUM_NONE = 0x00, CHECKSUM_UNNECESSARY = 0x01, CHECKSUM_PARTIAL = 0x02, - CHECKSUM_COMPLETE = 0x04, + CHECKSUM_COMPLETE = 0x03, }; struct skb_frag { @@ -170,7 +170,7 @@ struct sk_buff { }; }; uint16_t protocol; - uint8_t ip_summed; + uint8_t ip_summed; /* 2 bit only. */ /* uint8_t */ /* "Scratch" area for layers to store metadata. */