Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2761707rdb; Mon, 4 Dec 2023 06:59:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IER39x1SkODTxeYpGQbFlPOmZBPSaBXuXmdbLdqHZq/RKpQ3qaYahvvgs7cQ7thhqQhLo3h X-Received: by 2002:a17:90a:2f23:b0:286:6cc1:5fd8 with SMTP id s32-20020a17090a2f2300b002866cc15fd8mr1598933pjd.91.1701701991282; Mon, 04 Dec 2023 06:59:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701701991; cv=none; d=google.com; s=arc-20160816; b=l4YQMkOotsBSgBPyFB5RhWQNDwGytjkPGkPtM96p+E0Qp78+QJ3VvL4hg3uCSV18fq O54iUsgMadDhyEcEJLa3muEnRuQdAxWl4F62JS1se/fHgHjuqMN37UMuZ0UksFaH3qL2 z9b+ii/GjYssApOI9PO0P4FmIYfZP6nTgwdLcp/iYitxu9KIRLVC2o/JAQWaXmbTRdCA 0+I+aDBK3HsdrRNodi8OmAMGZzThBVkG+45t+bP0ensA+wnd31L9GtXRv0j2fIwrLNce Xpf2w0KbKSamrYJBZNLSqB/pU5znOsT77l0dQyjh79wnG3IkQRSWV1/wNczDdJuP4u6T YUKQ== 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=AEtXrarlRuJeVsqzYM4zb29M+XdIdGWvdhen3lEwn48=; fh=/PZppwOx3dmkYzjSTqPU5Mol6ET1n0YaxlNXKqQehPI=; b=LGMzA06MLmv483ZQauETnGMgvT7zFrSiKvANRuNoXXpqKedOIReYgD1mcQXjEE8BeI qOuChFAkSbOpGFuMzzx10gVt8ksFpf+XhSRt2k01wvtQnz1vMU80in2MNx36XG1X3R4q 2RP2hPFTJdDtr+Or4feUl4HVezGZvCrKQKFbGA8PAIj/8n0lxOrnvuopnL6P00mYBcT4 CA2tmTVXT6AvyIqhKVbid9JqlukDbBAfgWf+doH4Y92dI1OlEzrrHSRT70SVJVcAsue2 LA8khr5IlDyydjwKOI2A3JYJQKZISlHTv7Z3YImk4XWmLCBrEeZ7BJ6NgRRhmGzYAaHE bZZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BaZnbVEp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id y1-20020a17090a16c100b00286530bddecsi6233246pje.105.2023.12.04.06.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 06:59:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BaZnbVEp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id B0FFD8058C42; Mon, 4 Dec 2023 06:59:48 -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 S232627AbjLDO7a (ORCPT + 99 others); Mon, 4 Dec 2023 09:59:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230496AbjLDO72 (ORCPT ); Mon, 4 Dec 2023 09:59:28 -0500 Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13FA2C4; Mon, 4 Dec 2023 06:59:34 -0800 (PST) Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-67aa3b62c35so19743756d6.0; Mon, 04 Dec 2023 06:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701701973; x=1702306773; 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=AEtXrarlRuJeVsqzYM4zb29M+XdIdGWvdhen3lEwn48=; b=BaZnbVEpUZvWZyVgtjKV6YGb+GMtZaVokK55J5t5WfagI0NqBSO9npMk9lqkmqOfF1 zHfzBYvQb1dtKXCGSNNbf88clMoRwjuDdULMwU2yQHws1VFpsMEzEtx3y1d++yB0ik9T jbUUtO8DIrJH1uxE19peA6UEsC8qtRLtaypsKG0c9PdZ/8/1VV9quGEiDphOLmqIYd8S 3vF21Mk3RhNp7SdAx7eB7UB1wk19s8plhwpuIm8bnBw6357H8BRsqMsRPBi//uh4Me6n mnagWahqm2ho6/89QBNxnJfYLJTvVxtnhAuJG4ARGoTr7LhQox8ojYIpinzrzN4yZo8p 6dDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701701973; x=1702306773; 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=AEtXrarlRuJeVsqzYM4zb29M+XdIdGWvdhen3lEwn48=; b=LUIzcWuX8AZNse6/tJyIJOMAsJxleCCaerr4SvVphAD65yq98TW2pDKBLLTw23L/c6 USTEBPxOJphzKl3q3f8ERz6uMzmYTp6c2ZJfGBmKcAT/EDlis5aabFG00Qml4upQtWOJ WNJTXeiUjtr0FkfIQSFfVS+een5QXfntiJlbyC0zsdYoj0e2X/lm8BxiaPswRRruoPuT WvAZ4VfFARKausV17QhBe2YAnvhFAvJ0r8iDxCOk0FTQ11sMZ6LdhZkI80xbkRyxXH++ 8xmdcM3GBRwu2vSTYN24iTqHLZ/h1A/4RsMoBcthdWZkpFFJlUQlZTHacDQfKaSwmcSG a88Q== X-Gm-Message-State: AOJu0YzH8kSBCmqjAlNXRUltblkTY92SRDABsagJXn3tMPD6qrXhfLI0 EVxG0lYpRmQ5vl55cbbEO4U= X-Received: by 2002:a05:6214:3902:b0:67a:b6a3:834e with SMTP id nh2-20020a056214390200b0067ab6a3834emr5393712qvb.127.1701701973169; Mon, 04 Dec 2023 06:59:33 -0800 (PST) Received: from localhost (114.66.194.35.bc.googleusercontent.com. [35.194.66.114]) by smtp.gmail.com with ESMTPSA id mh10-20020a056214564a00b0067a9235d5f0sm3704034qvb.105.2023.12.04.06.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 06:59:32 -0800 (PST) Date: Mon, 04 Dec 2023 09:59:31 -0500 From: Willem de Bruijn To: Jesper Dangaard Brouer , 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 Message-ID: <656de953bcc82_2e983e2949a@willemb.c.googlers.com.notmuch> In-Reply-To: <8e20031c-83cb-4927-ab6a-e6b4840e1e42@kernel.org> References: <20231203165129.1740512-1-yoong.siang.song@intel.com> <20231203165129.1740512-4-yoong.siang.song@intel.com> <8e20031c-83cb-4927-ab6a-e6b4840e1e42@kernel.org> Subject: Re: [PATCH bpf-next v3 3/3] selftests/bpf: add Launch Time request to xdp_hw_metadata 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 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]); Mon, 04 Dec 2023 06:59:48 -0800 (PST) Jesper Dangaard Brouer wrote: > > > On 12/3/23 17:51, Song Yoong Siang wrote: > > This patch is tested with stmmac on Intel Tiger Lake platform. Refer to > > result below, the delta between pre-determined launch time and actual HW > > transmit complete time is around 24 us. > > Is there any NIC setup (e.g. ethtool/qdisc) requirements to enable HW > for this feature? Judging from how we currently use this with FQ and ETF, no. See for instance tools/testing/selftests/net/so_txtime.sh