Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1102238rdb; Fri, 1 Dec 2023 07:09:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMFpn44BwJtp9puNzgL+QKuL8TvqVhv+EFKBJ2qMxiIkMnBmIvVlE8sZQhXOTRNOLK3wxR X-Received: by 2002:a05:6a20:4297:b0:188:e61:f324 with SMTP id o23-20020a056a20429700b001880e61f324mr26803375pzj.57.1701443397789; Fri, 01 Dec 2023 07:09:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701443397; cv=none; d=google.com; s=arc-20160816; b=WuNP3Ix03rBijiKcSqpRoNjDFFJXeErmMYJQhX91857MtkfEz21XUjKmKu0F6ozlp6 URYHg4NzWZw588l3GfY9byb93M3F/kAG6oMvMM5smgdK9Ry1H5iSStFFybY7L6DjeOtb gzHIC5wX9JnVFTIuQaeKw2YTtdP7iv0RofzvEG/tKiQCbmSiOowtvILsgBKDxN8jLSRQ 5EtO5hcj39bywpAD2zIcfu75BF9e6KcekMQ4jU482HsDjHZCn1JzjTz3Sphj4DjGJHR8 cbNcRDmzBXZv5Q4vj9F9hekdo8awPKw3msNa23hmeP1aTbKRfSWOKqV8sbLw6+M4DCNg y0PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:subject :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=zLso2pmbW+pqec/n5hTLrdVINDT0pM+C03w8nh7HKns=; fh=byuwoWF6nqxlV5Z74WaYMXK/AeN7d+Qb9TYk6a/JOos=; b=PHnHQJk31xGmXX48vVo4AaAJTnVp7w6m1JczbDI+1jrPpNFClI4/26o3EtA9U760F0 1oNz3JzooNXtDYEUp51mbA7gINdvi0TvegzhvGGDmPx/35KIGl9yYl20gAQUeGAbKEag 1F+fB3Hm+RkrhQTwOBJkIxW/wTq2dNp3oJUBVFDO5QtzZTDgNuVZT5dHWthNoMtFjigs 1U6IB/Xc4PPazwQbwkLgCaJPXwjirtm9pmNZJTu1ov05eMJLpOhxSbQvzyFrKCtCCnqc RZLgTTRBj0FavEUHo2y8KxV+TbgtNRmOeipWsV95ckhapOdxAjWqyVhq3oJVWKxs/zTx K1qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ZW2H/utz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id be7-20020a656e47000000b005bdf5961826si3739974pgb.136.2023.12.01.07.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:09:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ZW2H/utz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 57C7683741F9; Fri, 1 Dec 2023 07:09:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379355AbjLAPJQ (ORCPT + 99 others); Fri, 1 Dec 2023 10:09:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379340AbjLAPJL (ORCPT ); Fri, 1 Dec 2023 10:09:11 -0500 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 748C010F9; Fri, 1 Dec 2023 07:09:17 -0800 (PST) Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-77d645c0e06so112311585a.3; Fri, 01 Dec 2023 07:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701443356; x=1702048156; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=zLso2pmbW+pqec/n5hTLrdVINDT0pM+C03w8nh7HKns=; b=ZW2H/utzzf1N7CiaySlvo1Rf/2AEihSxENWVUquX4J/l39PzuK8dND9WNcVXu1taoX Rj7+SHZGsei6QlOGW9p8OZyqJXLHCh2i4c8hybn6eqz9mw30mwtTXz81AEMAE2jtfFhJ UgYS/PUTL/mjlV8uEoiyH4vyKHSIfDaGCB+RrUvSRorMWS7H2kcJV25cIOfjFGlU7Dvw u9RbeF1A90lzZJzDh189xT8bkgXIrd417KCDKsKVnVZ+BwSakSccGybZE2aB9ouJiQ8Z UOiRmPKUhUQQYtARmx4fNnb6LRFGEKroQOFtv1QlNoPhv62L+jjc0GLrT7120XYRMs15 NsZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701443356; x=1702048156; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=zLso2pmbW+pqec/n5hTLrdVINDT0pM+C03w8nh7HKns=; b=eFFRYwiS/0K9fqnRZIK4nTKrZI+AHpzU9i0L2JMXRFwUyBxhPPb9NLRn9JjPoQCtFU flSBTRW9Z6/5JuDkTQ9kGQohIMtwiFb1RA2gr9tDZE2L/0R7VMraOpZn7C1IGacXiTaq GdiC67/XivIrehsMTEyS8qWsM+uKQd+V9capxdJZMFD8wzDGlowRRRanSiSnf7TAc3y0 WElU4YuiIfcrPIHCeZQkV+LIFwHNZrPDiksCnxwNJygmCfyidZHAdYOdicqTHOs8jrhi f3uXZ3NJsxUx/5brQHV1ehe9jTTtW88sCaUe/mIcxxbFQeqDj6l/+MSzf8NpQmPmGmY4 M8Gw== X-Gm-Message-State: AOJu0YyjQydEDG3m72cwB5wEfj+HUAm1KPUvfU6lJ5bwfs71NQqKXDo9 xPSMiezz/FnMYilqTw6dRI0iVMZ5PtHgdA== X-Received: by 2002:ad4:4511:0:b0:67a:8ed9:c9f with SMTP id k17-20020ad44511000000b0067a8ed90c9fmr3811562qvu.48.1701443356450; Fri, 01 Dec 2023 07:09:16 -0800 (PST) Received: from localhost (114.66.194.35.bc.googleusercontent.com. [35.194.66.114]) by smtp.gmail.com with ESMTPSA id g12-20020a0caacc000000b0067a39a44ca5sm1106qvb.77.2023.12.01.07.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:09:15 -0800 (PST) Date: Fri, 01 Dec 2023 10:09:15 -0500 From: Willem de Bruijn To: "Song, Yoong Siang" , Jesper Dangaard Brouer , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Bjorn Topel , "Karlsson, Magnus" , "Fijalkowski, Maciej" , 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" Message-ID: <6569f71bad00d_138af5294d@willemb.c.googlers.com.notmuch> In-Reply-To: References: <20231201062421.1074768-1-yoong.siang.song@intel.com> Subject: RE: [PATCH bpf-next v2 0/3] xsk: TX metadata txtime support Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 01 Dec 2023 07:09:42 -0800 (PST) Song, Yoong Siang wrote: > On Friday, December 1, 2023 6:46 PM, Jesper Dangaard Brouer wrote: > >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 > > > > Hi Jesper and Willem, > > How about using "launch_time" for the flag/variable and > "Earliest TxTime First" for the description/comments? I don't particularly care which term we use, as long as we're consistent. Especially, don't keep introducing new synonyms. The fact that one happens to be one vendor's marketing term does not make it preferable, IMHO. On the contrary. SO_TXTIME is in the ABI, and EDT has been used publicly in kernel patches and conference talks, e.g., Van Jacobson's Netdev 0x12 keynote. Those are vendor agnostic commonly used terms. But as long as Launch Time is not an Intel only trademark, fine to select that.