From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D31D44C63; Mon, 22 Sep 2025 15:55:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758556529; cv=none; b=DORS3MaBInVn8va8WdiWVaRJd+LiKwn5EcLMwV5BW3VggLFYMeZJTJ1paL3kvh0lIfRdTgDOKtSAAzcY1hIPpEcEpIMru8uulqhM1PRO8c1/RZhe3HJ+KG3+Rw1C5WGO+MJcft7A9xzRW20JRri4tKN3t3kY3wgfkCZy2X7E0lE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758556529; c=relaxed/simple; bh=Onf3CcsEJl0ngxXMEOYfC15DjUX6QEH0Zyjt05mjWVo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lpiSD3ue2TdwAC2wF1tUpucM7ZK1nKUPpWOvVQS8q2QCWlDaXAETfJswac0KzTWCdx8qv48dyJ9ifh1L/EO3bcZ3HlDt6i6Nw+dHykrF4AHLS76K/Ks0oLuc/1cwGexa+aCm4ClJqiVA2e99l6wiJU8odGMqTtcLxuc0JonsHro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CqQf93gW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CqQf93gW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19994C4CEF0; Mon, 22 Sep 2025 15:55:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758556527; bh=Onf3CcsEJl0ngxXMEOYfC15DjUX6QEH0Zyjt05mjWVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CqQf93gWSxKJStGz129YFX6KAQwrxTlN5QqPXhCPOyO3gDva8XoByKeTQzuv5anyr zLtDABiPBw0iutIDE1ciQelQjDWj4pbHa94uLii2EtmR9LqJDYeZRqdthdLta6AvRo /EFlKzIzi/GUIZfQ8DUscmCVWOzfHs6zo7BE8gk6ZWHDnuMuZAVFE+LJ8dzaAkh+u5 dyExzz37ACD7g3U75rBi6hH87mw1VetRNWkuixHOj+LaFNL7R0GlZ5pp86Mq9pI1ud 2Gi+QytZJ8Gc2HxWLMaiSQMTa0z9j5lqR8rXoFtgVnMh/0EPxrbRbm5VMvO9R6OOWM wcMPEAeusSm0w== Date: Mon, 22 Sep 2025 17:55:25 +0200 From: Lorenzo Bianconi To: Stanislav Fomichev Cc: Donald Hunter , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Stanislav Fomichev , Andrew Lunn , Tony Nguyen , Przemek Kitszel , Alexander Lobakin , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , KP Singh , Hao Luo , Jiri Olsa , Shuah Khan , netdev@vger.kernel.org, bpf@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH RFC bpf-next 1/6] netlink: specs: Add XDP RX checksum capability to XDP metadata specs Message-ID: References: <20250920-xdp-meta-rxcksum-v1-0-35e76a8a84e7@kernel.org> <20250920-xdp-meta-rxcksum-v1-1-35e76a8a84e7@kernel.org> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bRMqdsBuSfWUVEkl" Content-Disposition: inline In-Reply-To: --bRMqdsBuSfWUVEkl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sep 22, Stanislav Fomichev wrote: > On 09/20, Lorenzo Bianconi wrote: > > Introduce XDP RX checksum capability to XDP metadata specs. XDP RX > > checksum will be use by devices capable of exposing receive checksum > > result via bpf_xdp_metadata_rx_checksum(). > >=20 > > Signed-off-by: Lorenzo Bianconi > > --- > > Documentation/netlink/specs/netdev.yaml | 5 +++++ > > 1 file changed, 5 insertions(+) > >=20 > > diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/ne= tlink/specs/netdev.yaml > > index e00d3fa1c152d7165e9485d6d383a2cc9cef7cfd..00699bf4a7fdb67c6b9ee35= 48098b0c933fd39a4 100644 > > --- a/Documentation/netlink/specs/netdev.yaml > > +++ b/Documentation/netlink/specs/netdev.yaml > > @@ -61,6 +61,11 @@ definitions: > > doc: | > > Device is capable of exposing receive packet VLAN tag via > > bpf_xdp_metadata_rx_vlan_tag(). > > + - > > + name: checksum > > + doc: | > > + Device is capable of exposing receive checksum result via > > + bpf_xdp_metadata_rx_checksum(). > > - > > type: flags > > name: xsk-flags >=20 > nit: let's fold it into patch 2? Will be easier to git blame the > feature.. ack, I will do it posting a proper series. Regards, Lorenzo --bRMqdsBuSfWUVEkl Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCaNFxbQAKCRA6cBh0uS2t rNMHAQCZQ8ZRjtV8RUnz2vY6o7/MqAASpGYpoP/69OTl9wjz7QEA0EogEhTfo2Hk xMcNGq1A1zWlgoqIzDCE3KQhy/c4BgA= =RRWF -----END PGP SIGNATURE----- --bRMqdsBuSfWUVEkl-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 00BF2CA100F for ; Mon, 22 Sep 2025 15:55:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id AA2AE61B15; Mon, 22 Sep 2025 15:55:33 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Tj-PxV1cETXf; Mon, 22 Sep 2025 15:55:32 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 61EA161B0D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1758556532; bh=mBnE5M+NWsyloUtiCRU9Kd9luyFfmyz6BUHmx1Dlbc0=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=nkmvb4pt+iuKu7XQSaQGWZvVlQ9Csy9rcstDRLONljPbyzJ7Na+S/tn4u6x5HxNTm dlzykhH362YH/C1cAjq3f0CPbK3IJbcn+lwWtKAsZFCnUrCgfR+RZmPtk6DNNsCfKQ sJiLj+/FqRr8jb2Z2NmIQSEuTi5cmw7Ztsr8y9fZ2n2HI3Jm6zrTSQlIoyu7PiabTx RGa0tkIFkHsIcSeVMfTZqD8V9VkwlloeA6MC8QlYuen58I9Ab4m+j0cgJd/LBrEJAe fLuxELx9ubqUvrI0/YPnqkE1jwn2zN3Tr8R4xpPNwjHnD8PPGPUxTX01VK04Cor6s6 KrwNL1deYQK6Q== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 61EA161B0D; Mon, 22 Sep 2025 15:55:32 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with ESMTP id CC438116C for ; Mon, 22 Sep 2025 15:55:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C9BED842EB for ; Mon, 22 Sep 2025 15:55:30 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id WT4-ut_-cB4e for ; Mon, 22 Sep 2025 15:55:30 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org; envelope-from=lorenzo@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 08D2A84562 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 08D2A84562 Received: from tor.source.kernel.org (tor.source.kernel.org [IPv6:2600:3c04:e001:324:0:1991:8:25]) by smtp1.osuosl.org (Postfix) with ESMTPS id 08D2A84562 for ; Mon, 22 Sep 2025 15:55:29 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id E575F60200; Mon, 22 Sep 2025 15:55:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19994C4CEF0; Mon, 22 Sep 2025 15:55:27 +0000 (UTC) Date: Mon, 22 Sep 2025 17:55:25 +0200 From: Lorenzo Bianconi To: Stanislav Fomichev Cc: Donald Hunter , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Stanislav Fomichev , Andrew Lunn , Tony Nguyen , Przemek Kitszel , Alexander Lobakin , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , KP Singh , Hao Luo , Jiri Olsa , Shuah Khan , netdev@vger.kernel.org, bpf@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-kselftest@vger.kernel.org Message-ID: References: <20250920-xdp-meta-rxcksum-v1-0-35e76a8a84e7@kernel.org> <20250920-xdp-meta-rxcksum-v1-1-35e76a8a84e7@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bRMqdsBuSfWUVEkl" Content-Disposition: inline In-Reply-To: X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758556527; bh=Onf3CcsEJl0ngxXMEOYfC15DjUX6QEH0Zyjt05mjWVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CqQf93gWSxKJStGz129YFX6KAQwrxTlN5QqPXhCPOyO3gDva8XoByKeTQzuv5anyr zLtDABiPBw0iutIDE1ciQelQjDWj4pbHa94uLii2EtmR9LqJDYeZRqdthdLta6AvRo /EFlKzIzi/GUIZfQ8DUscmCVWOzfHs6zo7BE8gk6ZWHDnuMuZAVFE+LJ8dzaAkh+u5 dyExzz37ACD7g3U75rBi6hH87mw1VetRNWkuixHOj+LaFNL7R0GlZ5pp86Mq9pI1ud 2Gi+QytZJ8Gc2HxWLMaiSQMTa0z9j5lqR8rXoFtgVnMh/0EPxrbRbm5VMvO9R6OOWM wcMPEAeusSm0w== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=CqQf93gW Subject: Re: [Intel-wired-lan] [PATCH RFC bpf-next 1/6] netlink: specs: Add XDP RX checksum capability to XDP metadata specs X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" --bRMqdsBuSfWUVEkl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sep 22, Stanislav Fomichev wrote: > On 09/20, Lorenzo Bianconi wrote: > > Introduce XDP RX checksum capability to XDP metadata specs. XDP RX > > checksum will be use by devices capable of exposing receive checksum > > result via bpf_xdp_metadata_rx_checksum(). > >=20 > > Signed-off-by: Lorenzo Bianconi > > --- > > Documentation/netlink/specs/netdev.yaml | 5 +++++ > > 1 file changed, 5 insertions(+) > >=20 > > diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/ne= tlink/specs/netdev.yaml > > index e00d3fa1c152d7165e9485d6d383a2cc9cef7cfd..00699bf4a7fdb67c6b9ee35= 48098b0c933fd39a4 100644 > > --- a/Documentation/netlink/specs/netdev.yaml > > +++ b/Documentation/netlink/specs/netdev.yaml > > @@ -61,6 +61,11 @@ definitions: > > doc: | > > Device is capable of exposing receive packet VLAN tag via > > bpf_xdp_metadata_rx_vlan_tag(). > > + - > > + name: checksum > > + doc: | > > + Device is capable of exposing receive checksum result via > > + bpf_xdp_metadata_rx_checksum(). > > - > > type: flags > > name: xsk-flags >=20 > nit: let's fold it into patch 2? Will be easier to git blame the > feature.. ack, I will do it posting a proper series. Regards, Lorenzo --bRMqdsBuSfWUVEkl Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCaNFxbQAKCRA6cBh0uS2t rNMHAQCZQ8ZRjtV8RUnz2vY6o7/MqAASpGYpoP/69OTl9wjz7QEA0EogEhTfo2Hk xMcNGq1A1zWlgoqIzDCE3KQhy/c4BgA= =RRWF -----END PGP SIGNATURE----- --bRMqdsBuSfWUVEkl--