Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp726752lqb; Wed, 29 May 2024 08:50:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUpHsEo8QsqaUQudZyNy7AkpxwR5HcO7IzzoOUxe/pYEuCXV1x9RIiVhaAcgvqdwWKz5LkNqMrtzapUMbY07owqPm8/0zH0DMT+PjmczQ== X-Google-Smtp-Source: AGHT+IF3YFLNg1Dgxn94xuv6aDCGsSaMo6+LrP0BRSgTsIYjSIE8K8+LdNoBFMHls6AO/gA1fpQ5 X-Received: by 2002:a05:6512:3994:b0:521:cc8a:46dd with SMTP id 2adb3069b0e04-529652904e0mr14795413e87.11.1716997853644; Wed, 29 May 2024 08:50:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716997853; cv=pass; d=google.com; s=arc-20160816; b=rsCRzVfeofjGjzTfV2XAnalBzEOpxwSvcRw2m0kQXW0vCr2tIFa5HAGamRw+osAt7I ZA9lY1IBbZus6NB3ZZgMqJt1OzejhcavIna8hoyrBZHnXrqXDt/+XCM/ef7oQ+Aug79X 6zcI3kEMiduwAFDREOmGe9j+RvJdrDaOo89jU5LYWmkqY/RAYRiq03af7yLgdcSM3Nps qEDxRS4tlrgHkhemU8ZYFIlTva1eJdh23eLeThKzyJYWFGdL4DROLhwI69ogAwHOk6P+ 6mHOTuEy2zln84d/YzElS8k0hubMh6XmobjaHJx0zs2y9llBQcXdrL3pZnbc4LTX2ttj 9DKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=RhAYFzXtfNlXMtgT1RAKcn5Jr1WKF4VqdAZ6qcmROyc=; fh=12pro/Y/lDXTnCiR/HP+/xH9APUzuQXz1oRgHp1swnE=; b=Or/6RtUCMwoxTZvnYaiXbdFEreRa0KBlM4TiAU6TSyRqyrPk/Yma+7Mgu0M4ktbspO VGArsvSJbvoFWIgZSDp7loVEhv9f2EqmbUqnpjywMsIcoZR7Pk6ImAonTpOpSN1QEvUz 8XShV+clgTk08238LYGWI9S5rqo2wXVIQ1Y4fG9Bqcyxh8+pnGE8Ra29aXmJ+GGgYSKM uoqD1UJtRLtmE8ge3cqKj59XcAT4DyxsvSdb7E+IUVpfO47kGW2sfC6gD39MdcnJR5Bu kFDCWVFODjcdoRlg1u5pjc8NMVIWcrBoUX92l8bD2uSoTfnriu1FJ6X+nqLw5OMNMXkA xCug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jFBmb0sV; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-194386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cd954c9si628843466b.869.2024.05.29.08.50.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 08:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jFBmb0sV; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-194386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4C2581F24EEB for ; Wed, 29 May 2024 15:50:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46A7D181D02; Wed, 29 May 2024 15:50:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="jFBmb0sV" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C68E015B115; Wed, 29 May 2024 15:50:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716997842; cv=none; b=Ac5ipkSECrdYLpdkAk+ehCTjP9RZNjTu4Nw5g8h75XY8HPJvAB98cZPbJM0KZCwwauyuUX6NJkjd3YihKrjiEeGbLaKqx0cWNgVR6a6kI3vI9yrdNHINvqhmyRnjYOzG2btcMBB9QG6MdoExCdBEGlJUapn6rdBzKsdaQwomizo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716997842; c=relaxed/simple; bh=RhAYFzXtfNlXMtgT1RAKcn5Jr1WKF4VqdAZ6qcmROyc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oYnuSoWTe5YbG/o1hfQ1vc1u+wexThAjbU3d6jsYp34DRrzDrmgkZk5pNWaGBsoalqcto9xO9yERDZgJj6NrorSgXZwkvxsy2gNkLF+DU7tlAUrroKRmnc4SpsBaTJZIUqyYggvgvqh3KTy1nzxvZPDbryfEsRfk93VLEJ4Ym8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=jFBmb0sV; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id A102A1BF20A; Wed, 29 May 2024 15:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1716997835; 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=RhAYFzXtfNlXMtgT1RAKcn5Jr1WKF4VqdAZ6qcmROyc=; b=jFBmb0sV0ClEp3mLGt45IXoCfM5VWXz56T/1CJgcB19hyMJYPR0tn+k+k4L/t8wUPiqbd0 HO6jk9Em5BHNtc8mQxOfxEWSjY9TIVEvq2c55371PNPbbd324ehX5AMh5cgeKxXhclF65s q2Fxk28Zh3Pjb4iITVVHXtXNp7UuW1sOTF6IJWQKZ0Z9l3441Y8MWoRm+GqME6U0MEc2+E CGH86tTmYZAEU4ugb1ps7Q6HX0f45PPIGftCZ6F9yUwLbWxANOTFc/wC6ny+z9PVEtG3bH Ny1Ce7z00cbHrw6wff/P9F6bSK1yFq9l4PmslSWj3EPXBWXcQZSnBDPdoI7xqw== Date: Wed, 29 May 2024 17:50:32 +0200 From: Kory Maincent To: Jakub Kicinski Cc: Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Willem de Bruijn , Jonathan Corbet , Horatiu Vultur , UNGLinuxDriver@microchip.com, Simon Horman , Vladimir Oltean , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier , Rahul Rameshbabu Subject: Re: [PATCH net-next v13 09/14] net: Add the possibility to support a selected hwtstamp in netdevice Message-ID: <20240529175032.54070c60@kmaincent-XPS-13-7390> In-Reply-To: <20240529082111.1a1cbf1e@kernel.org> References: <20240529-feature_ptp_netnext-v13-0-6eda4d40fa4f@bootlin.com> <20240529-feature_ptp_netnext-v13-9-6eda4d40fa4f@bootlin.com> <20240529082111.1a1cbf1e@kernel.org> Organization: bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Wed, 29 May 2024 08:21:11 -0700 Jakub Kicinski wrote: > On Wed, 29 May 2024 11:39:41 +0200 Kory Maincent wrote: > > Introduce the description of a hwtstamp provider which is define with a > > ptp_clock pointer and a qualifier value. > >=20 > > Add a hwtstamp provider description within the netdev structure to be a= ble > > to select the hwtstamp we want too use. By default we use the old API t= hat > > does not support hwtstamp selectability which mean the hwtstamp ptp_clo= ck > > pointer is unset. =20 >=20 > ERROR: modpost: "ptp_clock_phydev" [drivers/net/phy/libphy.ko] undefined! Thanks for the report. Weird, it should be in builtin code. I will investigate. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com