Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2873001rwb; Fri, 9 Dec 2022 07:19:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf7aOIH2lAlYjaMmIpJqlknk1id17DTgGP8OkEq0E8/55BAGXUPTjDYocXAVD2Hn4ziDB5Gs X-Received: by 2002:a17:90a:c715:b0:219:9973:2746 with SMTP id o21-20020a17090ac71500b0021999732746mr6256007pjt.0.1670599143394; Fri, 09 Dec 2022 07:19:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670599143; cv=none; d=google.com; s=arc-20160816; b=OTxW86ExZmPGCfdKyrHb8oANbx/MA1XQ1RnSyH9DooTUr+VrrsFmFo6vNMtt3UbV9X CXj6XCB0VH/xTEP/krG9W1TEk4nkcKRPRmadK0BkHWQ2Y+k5IEU6ze/Sj0O+jH0ypbwP wP4WIHNHd4ghhKg/3dDm8HMHA6rKmPi7RN/PYU6ok7eeWwcNIYUohRN6Ltdmgg6ZmE2t RYtGSLwSOeObMW3cyTPfd5IYfQi9chJPZYiWCcLhttlezj/aup8RSpUd+GHWudeDeTKb 6JKQ/6pqvI55eQa/DRNeJWAYrk99qyYdkSGR+le7LlHLGxIOexV5lyICAnB8+K1dBHTh Nx/g== 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=v2VJkWbNKEh0A4pf7A2XrZCZejaLGhVFMMh2tfBWT6o=; b=qeO9vQ0854OxC9tyaUoxz5lVWmNiqYqr4SYjBMBOnq8ejXJBR8YePL4ESDoGUEIGoQ c15pS1jSLSD+JE23eWhbvH4ugCDgjoV+78pC0+FU4zv+PLxNbFBRCzTjF9GRRjyZVtOx pJOWxT5NkxKiQ4gQF7IMdIAXuXB9888k4stYQxsScZ9BfJ9R99gTlovgJn6+1FvmXtxo a5xmkgyD8xjfusBy5NWhor+YHhQrwMRUIJkSfRQYXaDxra+MMw2QCLuMx9w9JKdZrXAg yCBAGJ+R0kbHZSCpSvMbK4JlUNXY5MovTmZdQqpQvfiHdzCnEqqn4mxqrPXyUTTDPJQu gPkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qbfi5thY; 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 ob7-20020a17090b390700b002197ff12d35si2546890pjb.25.2022.12.09.07.18.49; Fri, 09 Dec 2022 07:19:03 -0800 (PST) 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=20210112 header.b=qbfi5thY; 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 S230230AbiLIPIw (ORCPT + 77 others); Fri, 9 Dec 2022 10:08:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230262AbiLIPIX (ORCPT ); Fri, 9 Dec 2022 10:08:23 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BA9484B62; Fri, 9 Dec 2022 07:08:22 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id n21so12139986ejb.9; Fri, 09 Dec 2022 07:08:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=v2VJkWbNKEh0A4pf7A2XrZCZejaLGhVFMMh2tfBWT6o=; b=qbfi5thYQ/mx3gcgLXPFAHEWM8nedH40N+dssqFBXaYO+2MkoUYvp38WYHxrFCpKeA kyzDs9geJbpWdCLgPQoRS0r9av3VvgvkHgrx5owyd4fQ+mzPJ8ggu/oaH3alILIkJzc8 xOx27QOK+c98Wib5FJXLxOn2v05z9ZahMcDO2phIuVUjbScKUTmecSDW/d75cYFzWD4o eajoKJofwf66fi9/gEyaGu6I13yW85O7uhOoC15NB8tJufRkccp2S+lQNt66P0B7DTML PBOiQEp6+iuTWkjORcAuSfjFcJEm3I0KsJodWNZFaQBqCs7FIpl/nNDgGOCWNsRjvYiW JnmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=v2VJkWbNKEh0A4pf7A2XrZCZejaLGhVFMMh2tfBWT6o=; b=Mv7QkYNI9eosQqAI51ZIcDXCxVdFMvkbnDxjOooFPZFi9gJqA7JOfvHScS4qnXLX2+ VJqkcenfRSnbCWFbmzBvqBTlWe8Rt67ba3Inhln7I4kgFP/fAco5LtEYNrmM83eprwwh lgieMtFOBtalhDK8HbESutnkyWxqsKKAsiYq9xnsfPFoOkQKfE4HCSF2+iCvS/BxE2w3 wyq+OfMKuzUMEXRxPcgw0d5wAS3c/+fzXOMqYbwIOLzfDaV/YfB+iWv3IJnj/kfzxCBy 2zJeFDYU23IjTvQ5iLs0jDY7zT0z8/EuXjDke4l0TSkI7ErugRB8n3SdSwHBK7VzeCLu 3nCg== X-Gm-Message-State: ANoB5pncUEUiDVcqF+w2yi3kR+y66N9TYxxRMY/DDEYvr88VTvNvc9sh CTF2x9GqiiWvXofTOUzI5Ec= X-Received: by 2002:a17:906:6c7:b0:78d:f455:b5dc with SMTP id v7-20020a17090606c700b0078df455b5dcmr4865255ejb.28.1670598500718; Fri, 09 Dec 2022 07:08:20 -0800 (PST) Received: from skbuf ([188.27.185.190]) by smtp.gmail.com with ESMTPSA id r17-20020a1709061bb100b007ae243c3f05sm632091ejg.189.2022.12.09.07.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 07:08:20 -0800 (PST) Date: Fri, 9 Dec 2022 17:08:18 +0200 From: Vladimir Oltean To: Arun Ramadoss Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux@armlinux.org.uk, Tristram.Ha@microchip.com, richardcochran@gmail.com, ceggers@arri.de Subject: Re: [Patch net-next v3 09/13] net: dsa: microchip: ptp: move pdelay_rsp correction field to tail tag Message-ID: <20221209150818.jmva3syosfxjigpg@skbuf> References: <20221209072437.18373-1-arun.ramadoss@microchip.com> <20221209072437.18373-1-arun.ramadoss@microchip.com> <20221209072437.18373-10-arun.ramadoss@microchip.com> <20221209072437.18373-10-arun.ramadoss@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221209072437.18373-10-arun.ramadoss@microchip.com> <20221209072437.18373-10-arun.ramadoss@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 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 Fri, Dec 09, 2022 at 12:54:33PM +0530, Arun Ramadoss wrote: > From: Christian Eggers > > For PDelay_Resp messages we will likely have a negative value in the > correction field. The switch hardware cannot correctly update such > values (produces an off by one error in the UDP checksum), so it must be > moved to the time stamp field in the tail tag. Format of the correction > field is 48 bit ns + 16 bit fractional ns. After updating the > correction field, clone is no longer required hence it is freed. > > Signed-off-by: Christian Eggers Similar. This needs your sign off too.