Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp270152lqe; Wed, 10 Apr 2024 01:18:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVA/Y+wid3DZPiu/syp5DfQ9/Sv4I8olxHpx7WXpIQJEOIjbwf5cpnbbsD3mMsNHar29TDru2RToP+vJMuKLiPoaZ/x9QNLkB9WBJh08w== X-Google-Smtp-Source: AGHT+IFC1k7QSyjRJwygTM8WjsC0AOF/+Jdc6WWN2aDXpJm4nBocaxhagieBs3Vg9/lPIDeOoUIi X-Received: by 2002:a05:6a21:78a2:b0:1a8:e79a:2b11 with SMTP id bf34-20020a056a2178a200b001a8e79a2b11mr2431528pzc.6.1712737130538; Wed, 10 Apr 2024 01:18:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712737130; cv=pass; d=google.com; s=arc-20160816; b=hQWXj6h0Iaif+6Ev+EClWO6KlwE/1obI/6wbHyuafcpAGrfEoSJO/O5Y8xCHMvxqtC ZB7mvryygOLPo0oXuCQbQxUHG4oRYfnzGpmoS7AKGUrvGRs0q4Vw/whC9d1wermtzqAf t7Qm7DwHJcH/SUqUYFDAnZV9TDcI/Ln6kYU2XF05T5LhHH0U9mLj6o1u/eDSRz9yQDga gWh2XecTS3kZnes45/sSG0Dn9HaeI5ZFUEiXFdrCQ7P0dPw86ZFtLuR1xrzI2Jvxc4/p 4GAQwmY8lFHSpqFBb/fGspw+gngF5+k9rIoTXhMw82e/SbMr50XkK6iXnpzs12pxcRyr LxTQ== 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=v6RohLZhf7RHLMFs+sUQVcrNsRJwJufrk4MF7ek/Q7I=; fh=QrWXx5bw/ZwktqRROE7u7rQezR28UYTFZ8QSP4SktbY=; b=rYNIO89QmVIKpggBYI5gFgu3NgOlnHiORqj3v4D8193Hz9Uvd5XakJyHO9CldyRN32 i5VFQax6uG5SF7cx3RFedRuU+lYRgbJlhLJqnxPn03x+iKhvYIjfzJ5sgmuR30R0Pkal SrtZZjQY78M8KYc0LfByCFlJMwH7qF4Rkle1EQ3VDPyrRTz4KVXU6mKxdKeokshXKljl E9KyGFfEyzj0M2RytOJuIcWjDUa1pCvjyKt57yK2mbNqEjO/vi4C9fP3Ymj6MlZxBOCa N0ZAq9odfczmM0JoTKqMVCjZOyevOpropICbYFnWCxjMYltrfHNwXj7nmloepw8c/obM VbXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=WA8TM38v; 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-138148-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138148-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bk18-20020a17090b081200b002a25ed32020si1034114pjb.182.2024.04.10.01.18.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 01:18:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138148-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=WA8TM38v; 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-138148-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138148-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5EF50B2518A for ; Wed, 10 Apr 2024 08:12:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE65313D61F; Wed, 10 Apr 2024 08:12:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="WA8TM38v" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 223811C0DD9; Wed, 10 Apr 2024 08:12:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712736727; cv=none; b=LdkLJi6zulFDo2j4oQQcL3Ypq5F22r8m20sCyO+6ejl1eg9tBebJm2hDN0omh+MBxfgBGcZQZyWYaAgPAvMPzeiXgNK2s1b2MLFDZrsx6BeAO2QRX/+qAl3FL2YbGG7qh/Ye1h1Jjv1i6Qh6j1ClJL7ubw5VEPwIH08DXHbERH0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712736727; c=relaxed/simple; bh=v6RohLZhf7RHLMFs+sUQVcrNsRJwJufrk4MF7ek/Q7I=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=igKZBQEdDaeM3ZcAH+R6uC/y4fX9NXTMaszAHhxJRqvTmSdnkGX4s3sq5ThWiJ2v5Xk4wrrkdN+YTcMNfB4MOPrulEtrjtKlP3yCXhGaKyftFTu8HdBc5LnUbgGehhwQZQzR7zQO2jkdbvfG6hBHiYwcdPv7x/X0oXAVROo24cg= 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=WA8TM38v; arc=none smtp.client-ip=217.70.183.200 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 0749220005; Wed, 10 Apr 2024 08:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712736723; 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=v6RohLZhf7RHLMFs+sUQVcrNsRJwJufrk4MF7ek/Q7I=; b=WA8TM38vhVlEmUH0wpVp8WLmuvQ9yLbg099JdJKi1rCaBht+YuzjRuiNZLpt6l4cIoAMs0 AwU9VNr1R2iq5ygHhx1LdqRhh757t1zEQWkZUa/8GTfToDr531ymXRkeu5wgedMOFBGd7Q SWmfeQXXvGFSfrivTolvxh/b6hEhyy29uGGX8m8gONHxTF+MS+KifZXaVeJ0WrdTAtFTdj R+9tlPygwYeYDwZ+fNpXej8UfyW1Jfft9NYD+gpbiP9OxxJAQYG548ar495/h5oOXDn2f1 bHx/0/eFEUamcglVUGEeRqlVhGhpZ2LMtJIEJsxupVaX/64MrWtGidleRygw5w== Date: Wed, 10 Apr 2024 10:12:00 +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 , Alexandra Winter Subject: Re: [PATCH net-next v10 07/13] net: Add struct kernel_ethtool_ts_info Message-ID: <20240410101200.0178e594@kmaincent-XPS-13-7390> In-Reply-To: <20240409182725.139856d5@kernel.org> References: <20240409-feature_ptp_netnext-v10-0-0fa2ea5c89a9@bootlin.com> <20240409-feature_ptp_netnext-v10-7-0fa2ea5c89a9@bootlin.com> <20240409182725.139856d5@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 Tue, 9 Apr 2024 18:27:25 -0700 Jakub Kicinski wrote: > On Tue, 09 Apr 2024 10:26:29 +0200 Kory Maincent wrote: > > In prevision to add new UAPI for hwtstamp we will be limited to the str= uct > > ethtool_ts_info that is currently passed in fixed binary format through= the > > ETHTOOL_GET_TS_INFO ethtool ioctl. It would be good if new kernel code > > already started operating on an extensible kernel variant of that > > structure, similar in concept to struct kernel_hwtstamp_config vs struct > > hwtstamp_config. > >=20 > > Since struct ethtool_ts_info is in include/uapi/linux/ethtool.h, here > > we introduce the kernel-only structure in include/linux/ethtool.h. > > The manual copy is then made in the function called by ETHTOOL_GET_TS_I= NFO. > > =20 >=20 > This one now conflicts :( >=20 > Applying: net: Add struct kernel_ethtool_ts_info > error: sha1 information is lacking or useless (drivers/net/phy/marvell_pt= p.c). > error: could not build fake ancestor gnn patching my out of tree patch in the series! Sorry for that. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com