Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2238739rwd; Tue, 13 Jun 2023 23:15:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4W66uTYiLuB9pBIOrD/ThEHk4imJ+myfgTNFvL5y8JKvkkqlDf+pCmevSSzW2umzAZkdXj X-Received: by 2002:a92:d1c7:0:b0:333:eb18:2b75 with SMTP id u7-20020a92d1c7000000b00333eb182b75mr12174012ilg.28.1686723329252; Tue, 13 Jun 2023 23:15:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686723329; cv=none; d=google.com; s=arc-20160816; b=0r8yxVy/rBayeNlIyYNwZL5XtsG7s80/XsAT0k1ABehiQ3AGBOB3gxFnS4tpZrx31n /nZZ3/sxt2cJtQvERWxaHlvcEjwdbWA7gL1K22SdY5VasdbeuQiB+kBhk/ztdBPqr2rq iY5uT2d3MEv0MDezELpIIHu2OGkds2ze+wdqhuBNN8Z6TsF9sqU1nbFT3A7580dwQLwk d+gDWJzdeE9mbAAcyKAEf/9GAJX6qSdq/tP3QgzPvcmXOXj1H8tcxCQf2pH1/6p+GZGI 7ea95cyO6Wh0kw+GE+RRInwU7eX4g46aH0dTNFwKjnKH4AF/xfaW7/GiK9Y60HmCzpFU +LSA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mpzNem3ViuEKPlCURCYzqdRVx4wzaO6WZgBZLhFzTEo=; b=wfxx9P+VAmgX9EW9AM7f5wpPLzal7Ljoy0PVl6sDIusLC/EFJ6muWvVsslqLy5Vkff dNE3TXwJ9L+7sKPNBlWpoTMS4LCDgnfFI8fcuIcKUW/SNhUcrgO+RqcZdO/suZkMXOzL 5cwXJakZNUMeMAk1jkxPKFaC+UAIkhmDPIl96DREdQDJGpPgBhTX9iqGttKBcfRJHNZA uMe3sd/mCLep+9NchiwnGlWSIXFzaytIC+HAbbc38Pho4dkZNfCB/6hSCJ6KkVq1vxaq z36tOSqBYgUmgIHmSGIjboUe5blHwqh9rUhLRhrGvdU9/iwXgRE8uU8EXqADDbCoVRrx lRHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qGnOSzTp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g25-20020a633759000000b00547b25ea099si6879973pgn.682.2023.06.13.23.15.16; Tue, 13 Jun 2023 23:15:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qGnOSzTp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234261AbjFNFGz (ORCPT + 99 others); Wed, 14 Jun 2023 01:06:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233240AbjFNFGy (ORCPT ); Wed, 14 Jun 2023 01:06:54 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 021579D; Tue, 13 Jun 2023 22:06:53 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6621a7efe18so1464636b3a.1; Tue, 13 Jun 2023 22:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686719212; x=1689311212; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=mpzNem3ViuEKPlCURCYzqdRVx4wzaO6WZgBZLhFzTEo=; b=qGnOSzTpm3glLNaHVCKnBetHvdWS/l9S7AVtgu2hmpIIpO4+H3pp1EYwbXxJoJoyR5 z0IvoBkTdKblSgH9uG2xgVvMuxnLmRPdyzj7fM53JtjKPpwFhzTFlqYNEKw0pFYm5SL7 QMsaz3XLLr1ojdWiKheekIamfzx8ZOCyZnGOeGGKCdTvIZ7pyPuqhd/vQipVdb0LBeDK spMvgMcYuWKmrW1HHivr3qLolUOfTiARHEIBw3hU50YthCAC8kqqDmH1XXyLuFW2Y6iO CiZHQEpabXIjNhCY9B2clbzbTJXlXGNytMxppBWTTkri4C2ZYOgtcfhAhCEaxwxhCwxj +k1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686719212; x=1689311212; h=in-reply-to: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=mpzNem3ViuEKPlCURCYzqdRVx4wzaO6WZgBZLhFzTEo=; b=RNF6M5Q2KiCig++RnE+/9akcbEII4IkBI0VNsUt0sgjpevxdtJRCKxJtMI+9JoDg9c KmdMowK7GK6LSH3DqCmNl6yExhpslb7U8MnMTJcWCHSovP6uBCUR/AOHNvKszKfLXQBw +MgxkJKugQ5gDU5RvOHfiVo59Uew30xK9tAP5UkB1rFGY7qA2zk2yhZjXBsdXbHQsF/z +9Sn7/on6tfBvHCMJ01QpEgVDP4mz3JQYHBBxcYkNMOy3TL8nf6pb7ayX7bcjCkac/00 mY7fyP1U9TbnjIqYfWFubkMzsP/zmQLnSO/ykCOBUxCR8QWz5+1dIfR/2cv+jrEL5C1d gNHg== X-Gm-Message-State: AC+VfDxot8CZS4MVtLwhPX40iu4u9XpUtNFVwEoojWaSC8iqJbWGsStl 7g4LlUlQ6ightXoM7gSnSSpIuszs8Uk= X-Received: by 2002:a05:6a20:1442:b0:116:696f:1dd4 with SMTP id a2-20020a056a20144200b00116696f1dd4mr17180626pzi.5.1686719212451; Tue, 13 Jun 2023 22:06:52 -0700 (PDT) Received: from hoboy.vegasvil.org ([2601:640:8200:e:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id z3-20020aa785c3000000b0064fe9862ec2sm9464370pfn.116.2023.06.13.22.06.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 22:06:52 -0700 (PDT) Date: Tue, 13 Jun 2023 22:06:49 -0700 From: Richard Cochran To: Horatiu Vultur Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Subject: Re: [PATCH net-next v2 1/2] net: micrel: Change to receive timestamp in the frame for lan8841 Message-ID: References: <20230613094526.69532-1-horatiu.vultur@microchip.com> <20230613094526.69532-2-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230613094526.69532-2-horatiu.vultur@microchip.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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, Jun 13, 2023 at 11:45:25AM +0200, Horatiu Vultur wrote: > Doing these changes to start to get the received timestamp in the > reserved field of the header, will give a great CPU usage performance. > Running ptp4l with logSyncInterval of -9 will give a ~50% CPU > improvment. One Sync every 1.95 milliseconds seems a bit excessive. Just saying. Thanks, Richard