Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp144869lqe; Tue, 9 Apr 2024 18:27:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5XcL552heVMYiXvefoF6GNxwbrhPE7eiiiGpGgmA40hQsZbQZ/sCgLJb/EJIyqPEJzx3MeOh8dMA349jX7fchAiCrI2VKsdofrP9dTA== X-Google-Smtp-Source: AGHT+IFbSYaxLiQ0QZK1ZA3qBTWODLvgb59m5mWL+UCkj7WtiTDwtVHV/wTBY7qBvaVxNq5vxumi X-Received: by 2002:a05:620a:198e:b0:78b:b0c2:17b6 with SMTP id bm14-20020a05620a198e00b0078bb0c217b6mr6882816qkb.11.1712712458145; Tue, 09 Apr 2024 18:27:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712712458; cv=pass; d=google.com; s=arc-20160816; b=E1kNJ78cY4irVGL9PXqcVDA79XR0ra1Jgo2GPZi3lfe9VGO04hSx0LDINDmPbYtiWl WW2jt03kj7TvohpjlbOMr2oB3gXpQEPpjWmKmHZR5+swYTczLlL/20607kHsLD7CyuXe mErQAFUINAPLAO1TCG/GbDL9mdUjEdf/SitOgfTmsvWZ0wutSzEMo3tFUyZu9U3rxKO1 uG4Xf6nCDCW7ZMejS3rd+k/Q1A/4UN8yEOUBK0WsHApivvuJd3inerCHY6M/71SEjsKn w8KEMcaZ7618FfiFCjz7Qdu7ljBGshHVKShWS320btEQINky5opXjlAL4KCmSBEecx62 Vheg== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=n/z4KyZT2Us3/I1j8auU6+Xl9Qnhdqf+3exdzJATgs8=; fh=W3QpWHd6vGhTVk6+pLiV4XjT2WymYewMNH00KtVqmSc=; b=fG7wm1kUYvFKM3I3jYNpJQ20zeAoY7HyctZwMgJVWqfzPzUYguby5/C5Rv2TK7B4/O Vtx3EWAzTjnFVC/4NTGWBjPcjYCXldl7y+3sSzAJsdUKvdJ69JmjUpQiEEjOtChiM7qE chELuLeXNnZ6PXmiG911rtFL+/syVuiuoovDOWvtbDbSq4GOnMjrytwiWdFZ9Di8oDam Bv8Bqt8nDGawwEGrH96k65eaL2G4XFVV0WRrYLCRnJq9OKpvyi208VBSUQR8HoNVlenc 96rjfaxrnLO3g1fI2h4CJ9+uLWVNrRrkQkXc5lb0BixI/q7haXGUUIlt2OAKO3tWmqOv JoTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=riJ6917K; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a15-20020a05620a02ef00b0078bbe55a5aesi11641590qko.258.2024.04.09.18.27.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 18:27:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=riJ6917K; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137799-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BAA3D1C20AC7 for ; Wed, 10 Apr 2024 01:27:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E20C11C2E; Wed, 10 Apr 2024 01:27:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="riJ6917K" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.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 1318F391; Wed, 10 Apr 2024 01:27:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712712448; cv=none; b=OoXLkCNjMSU7enuyxLxOYZ38V9CvDeGgCZPsC75zpZ1NDP5d8eGAuQvfMdQabdVluCsNAK9KemGUri2JB+6chm2HswzpOVwJ6wcKAyYmk+BECycPI8dSrrDdfBzVbl6f7OHdhSpKzOs6U/+7uZu1S53UDN061qYvVkHs5N6eOMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712712448; c=relaxed/simple; bh=q2tSh/sYbSxvQVVhorLxNwZpuvP0uBvNHMIk0JP8zUI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=soe2MkEJrENnecBmvsCx+BsIMlzb+ngVs5VNroitw3ToRDuVS2vfHiNUFP92Gdl56pi/jwCavlqpdBDa7WXkLvsBSE893AF9JQz56oBsyWKr99jrgsmbrSDPoKZL8jVKP7P4+vu4u13eU2NcRxHkgZd+Ygk/2iK2P/veLYW+c8o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=riJ6917K; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94883C433C7; Wed, 10 Apr 2024 01:27:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712712447; bh=q2tSh/sYbSxvQVVhorLxNwZpuvP0uBvNHMIk0JP8zUI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=riJ6917KTbycUcwzl5X+15b0Es1e8f6b1ydfFMc2/2UZX9J7juMtDtyeb9zufa3AN 4K2mxe+Bm7dDpAyOvfSLhfabriZyfl3DNlyynCWN4pJw1u7tncJ8hcZ2DsLpP319SU mWf1DiKy+AC64RMLtOXB8m65+HHOrYye8c0aqORzHyARNF0F2VK/9TyDJESd9NPg6h UI5rLDHF7Kko8/02PoNm5XEBn4JZfQz9R4HPFAsQx/BpPOf7ChmCAI9fhvD6Z70Zhc SL4pX+CNajtbzKxTEo43vKJesKBPSBv9paBYshU4kHf+0AFdm2M7K96zBDdFCsxrvM /O+SdeDgXzmgA== Date: Tue, 9 Apr 2024 18:27:25 -0700 From: Jakub Kicinski To: Kory Maincent 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: <20240409182725.139856d5@kernel.org> In-Reply-To: <20240409-feature_ptp_netnext-v10-7-0fa2ea5c89a9@bootlin.com> References: <20240409-feature_ptp_netnext-v10-0-0fa2ea5c89a9@bootlin.com> <20240409-feature_ptp_netnext-v10-7-0fa2ea5c89a9@bootlin.com> 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=US-ASCII Content-Transfer-Encoding: 7bit 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 struct > 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. > > 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_INFO. This one now conflicts :( Applying: net: Add struct kernel_ethtool_ts_info error: sha1 information is lacking or useless (drivers/net/phy/marvell_ptp.c). error: could not build fake ancestor -- pw-bot: cr