Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp741593rdf; Tue, 21 Nov 2023 15:40:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHC+zAp/iz7dtZxyOSJUFr6ZZ/4OtkK3+srE5KgjfrrHN8Z70zOoW7gwkbOYL6vtWPNLP2Z X-Received: by 2002:a05:6a20:28a0:b0:18a:e29e:61c8 with SMTP id q32-20020a056a2028a000b0018ae29e61c8mr615104pzf.20.1700610054205; Tue, 21 Nov 2023 15:40:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700610054; cv=none; d=google.com; s=arc-20160816; b=OmAmcH2LefM/nudVDWoGmXBwdwVUjHlRUbbhAxs9IjfppAPsRmFVgwCwac2tKfXjqY Hs5MZAHl7+snEoOIJcBhODyXWsG70Gkyl3HyuHIFy1aqnMxZ4WB6Xf4RbcyZlXCjB7Qg trUBGolpSB709FIIqSqZOv4qYckQoX1/08pIJYi06ZzKJBwlvOARhuwoWbocfKyXGuTu 8y7k1LMvVGxg62HRPhlfN2uG7QWEHkYsmPEpYuZP0DZBjXy0DbdOruZ22KaI0JK+9SW8 vgZrzR8wYZzVqO2HE+/iUDOGXpwgFiYGVVw/0J/7PZx1N8ysgpL0RtHCvyEkyZNIptDi PltA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MOHSQX7ZL42y7X9VBdiGccX+MZ48VMsvFXhqB/qEHb4=; fh=z3uHKH535W1w8IwApCQrt6ETVFKviqu60qTzrlv/ghw=; b=GLe/91LdwDm1rJ6CL0VgCDI+plPFxvhxURRJ4Y8gBBcU+Y0cLkX3s/ilD73gggUm91 Wex3mW0PshMbAaItlQG7BK8IzS35a3SUp5KKkiAd2f47VmLaQt773jtAkqf7drMXhOro Px3+uZYPL/tFqt61GdmvMUHxOABwUbyB2cBu2e/LSk0A7C/rnUy/mpQE9zFruw5oHoOe NBGlF4YMhu0tUnPihI1gs5n6I99WyYTHmgWqzoLluKE6l+dW9S108dfx2V7vT1nHiP0y bE/7QOn4nu4X2FX34SahWfA0kGIkx1p8YRkKLaJVNWhuj32dxiPJzh/eIPtogNNzIP7k +3qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JkTSUQxG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id g11-20020a17090ace8b00b00280cd49099asi179849pju.46.2023.11.21.15.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 15:40:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JkTSUQxG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id AAD3F80EA975; Tue, 21 Nov 2023 15:40:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbjKUXko (ORCPT + 99 others); Tue, 21 Nov 2023 18:40:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234850AbjKUXkm (ORCPT ); Tue, 21 Nov 2023 18:40:42 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D93AD1; Tue, 21 Nov 2023 15:40:39 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1cc703d2633so12361985ad.0; Tue, 21 Nov 2023 15:40:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700610039; x=1701214839; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=MOHSQX7ZL42y7X9VBdiGccX+MZ48VMsvFXhqB/qEHb4=; b=JkTSUQxGueyS6QrPVhKAqx3r7Us23KiwVCjSELh3DixoYXZBZrBt3e8RoP+YIBdrQc bUNOT3r/KS7xQ0UNiv41ovnTGcrud+1j4kJdBJMq64Z/rI9ABOuT+33hBtC2xRE89cLJ kgHVejgUD6e1NcJhuRvif096mDYoF4YedLU4dqa40k+Hh5vzyXOdOSIYjNib1fzQHCRT Sd12jxKofgh0Fgu3GiaXYYhqDQXAsM9/vTjBhGSMInNsA+ZDOZIl6D1xeG3EYpddqC/E qqeWZwMA2xybq8BaS/50/ztgEcq7RnUzIG+FoFUAd851JYEdFZM4RKuAAEkWkCLoMqlO gAEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700610039; x=1701214839; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MOHSQX7ZL42y7X9VBdiGccX+MZ48VMsvFXhqB/qEHb4=; b=rZq58VaVXh73/fwrgqZ6kqemkKKIvqjetwtkIkUenEFBEtECSZaouSM+u5RYRNLQks NhZCeRktkjYVCZjNOPh7kg6OcBD1qt+3ti5bD2Uv7w/wHzL7dASObq1iasn8zWoLmZD6 +Yd8YslRKjAfxQWrEYdsfXjKtingdxHb0zvnSHYd0gc45+2VsCiU/wrYALVNj+GBD/tq 9FDhbtw+YzDMzoSQfpdo+1mjw+3v/lh+Ygw9umIK6YRX5Eg/xu+4VNQQ1ZWqqgZ7BCZV aRu47/o+Zq7a4WjYTgso+HfBbczYhAeHh/xOtZfKa8nFpve6rFKcn+Fo53pkTNNowQBd KBSw== X-Gm-Message-State: AOJu0YyAD1t44673OF99bfFTmxRqRSzHUtFFW2gi9F+uFqY/60BM1uaI Q+M8BF8xft3bT0Savc2c+/4= X-Received: by 2002:a05:6a20:428e:b0:18a:716d:4d4 with SMTP id o14-20020a056a20428e00b0018a716d04d4mr608015pzj.6.1700610038565; Tue, 21 Nov 2023 15:40:38 -0800 (PST) Received: from hoboy.vegasvil.org ([2601:640:8000:54:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id o14-20020a056a001b4e00b006c33bf9905fsm8456943pfv.25.2023.11.21.15.40.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 15:40:38 -0800 (PST) Date: Tue, 21 Nov 2023 15:40:34 -0800 From: Richard Cochran To: =?iso-8859-1?Q?K=F6ry?= Maincent Cc: Vladimir Oltean , Jakub Kicinski , Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Willem de Bruijn , Jonathan Corbet , Horatiu Vultur , UNGLinuxDriver@microchip.com, Simon Horman , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier Subject: Re: [PATCH net-next v7 15/16] net: ethtool: ts: Let the active time stamping layer be selectable Message-ID: References: <20231120120601.ondrhbkqpnaozl2q@skbuf> <20231120144929.3375317e@kmaincent-XPS-13-7390> <20231120142316.d2emoaqeej2pg4s3@skbuf> <20231120093723.4d88fb2a@kernel.org> <20231120190023.ymog4yb2hcydhmua@skbuf> <20231120115839.74ee5492@kernel.org> <20231120211759.j5uvijsrgt2jqtwx@skbuf> <20231120133737.70dde657@kernel.org> <20231120220549.cvsz2ni3wj7mcukh@skbuf> <20231121183114.727fb6d7@kmaincent-XPS-13-7390> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231121183114.727fb6d7@kmaincent-XPS-13-7390> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 15:40:51 -0800 (PST) On Tue, Nov 21, 2023 at 06:31:14PM +0100, K?ry Maincent wrote: > If I summarize, a solution could be this: > > - Expand struct hwtstamp_config with a phc_index member for the SIOCG/SHWTSTAMP > commands. > To keep backward compatibility if phc_index is not set in the hwtstamp_config > data from userspace use the default hwtstamp (the default being selected as > done in my patch series). > Is this possible, would it breaks things? You can't "expand" hwtstamp_config because it is an established ABI. (You could introduce SIOC[GS]HWTSTAMP_2 with an expanded layout) Thanks, Richard