Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp939030rdb; Fri, 1 Dec 2023 02:47:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjfkFBsYUIAWbeR6Gb1zbSgwSGF4uW69KqW8DIJpBqHp6uceR5vKilnr5wxMVOSl1WP1cp X-Received: by 2002:a05:6358:e0a9:b0:16e:3874:c1e2 with SMTP id bh41-20020a056358e0a900b0016e3874c1e2mr17309204rwb.12.1701427627156; Fri, 01 Dec 2023 02:47:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701427627; cv=none; d=google.com; s=arc-20160816; b=K0ZufeJSeg69BaFEPZVSY7VDGB12N9D0P+kdGdbF4sbcNuQLW/RPaO13t2n3TLay6x hc/4tOFw3d+cgmmzvBVP/nJy2Bohy546Xtdp1e7uW2Danwcz2wmJZs9oKBYpWRCSuwbo tRC7IvVDQiBM/SCfk4WKUZXduIvSXVyTzrFnzwkdytSqjcllysmOagKmfwer7qzf0Yza BgOeaolqbGPH/ylZjC4Zu1sZLifu6bxyhSPetXBRu7UBnCcjn2dVy6hZJ2YervwsYWx8 DjVGk3kPG80y64XM84K9Ig3RtJizztqIIf6rfBUh0qwyYpics07ev1MgTPvrBdeTEgyB dP6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FQj8IHN5wRn+LrMZdryDK1hYows4JzS5S2+jt16RDRs=; fh=ehSVmZpe8q5dLt0ylEc4tp7nlRfYehL2qdVeH7nIojQ=; b=GWlOLRQ5RHNcba+XmROul0etFnXDlMQ1DAlbUbHyxHjn4by3wa9PeiIIDXeXFGtPb6 Rs8LwM8BsxF3KGPgNeWZM6Rm1s4McoTjeXSRuzELMZv7rF1uGWYdbzqA2XTbsM+6dRVX XpRyjjgJVAdCOnIoof0FbEgaY6qp+RzHG0xaauIR/6Bm+yPJ13QJwzLPu+by+LPtaSA5 yut8YpoXDTnjd1YxFpmDB8SLEdhHnrQD+8jfzFwoju9Tm4BODulibrjLsU7lalQQ8B5q WYsj7CZlzwlIDZR1jFzjs2X5rZAks42jzv/5uQRTl3gDYjvjvczRedB5GRrI2AaFI4++ Km9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SWPKPFHs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id 127-20020a630985000000b005be0028c5easi3055599pgj.401.2023.12.01.02.47.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 02:47:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SWPKPFHs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 391F08079DCE; Fri, 1 Dec 2023 02:47:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378447AbjLAKqd (ORCPT + 99 others); Fri, 1 Dec 2023 05:46:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378423AbjLAKqa (ORCPT ); Fri, 1 Dec 2023 05:46:30 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96B8C1726 for ; Fri, 1 Dec 2023 02:46:29 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F6A3C433C7; Fri, 1 Dec 2023 10:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701427589; bh=5zjayL88soz+UgJbryPsfFfFuCruLUpe7CIqCl/SLV8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SWPKPFHsSk8v67r+wzTQi1CO6hcbjUUpZE3vnilfgHHfZwu4IJFOQ5+rwbUdgPmLc yWtMqvr0cxc2sdZrbCSHK568MaEExBRSfpDet74hIw2pKTCMegAO8qkO+wBD57U//9 730HNIMRIxuWCCJFQNjzcbx58JHzDGYi6owXtMvfOhgcSIwgOpoBgzUhFTnyt4XCDN e7Syzbndkz/v/VLblq4L9o8kSEXECELQ08REb4v+RuY+aRar9yp//iKZVGMv256t73 o71Zp0tFHEerRmrytXpPlbRTZhyt+4VDNMgczQDGar2JHc9H5WbBlArbEMH4DACuda pFCJdIzQ48ioA== Message-ID: Date: Fri, 1 Dec 2023 11:46:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH bpf-next v2 0/3] xsk: TX metadata txtime support Content-Language: en-US To: Song Yoong Siang , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Bjorn Topel , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Stanislav Fomichev , Lorenzo Bianconi , Tariq Toukan , Willem de Bruijn , Maxime Coquelin , Andrii Nakryiko , Mykola Lysenko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Hao Luo , Jiri Olsa , Shuah Khan , Alexandre Torgue , Jose Abreu Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, bpf@vger.kernel.org, xdp-hints@xdp-project.net, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org References: <20231201062421.1074768-1-yoong.siang.song@intel.com> From: Jesper Dangaard Brouer In-Reply-To: <20231201062421.1074768-1-yoong.siang.song@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 01 Dec 2023 02:47:03 -0800 (PST) On 12/1/23 07:24, Song Yoong Siang wrote: > This series expands XDP TX metadata framework to include ETF HW offload. > > Changes since v1: > - rename Time-Based Scheduling (TBS) to Earliest TxTime First (ETF) > - rename launch-time to txtime > I strongly disagree with this renaming (sorry to disagree with Willem). The i210 and i225 chips call this LaunchTime in their programmers datasheets, and even in the driver code[1]. Using this "txtime" name in the code is also confusing, because how can people reading the code know the difference between: - tmo_request_timestamp and tmo_request_txtime [1] https://github.com/xdp-project/xdp-project/blob/master/areas/tsn/code01_follow_qdisc_TSN_offload.org > v1: https://patchwork.kernel.org/project/netdevbpf/cover/20231130162028.852006-1-yoong.siang.song@intel.com/ > > Song Yoong Siang (3): > xsk: add ETF support to XDP Tx metadata > net: stmmac: Add txtime support to XDP ZC > selftests/bpf: Add txtime to xdp_hw_metadata > > Documentation/netlink/specs/netdev.yaml | 4 ++++ > Documentation/networking/xsk-tx-metadata.rst | 5 +++++ > drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 ++ > .../net/ethernet/stmicro/stmmac/stmmac_main.c | 13 +++++++++++++ > include/net/xdp_sock.h | 9 +++++++++ > include/net/xdp_sock_drv.h | 1 + > include/uapi/linux/if_xdp.h | 9 +++++++++ > include/uapi/linux/netdev.h | 3 +++ > net/core/netdev-genl.c | 2 ++ > net/xdp/xsk.c | 3 +++ > tools/include/uapi/linux/if_xdp.h | 9 +++++++++ > tools/include/uapi/linux/netdev.h | 3 +++ > tools/net/ynl/generated/netdev-user.c | 1 + > tools/testing/selftests/bpf/xdp_hw_metadata.c | 18 +++++++++++++++++- > 14 files changed, 81 insertions(+), 1 deletion(-) >