Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp355985rbe; Thu, 29 Feb 2024 01:18:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUWcKLHLnEMRw0nfLIFPADbxcge0UQZFj4sk7WbQdpSDj5Pk8+Ix8CMa8e3K7Xbd18KNdeRs7dr+aBOSp3LRREzPic6qSK/vjiW/59O0w== X-Google-Smtp-Source: AGHT+IGoIZZQo3ZpXfHJXrI5JrtTrdtTc58ZFRPMvogULv9B5DwUW5SAJxu3Q9pQdzU3rGNtCpb/ X-Received: by 2002:aa7:c313:0:b0:566:6c6e:385c with SMTP id l19-20020aa7c313000000b005666c6e385cmr964722edq.34.1709198284065; Thu, 29 Feb 2024 01:18:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709198284; cv=pass; d=google.com; s=arc-20160816; b=0R8A7GxTj3LMVJ6KZZCbC7+IeSLCWQODDAEzELTbS0xMSzjOWtFoedQqMSHWjhgRTy 0wWpFnp1GnXAKomUHg/HuBOW3U9tASZ2jFHemkjyZWAGFUazJ1/FP6ihkjfQ5Tuc41Jb bCHVVGghNbk6bGnOoE0ocDh9hXSuPKNlaLoSpT29DM4nlCQWy1ZQfcPinukGxKmLvc1M 5MnlkIBbueBzTicjxKaDxQCMVdKfXZfQ4wYbpUKtxV/EWaYHzcnPQIr1wAfDQEltmJyT Lvv7rqzd+g6kjaznuhJsQbbujNg/6V7K+u040jH7zX22TlHnRzuGJOl/0rSLwUtaRVlz Fv3Q== 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=JC7LY6MOJvw096/9yY09D0IdT5x2U+eDx0fw6U/BXNY=; fh=12pro/Y/lDXTnCiR/HP+/xH9APUzuQXz1oRgHp1swnE=; b=g5WbTjJSiBW65b1NUhxF3Wgv1xPE4witu4EFDUMm5EStPXnVXR6vtZ62VD4e0d8oT4 9oCSTQ1SsZQPMHFrYYg/nWv5s34/AvoGGliW9/i3hM91hT+5ovBJZkcDSfigiyOObLkx sloBvIdseMUWsK1QM0Aye8B+Gar6cTWKQ6Q2R5lre7D3D/Hsg2J2to4w7+aD7OITDW9N QH0fiBELzkrYha71BvNSoZkhxiI85SjmCn0Ry93jIu9rTEfkZloS77vfbgwW98LMIwli aoZBDSpTtnMNnDyxWlI2eGWGm77VNukxUzJa7BNk+WuatK6a7nHcuc04Qw2g7mMsnAFP Hw8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fUQTkMoU; 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-86390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86390-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z13-20020a056402274d00b00565b593ba23si420700edd.23.2024.02.29.01.18.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:18:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=fUQTkMoU; 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-86390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86390-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 9405D1F23305 for ; Thu, 29 Feb 2024 09:18:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDEC958AC0; Thu, 29 Feb 2024 09:17:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="fUQTkMoU" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 CAEE758AA0; Thu, 29 Feb 2024 09:17:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709198272; cv=none; b=muCpaTDwLA2aMKUmacKTzDKMXpLtfm6dHomaDs8I+mBr155NiYWONjPT8OuRg/Fdu7DKiHJuMz7QeRtrsPfxh9FROfMd9xuGeyi+Zcpn3uctNDzBZvCErybesA9735oOim0OA1Xj8Qou69smZUgRSCnarbdNZ7SR4WXNVS6+DLY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709198272; c=relaxed/simple; bh=JC7LY6MOJvw096/9yY09D0IdT5x2U+eDx0fw6U/BXNY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BS5aoReEUFm4YDRhHIdBQwbNsVTvO4KiK1VDvQIPevNal/D0LpJ96rCWidjjyni+3PfTqcz6Owzxe/APWdQhrh4lEGUZZGpVS9A7leA8iSu45j++26e6ArUMuS+OMsrAioYDaMg7QM13rtaPsdQ1a4AKXygS8FOAidr4QbpkdaA= 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=fUQTkMoU; arc=none smtp.client-ip=217.70.183.199 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 56428FF80E; Thu, 29 Feb 2024 09:17:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709198262; 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=JC7LY6MOJvw096/9yY09D0IdT5x2U+eDx0fw6U/BXNY=; b=fUQTkMoU7i26EC3kV6o8BYQnUim5Gc1EEch3UbHe1RnYryma9zTl0y8fnl62/tGu3LLFRv rMK5NHv2e9Svo37t+K3eNpN2P0fvLLiiRa4siuiQtzqKuUBRflv2Wus6z20H8CYVbB9ZhM DxNk7JI2nIv+8k2gqcS3Kww82Xj0h8KjqrBq1IeNoGp6Uq1A4gdXBpGUvVfnsC4JaWcDx4 cmMYamFSIQ4W9v2TPXmFzYxKONG2G/IPQ4zEnYVZcJ/jbpKBqdIufVZoVUDZzPbhC/dmT0 UfQtNxhtRJUS8GmLs0VqG59JX/srrUBzaT0khFojQW+jfpT7tXQ/6hp3gvbI6w== Date: Thu, 29 Feb 2024 10:17:39 +0100 From: =?UTF-8?B?S8O2cnk=?= 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 v9 06/13] net: Add struct kernel_ethtool_ts_info Message-ID: <20240229101739.2b1cdecb@kmaincent-XPS-13-7390> In-Reply-To: <20240227192737.5d834155@kernel.org> References: <20240226-feature_ptp_netnext-v9-0-455611549f21@bootlin.com> <20240226-feature_ptp_netnext-v9-6-455611549f21@bootlin.com> <20240227192737.5d834155@kernel.org> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; 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, 27 Feb 2024 19:27:37 -0800 Jakub Kicinski wrote: > On Mon, 26 Feb 2024 14:39:57 +0100 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 doesn't apply. > It's going to be a pain to keep rebasing it, since its a nop AFAICT - > do you want to post it separately to get it merged quickly? Weird, it does on my side on net-next. It would be great to have a review on the core of the new implementation beforehand. I don't want this patch to be merged but not used at all if the implementation does not fit what is expected. What do you think? Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com