Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1065100pxb; Wed, 6 Apr 2022 07:56:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1aE9oQ8HBc6neSWEO8vjOzZVD6Ul2BWuVvGTlVFBgoHtxYMuhczMeY71Wi+xckCNhYSRC X-Received: by 2002:a63:5d4d:0:b0:381:c98b:ce72 with SMTP id o13-20020a635d4d000000b00381c98bce72mr7389660pgm.466.1649256983757; Wed, 06 Apr 2022 07:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649256983; cv=none; d=google.com; s=arc-20160816; b=lr968GKRhz8fjxLvgaEKJK1U82lk3fVaHooTyFWvjIrNUbWWGRcu+lX2rNsQIhugAm g3qHCjDm0fTImPzCrH1tZPaeDjjYltXGaGutkaxAhJ38U9lvVQLMBxzLFfhCuz05NJNN GINF+9BfiXSKgxykxjyp81F6SbF2RLqNLMQJUMlg+dpJ66pOkI7Sb1aP/S8vEHanCeeQ 49M8gSVFzFWXTL4NKIkdcFfL/16I9gtziC5+nQoRcEUVm3WoIxp25BuL0WNgjjixaJ6F YAZrJSCzqnl7jMmRXGquga2ol17lmly+Hm4L8haNQJ1h4LhCPG7fQaU88S3Q8Mu9QxKO ZX5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7kpsGMmBzpfBM9jAlxaQhQ6QOVa8yPc2XChn38jewUY=; b=zJW5rHmU+5GmR1Nqs4vXI4k01l8PPlw4910WvT1LxbKqqTH8/reD6oH+kVaF4CmLj3 7yZ17iT4Z5EtVaYqkaQOBQopvihelFklf4m4cm7Yf0R6/pLJBfh56NZQ0AOTX5CSiwED yL4YITF7e9XzfzoSUInV5iPYXe/WaU3QDXmjBFWpgzFP42aWJczLwzjHBhYd32s/ioGr eeEezx8Lkkmp6HnLQbynz+rfVZcFo81dwbqr84d29vCQ5FBr37B6Op1VEzaid/e+h/su yrXujXaGdkVIpClegVfTLdJQOVn3lhocm0Pw9HmnYeWRBIUNbqVJJ5dO4bVKf1co8gbY Y9YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="I5g0SlH/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z14-20020a056a00240e00b004fa3a8dffb9si16199836pfh.112.2022.04.06.07.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:56:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="I5g0SlH/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4FBDF3D7398; Wed, 6 Apr 2022 05:42:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1836460AbiDFAgP (ORCPT + 99 others); Tue, 5 Apr 2022 20:36:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1457452AbiDEQDP (ORCPT ); Tue, 5 Apr 2022 12:03:15 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20A4D83B1A; Tue, 5 Apr 2022 08:46:09 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id ot30so17621337ejb.12; Tue, 05 Apr 2022 08:46:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7kpsGMmBzpfBM9jAlxaQhQ6QOVa8yPc2XChn38jewUY=; b=I5g0SlH/NucKf4U+Po0XGGhkZOjwxqIjt9E4hxyBJg0pvtGoLR0KIdFJrb0oGRicdZ OM1/ePde9Gbn5UEx1Ws+Qdpe7nfnQ0YdTPVjI6Swb8DHXaWdV/xcnjQ1QkqaazJ04+gL vsDF96pQWUkp2OvuQuGRSC+dGesVGoohUMm7bBMoC6weHrUz9+3atn5QsuEKe0wqz9IK AnGeYH/RgmF+ttX06xfQ9O70V76DJfDJD2t5UreZm3Gs8mipmWLqiVzrkFLJVGSA6Tc8 Joi29ALUmcai5dyjkgJe00qXX8QJnutTDM1yJZMXK0KGOoI8w0jyum7lN8b7C1SQQNDr Sn3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7kpsGMmBzpfBM9jAlxaQhQ6QOVa8yPc2XChn38jewUY=; b=7dyJ1gtJD5llitJc/rjMBicpuy5vMMJJhyyNPuBt9xfzWsvm2d8mXw0kYffRTs7Sec CDEnXQTb0vtAGa7ANZBW/ktoWut0QY3TlkGfshuIZMw3gn9VhOz8BJANOJzUcwiaWPP6 L6yA0exQORllghHXV6zz7rTDKyb+ovnhhQQZy8zXGvGTohhvXdkQAkubN+EKkEjoqtvY yeqKsgYDMbF9S9sFqceBTvomKxb2Ilz3u864DBKzTQnSV/Lk6TsSlzW0/H/vjH32l27b jnVCTmzN4p7zbEV69pXIrCNzXy8bSSM01/J0PCzXmcTOxv9J9oTyyAMufFcvjD6yy0gb n2Ag== X-Gm-Message-State: AOAM531ubsh0dpYRgCInYeXtTei435OaZKhNIJGckAZPrwXwKy1wmsT3 sIw31ARo5nsqPS//a7YKpbRPbGbuCLc= X-Received: by 2002:a17:907:6d8b:b0:6e7:5610:d355 with SMTP id sb11-20020a1709076d8b00b006e75610d355mr4089958ejc.369.1649173567528; Tue, 05 Apr 2022 08:46:07 -0700 (PDT) Received: from hoboy.vegasvil.org (81-223-89-254.static.upcbusiness.at. [81.223.89.254]) by smtp.gmail.com with ESMTPSA id f26-20020a170906825a00b006e7efc52be8sm2649201ejx.166.2022.04.05.08.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 08:46:06 -0700 (PDT) Date: Tue, 5 Apr 2022 08:46:04 -0700 From: Richard Cochran To: Michael Walle Cc: Andrew Lunn , davem@davemloft.net, grygorii.strashko@ti.com, kuba@kernel.org, kurt@linutronix.de, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, mlichvar@redhat.com, netdev@vger.kernel.org, qiangqing.zhang@nxp.com, vladimir.oltean@nxp.com, Horatiu Vultur Subject: Re: [PATCH RFC V1 net-next 3/4] net: Let the active time stamping layer be selectable. Message-ID: <20220405154604.GA6509@hoboy.vegasvil.org> References: <20220104014215.GA20062@hoboy.vegasvil.org> <20220404150508.3945833-1-michael@walle.cc> <20220405055954.GB91955@hoboy.vegasvil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 05, 2022 at 10:48:21AM +0200, Michael Walle wrote: > Can the ethernet driver select the default one? So any current > driver which has "if phy_has_hwtstamp() forward_ioctl;" can set > it to PHY while newer drivers can (or should actually) leave it as > MAC. I want to remove all of the phy_has_ stuff from MAC drivers. MAC/PHY drivers should just implement the in-kernel interfaces. IMO that is the clean way forward. Thanks, Richard