From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mail.toke.dk (Postfix) with ESMTPS id 577A29FE37B for ; Sat, 15 Apr 2023 11:33:28 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=NSzsuY3n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681551207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yiqPklxUzRy8bqs+v/ZpMBXMKYs89gD+rYERGCmxvBI=; b=NSzsuY3nh20hYKR5r63/OntVkBwtUdSwYVQi5ne3bwsnVCvkSyp3REmpdB+pmQh/CQxb3U xdt51IRHR5Tp4EFPhnxO0Jc/Opk0PD1Z1dnhJVNyORgLgpmVw0E3RO0NLuy07NCU0cmrd3 y00iarI++EwbiAty4ByULvjdJMz+hU0= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-654-ZCgArImqNWu1q5NRhX_mYA-1; Sat, 15 Apr 2023 05:33:26 -0400 X-MC-Unique: ZCgArImqNWu1q5NRhX_mYA-1 Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5067c88a429so967268a12.3 for ; Sat, 15 Apr 2023 02:33:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681551205; x=1684143205; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:cc:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yiqPklxUzRy8bqs+v/ZpMBXMKYs89gD+rYERGCmxvBI=; b=UUUdQSPNoZ52z0RT47x5GBmFbl/iYTAFGUU2vnDCkpXOSAjFx7p0BpPNEMDInBjQcZ BLDxwFMOW97e09HQTFGBLjUokiil43nzYDM5H3M6bQ24thJPlSKfmSIJ80VHX4Yf3ODf ND/qJRoFwNopgLCn4pV+E5mV7FKMswRNhm/bIxzN4lIzqiYRYWgjccBzsONIYf7hisgG 7fHzjlcPFUUDj0op8igox8ocE+lprM6+Gji2Df0cwiJeLV23s4BZM/X223ZqiLsDQWzi b0Zv9Nthnc9ltJmRHueVV9/tAqJ06TKJowr8CIdLUXraFeJ3Lt3xG2Mumx8FsPF6S/uP WrSg== X-Gm-Message-State: AAQBX9e/9NgTTfZEJEJMztMEPQU+TEA2Yz5WyuAANiFPsQQ5E64twaZN PjFgahgwOfU4Fp0bIzDSRh1YED5N1gHibGOuBRaLyqOZHVfRfKXUCy7lN5O7zWQTpcOrwg9/Kdi ojUFGkmhSP6VXixDhkvnT X-Received: by 2002:aa7:d04e:0:b0:505:7d54:db93 with SMTP id n14-20020aa7d04e000000b005057d54db93mr8621903edo.21.1681551204995; Sat, 15 Apr 2023 02:33:24 -0700 (PDT) X-Google-Smtp-Source: AKy350YF2Zbojdxq6qbQxtDvNXENyG1SKgwEvrcmid1+4koV/BuLd+OMKg6WCD3kviyV5EY7ijM6YA== X-Received: by 2002:aa7:d04e:0:b0:505:7d54:db93 with SMTP id n14-20020aa7d04e000000b005057d54db93mr8621886edo.21.1681551204598; Sat, 15 Apr 2023 02:33:24 -0700 (PDT) Received: from [192.168.42.222] (194-45-78-10.static.kviknet.net. [194.45.78.10]) by smtp.gmail.com with ESMTPSA id o24-20020aa7c7d8000000b005067d089aafsm2138743eds.11.2023.04.15.02.33.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Apr 2023 02:33:24 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <164fc8a0-0248-76dc-be53-706eb36a9ec2@redhat.com> Date: Sat, 15 Apr 2023 11:33:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Song Yoong Siang , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Stanislav Fomichev , Alexander Duyck , Ong Boon Leong , Jacob Keller References: <20230415064503.3225835-1-yoong.siang.song@intel.com> <20230415064503.3225835-3-yoong.siang.song@intel.com> In-Reply-To: <20230415064503.3225835-3-yoong.siang.song@intel.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID-Hash: GVLC6V7GO3MX2VF6I7ZSJJUNRKOCX5HF X-Message-ID-Hash: GVLC6V7GO3MX2VF6I7ZSJJUNRKOCX5HF X-MailFrom: jbrouer@redhat.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: brouer@redhat.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, xdp-hints@xdp-project.net X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH net-next v6 2/3] net: stmmac: add Rx HWTS metadata to XDP receive pkt List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 15/04/2023 08.45, Song Yoong Siang wrote: > Add receive hardware timestamp metadata support via kfunc to XDP receive > packets. > > Suggested-by: Stanislav Fomichev > Signed-off-by: Song Yoong Siang > Acked-by: Stanislav Fomichev > --- > drivers/net/ethernet/stmicro/stmmac/stmmac.h | 3 ++ > .../net/ethernet/stmicro/stmmac/stmmac_main.c | 40 ++++++++++++++++++- > 2 files changed, 42 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h > index ac8ccf851708..07ea5ab0a60b 100644 > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h > +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h > @@ -94,6 +94,9 @@ struct stmmac_rx_buffer { > > struct stmmac_xdp_buff { > struct xdp_buff xdp; > + struct stmmac_priv *priv; > + struct dma_desc *desc; > + struct dma_desc *ndesc; > }; Thanks for the adjustments. Acked-by: Jesper Dangaard Brouer