From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by mail.toke.dk (Postfix) with ESMTPS id C1A72A2A3F5 for ; Thu, 14 Sep 2023 23:05:57 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=J1+5Wlse Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2746889aa89so948140a91.2 for ; Thu, 14 Sep 2023 14:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694725555; x=1695330355; darn=xdp-project.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=B0IIVPq7GePRMZGu3ZiBcWi0knrOfV1FBVAsPXU8/6E=; b=J1+5Wlseco5E6joAze8mjBDTzyQ58i7dNQR8Qj+qNNeeCdtq72+DZwlOGapA1Y1oGh 6JeMsGMwS81FUZokbH6tLkpCNZh1STy4wow7PsAAAlbT0OCCHa0QNW8EkWvBlq7FF7wP C0zftJBmV7CXEVjBYmDhXtwB17Ym4g61ZZbjylXtyOSuTloV8MexJc/Pjpgiobpq5rm2 reScjO7pTG/j5NEDLgvDiiHeVUCxHUgkJE4Prs8ddmlKnfJRoFYvF2twA8y10sMLEjll EF0d1L/TD9LpquoDZMiGR5qjLLiK1xbLvQ5sMFI2FmQftjA118nq+ebOiEmkxM+EXoVK 7lOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694725555; x=1695330355; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B0IIVPq7GePRMZGu3ZiBcWi0knrOfV1FBVAsPXU8/6E=; b=lk54wS9b3UmrOpVlIXBlM1bnWt55ImMqz/bJljtiXNKuMX9e8ZKiW6KgZ1cOap38xL xF7gElInzw3O8HF2hAKzk9w1DdQS1wvCPn1+8OiWtLYE3YeZKy8Vus0wlNBl5Ggycuvl DIM2yA+IrKq1EAPUaIZAsjZg+7/+XjHCJDtbglZscs+j/AX2qi7yZk45w9/wOVgE6YST WWqvL5aKUHxnGMJSwBh5RyKjiATGWHLkygDDS6VkQo2asNq8d7C5NUzqD7JzqzsDGQlp K2N8+tAwbKFCkSqFisrKnlAq/6v3JIP1d6l7w/exuLxj0rbfWFpSBVoTIZNjlI/Xd2g9 ikmA== X-Gm-Message-State: AOJu0YzqL3OuRkJ3roZ9Q6yk1O5kN7jEJrzmx1cocWdqoYTMVLxIvgiB EhV7addEiPkNaDNfpUdwHkUbOea6FPW+F+ww+L3syg== X-Google-Smtp-Source: AGHT+IEc7hKfdUtE9M51qKoFe/J1BYQ0OUt96oe/frMdR8sg9vj9pi842KaVaLJ5OhR8mPBNDfKI/4wuF4gGYl6gaOM= X-Received: by 2002:a17:90a:bc89:b0:274:7b85:eae6 with SMTP id x9-20020a17090abc8900b002747b85eae6mr2124516pjr.34.1694725555373; Thu, 14 Sep 2023 14:05:55 -0700 (PDT) MIME-Version: 1.0 References: <52272237-a3cd-23a4-cbc7-e6a53cbf2c85@kernel.org> In-Reply-To: From: Stanislav Fomichev Date: Thu, 14 Sep 2023 14:05:44 -0700 Message-ID: To: "Song, Yoong Siang" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: WBMNFZA543VLGMCA6RVWPLLJLC77XILX X-Message-ID-Hash: WBMNFZA543VLGMCA6RVWPLLJLC77XILX X-MailFrom: sdf@google.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Jesper Dangaard Brouer , "t, Thomas" , "Abdul Rahim, Faizal" , "Dupont, Fabien" , "Chavez, Robert" , "Zaremba, Larysa" , Alexei Starovoitov , Daniel Borkmann , "Gament, Costin" , Jakub Kicinski , Daniel Bristot de Oliveira , "Karlsson, Magnus" , "Fijalkowski, Maciej" , Felix Maurer , "Desouza, Ederson" , "Maloor, Kishen" , "xdp-hints@xdp-project.net" X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: Interest in TX-side XDP metadata hints from Intel (+ Red Hat) List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed, Sep 13, 2023 at 6:22=E2=80=AFPM Song, Yoong Siang wrote: > > On Saturday, September 9, 2023 12:38 AM Stanislav Fomichev wrote: > >On Fri, Sep 8, 2023 at 7:18=E2=80=AFAM Jesper Dangaard Brouer > >wrote: > >> > >> Hi Stanislav, > >> > >> Sharing that Intel (+Red Hat) have an interest in getting XDP metadata > >> hints working on smaller devices used for "Edge Controls for Industria= l" > >> (ECI)[1]. > >> > >> What are your plans for your patchset[2] ? > > > >Sorry, I was OOO for two weeks and then got distracted by some internal = work :- > >( I'll probably post another respin next week. I think I've addressed mo= st of the > >Maciej's feedback, but the only thing that we need to move this forward = is to > >support another device besides mlx5. Maciej was suggesting ice, but I do= n't have > >the hw :-( I have some idfp-capable devices, so I'll probably try to pla= y with it > >instead (but the idpf driver is still not pulled). > > > >So if you want to help speed it up, we should probably focus first on ge= tting some > >of the intel nics support tx metadata. > >To proceed, maybe I should post my next iteration and we can collaborate= on the > >ice driver changes? > >Who should I CC explicitly? > > > Hi Stanislav, > > I can help to speed it up. I don't have ice HW on my hand as well, so may= be we can start > with igc drivers, followed by stmmac drivers. > > Please post your next iteration, then we can collaborate based on that. Awesome, thanks! The v2 is out, you're on the CC. Feel free to reach out directly if you have any questions or suggestions. I also have to abaon my idea of playing with idpf since the driver that's posted on the list doesn't have af_xdp support :-( > Thanks & Regards > Siang > > >> My suggestion (to Intel) is that we implement the TX-timestamp (plus > >> LaunchTime) on top of Stanslav's patches[2]. For drivers > >> igc+igb+stmmac which I think will cover the tests[3] need by > >> Arun/Costin (?). And then post it upstream for review. > >> > >> The Intel test tool[3] isn't open, but it is an AF_XDP based Real-Time > >> Compute Performance (RTCP) application that show-case a real-time > >> control loop application. The current code uses out-of-tree[4] "TXTIM= E" > >> LaunchTime feature, that want not upstreamed. > >> > >> Lets us instead implement a proper TX LaunchTime feature on top of [2]= . > >> > >> --Jesper > >> cc. XDP-hints ML as anyone is free to code this up, code help here[5] > >> > >> > >> [1] https://eci.intel.com/ > >> [2] > >> https://lore.kernel.org/all/20230809165418.2831456-1-sdf@google.com/ > >> [3] https://github.com/OTCShare2/rtcp-xdp > >> [4] https://lore.kernel.org/all/20210621230635.3a83851c@carbon/ > >> [5] > >> https://github.com/xdp-project/xdp-project/blob/master/areas/tsn/code0 > >> 1_follow_qdisc_TSN_offload.org#tx-time-to-hardware-driver-igc