Received: by 2002:ab2:644:0:b0:1ec:cbc4:63fb with SMTP id 4csp1141871lqn; Mon, 26 Feb 2024 08:49:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUXK2asDWeQPZafwfaj27tPGDmbc7eDTH3zSxMXWHc4dIWUntf7C8nBwCljfwEjqofkuFHGsbb86d0OrHKu7vLKO8W0+rKmTbizID3Cpw== X-Google-Smtp-Source: AGHT+IFeKJQKwEBIaoJxFqAg9whNrmoLHXGO6dqpRshZSmil2CbBjZ8rz0rG/HpLYwkPKusQwoDo X-Received: by 2002:ac2:5e85:0:b0:512:ed5f:3bf0 with SMTP id b5-20020ac25e85000000b00512ed5f3bf0mr4306172lfq.28.1708966191299; Mon, 26 Feb 2024 08:49:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708966191; cv=pass; d=google.com; s=arc-20160816; b=X/br80uDK6WVRjdKfDdrNxDAj0un16sooS//a59wULjyzMVBo29gZo4/8eKrpfLOVb oOIHI5NITSueFPsvAUNhEPqcBcQ60ml949B5ukOCOuJ4AGNqjQ7xo12S/b3asdjJsu7i 6KT/7jecsKxjWZXi2H/pLEFqxK5gMeLjZ4o+1+hALmUIEuwJzzes55zvk5vt33SdWHIu wfHh+Jsoy2Vzu6E+SpHJrZf8KYt2VAvAdA9b4lgd8+T1Pa6lE9mfnHm46JHY4nMyT/MK kP8LBw67oO+2GfyZ+VOgnJz+LMqldelO8Z1G3mQ22GzLuO5/YFtc4dmcmNH2kk5IBjsC ipPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=UdqOq7Lx+mxt1cvwHHbViM4XUO6JWwWx781fxPxQPO8=; fh=3alGmR1UxdzLdwFo2iOpV0mirVnyJ093JvauLZqg3qg=; b=EZy4bWDXuGkROVPUGSlu00XYyQeJEv3REa+Flr8Ik0HM06AxiyT9u1Hv1iKt6/zF4l /djROopiWVy1QlRvXdG4NBBUrL8WSJMEj1+0uzkds1F84vkDzKib64mNMeXFIExNX2Iy GbEgkg4mF23GHi4R5DoJwTXoNP29VH98+n/Hqha+p2K4YizOcpyb3NH1/mUL5x5xhW45 yRgrWDwXlAILy2pcDZhfjDrevwW+0Kr0FtXoCr70VxV51EuRe55xRIddVHY9OdRSt+W2 Ok6gMm8jlSJpNqq+rqm8ZcPgnwosLd24YyK36qShWFBNivNl2Ooi2ka4mxGcCKfJN4c3 A9xA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=O1Fo3E7g; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-81937-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bv24-20020a170906b1d800b00a3d99c115f4si2242605ejb.77.2024.02.26.08.49.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:49:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81937-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=@ibm.com header.s=pp1 header.b=O1Fo3E7g; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-81937-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.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 E6F761F28100 for ; Mon, 26 Feb 2024 16:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B339D12C81A; Mon, 26 Feb 2024 16:49:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="O1Fo3E7g" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 22B5F60B9F; Mon, 26 Feb 2024 16:49:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966178; cv=none; b=UV+p8mXZyF4rPJC7HWrO2HOSiqb1s+SGKUx4m86AAM9QfHv6BzQd1rh2u+dyjY8srIX7mdFjazzCBkTn2Y1lpMAoGSybV7ZudppIDbEhzFsjAPLn8TtEwR7H/ms5a9RmHi29PpVHSEA/K3rkaru89sQITGpDPxNxNgS2/3rwM7A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966178; c=relaxed/simple; bh=qgSbrEvPXdgNiC/UJm11zFW9tgsbpt+8ylKHzAn/bhs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HR6m684adtXxOtAEjubArg48RXaO8Uy1GOm2XZlv9PBmtNsPSb8NefK8ln5IqN8VvV0HogugPNAvMxJDsM+tR1tHEkFQttOUQbK7+5t42CAdBEsfb3mhBKWFmiY2vOokzcj+8GYrfCWpYodxZFpHtaQ8+Nvnj3bu9MOl00IokOM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=O1Fo3E7g; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41QGh0Rl003527; Mon, 26 Feb 2024 16:47:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=UdqOq7Lx+mxt1cvwHHbViM4XUO6JWwWx781fxPxQPO8=; b=O1Fo3E7gRgmssVTQRm+zDcPE9BpTYK/yPOvocD7WgmNGodQHNg+OeqrNokSZNOiwyCp8 m7ygfj4PjDSeAx6CMEaZJL8TVJwtfNTFzT80cUp2/1LQGU7jDOpev7yuP9kadDVYHM/x 4ozFtXiCDlvs4yXpt19HRFM66QF12FWV59nGIdfehej6zwCgZWcTuQ2uaV1cEamF5cCJ S9Lgn0cNvnfi0w5ld/FyXw9tUfAnatrm4+nVnlPT/0DAnbcurzsTRto8abt8NcJgfJpI R0UIkMuWAG+RwasK9nS2lYyfdL+DWTQXYMPN7hH5oNvYPtl8UhhL8fyjy/hBZ9UhKB+2 fg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3wgxdfr3gg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 16:47:07 +0000 Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 41QGjEsc011226; Mon, 26 Feb 2024 16:47:07 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3wgxdfr3fu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 16:47:07 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 41QF8J1a021278; Mon, 26 Feb 2024 16:47:06 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3wfusntdaw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 26 Feb 2024 16:47:05 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 41QGl14M24183328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Feb 2024 16:47:04 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CAC892004B; Mon, 26 Feb 2024 16:47:01 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8799C20040; Mon, 26 Feb 2024 16:47:00 +0000 (GMT) Received: from [9.171.38.134] (unknown [9.171.38.134]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 26 Feb 2024 16:47:00 +0000 (GMT) Message-ID: Date: Mon, 26 Feb 2024 17:47:00 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v9 06/13] net: Add struct kernel_ethtool_ts_info To: Kory Maincent , Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , 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 Cc: Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier , Rahul Rameshbabu References: <20240226-feature_ptp_netnext-v9-0-455611549f21@bootlin.com> <20240226-feature_ptp_netnext-v9-6-455611549f21@bootlin.com> Content-Language: en-US From: Alexandra Winter In-Reply-To: <20240226-feature_ptp_netnext-v9-6-455611549f21@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: LQqKCQFvXnND9bQqkLWZGehnxJwN6suK X-Proofpoint-ORIG-GUID: GCCOKM-MW73RDG1Trk6kCKNNLXEvb2s1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-26_11,2024-02-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 adultscore=0 impostorscore=0 clxscore=1011 bulkscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 spamscore=0 mlxlogscore=999 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402260127 On 26.02.24 14:39, 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. > > Signed-off-by: Kory Maincent > --- For drivers/s390/net/qeth_ethtool.c : Acked-by: Alexandra Winter