Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp357446pxv; Thu, 24 Jun 2021 09:22:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLOd7s5nsgmNuy7T5dG0lDBgoiBAeci5mxmoqhQVUzbPM5GvoEBAZLUkFHRTphXWKY0Ofr X-Received: by 2002:a50:ff0a:: with SMTP id a10mr8380117edu.273.1624551759881; Thu, 24 Jun 2021 09:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624551759; cv=none; d=google.com; s=arc-20160816; b=TgsRDXjgpYMMSACa6UJNMI63sAq7tCl7K+tmqc+5u4OMS9EczHOj/GeqRyU4d4os// EshsJdmVnzT4VUPLBWDImhRALQ9RpsGk5U0x9U24A+jDH6mkwO/HxsU+tMm3ob7hVASZ bo+gd3Ls6/K6ssD37SwMajFA8VS2kqqR+fv/Z1eYWPZJs6d/QoFl6XtZvqs5v/1PeDNZ xd+TZ0OZLYXFkR6NIVoEamCpX11NS6ifIp9aTGZxckDQ3DcnT4QIw5MYEPuifkPgLEUX 4EhhqLvHedCRDWZ5IkM8uWbGeaPIzCCmEgxq5vPepeXsYRSAFnY7HuVcgQpC8YBaSgMc Uxlw== 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=z74dwwgtRQUNlIhpbvBd55oULYHT3xtpRXCFegJuaBk=; b=u7z8t+BsvZk0i0Ke4T9pbLwA0q047nwNcrM9aKzpQQiduarkHhILrUGRMF/L/EdMEl ieM9Ie4r6KzcHZvcly6aZRf0psm0CQ19PyZjemdOp2gxJSXkiSCmxERtLdov98ykgJbu 7yv+IrweKI6dxSiFkdl5ccxb+XIMfL38pOElOsOY+1VUGnyjjOpqCZ9Kes6FlGpW7Teg 04vES5tJnG18bCw78nSb08e5t0L+n5ngDEPx3tBCmv1FhGFqjITn+k4v5F+2tTJNkmyL M8JS55DbwjTQF7fKU8F2+ipxVhvmDTK0saAE4kZcwIFRsQSNAIFqIcA/9CLgXKYD/DPA 9ysw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QpojiMkp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 12si3668304eja.320.2021.06.24.09.22.15; Thu, 24 Jun 2021 09:22:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QpojiMkp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232033AbhFXQWx (ORCPT + 99 others); Thu, 24 Jun 2021 12:22:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231432AbhFXQWw (ORCPT ); Thu, 24 Jun 2021 12:22:52 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 114FDC061574; Thu, 24 Jun 2021 09:20:33 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id f10so3237793plg.0; Thu, 24 Jun 2021 09:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=z74dwwgtRQUNlIhpbvBd55oULYHT3xtpRXCFegJuaBk=; b=QpojiMkpIGXZrFeJGLV5n2qfczA2Oh6WSY7PIwpX5/5cZdrklKqAvDJlDnk0BP6fvH kx9+wN82z5YXG1A78/pVNc3M1s6Q5x93yD1A/XIm9mUS0H3564tUVKk3f2Kix2SBRyIg +04aeYa9ZkXADAgLVGxNYJeOelQ6ESbFUYmWD33MOjVf00yXTd2o7HL2Zow11ORvMa9U C4afE4kRcyyCJhFsb6DFyopt/+LNRaYygaFxuvoTQvaMWIgNHIcQtx4HmGrSsqIxH67q GCo5OZBWcVe6Yr+EYZt1MIbgKQtV+sl8CPVgp8vfqVbyDPaS0BqzsjEc9ZFyyqYWdyG4 3WtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=z74dwwgtRQUNlIhpbvBd55oULYHT3xtpRXCFegJuaBk=; b=DDbIQsObQXDmGN2WeUoT8/Or+R6qMkRAnDcmOlq03rGnVPF6r6LEU2maCdcGxwfJd1 E2fn5I7rgI3A/4cPxbANOt725fNXVixdMKA8DeepocsN/TXjf8UQFVkNxEBrJT9iO9Bk ZN5iBRP+aXDIUfdbNT1bu87XYoIwYJ6xE/bphqQYxUgogyllQhAD2uES4U+PtYX2xjg1 eMs0Hpn+CPz6Ar8nIgyvCwYYkWsDTpG8pQ3vS4kNDMSZ7xZrDL3IkRgWfzahHIO/ZG9b 9lqfsDyHtUIDq2BWj2BLVtGWi9hRjrsOzWbtVOHkuYrM7FCjjgsNfb8akqZ5Au7MVgVB yQCg== X-Gm-Message-State: AOAM533KrvyMSX9leDSKoGa+6XsQGh3h/+Hw0l72vqR54jQS0qddwK48 5GMbfskMqmghbQaqTx0xdFo= X-Received: by 2002:a17:90b:3253:: with SMTP id jy19mr16693711pjb.196.1624551632637; Thu, 24 Jun 2021 09:20:32 -0700 (PDT) Received: from hoboy.vegasvil.org ([2601:645:c000:35:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id a9sm3246397pfv.185.2021.06.24.09.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 09:20:32 -0700 (PDT) Date: Thu, 24 Jun 2021 09:20:29 -0700 From: Richard Cochran To: Min Li Cc: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net 1/2] ptp: idt82p33: optimize idt82p33_adjtime Message-ID: <20210624162029.GE15473@hoboy.vegasvil.org> References: <1624459585-31233-1-git-send-email-min.li.xe@renesas.com> <20210624034026.GA6853@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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 24, 2021 at 02:38:46PM +0000, Min Li wrote: > I have tested this change with ptp4l for by setting step_window to 48 (assuming 16 packets per second) > for both 8265.2/8275.1 and they performed well. Both of these patches assume that user space has a special configuration that works together with the non-standard driver behavior. For this reason, I suggest making the new driver behavior optional, with the default being the origin version that "just works". In that way, the admin/user can choose the special configuration on purpose, and the default performance will not be degraded. Thanks, Richard