Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6636119rwb; Wed, 18 Jan 2023 07:36:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXufeR6Y34hIGl2KPJvAen9JwVNaeMqV89qGBWaycJmtLGaiFL50cnvVDqMQ5SlP5gEwUhdi X-Received: by 2002:a05:6402:4026:b0:49e:4786:a0e2 with SMTP id d38-20020a056402402600b0049e4786a0e2mr3844458eda.14.1674056172753; Wed, 18 Jan 2023 07:36:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674056172; cv=none; d=google.com; s=arc-20160816; b=mG0LigM5av52X+06ZgAdhaVoQatmPyblF4HE/SX4yPKqZXh3iK0TpIUXOWGTrwCGkc JeDZ1Xe9aSdFbzmbkCnigQv+4wRG06hat5JwTC0hTcVMctv3QW2swtDtx+hYJbqwsrVQ rULYktCAvV4VBl23A3rvcO/Z9blwYbNb2SHJmE8BzckgEgQis552/6Yszkuz3zV6tehu KNSx0jMgabXtB+kmXpcJ6CLr4B1TGfhI766Ty3fLj6jCjuVOlZpJoY+poJa00OEU/OTj yGQkXKA0aMR6fAud8D9M5IUraS8K4Mytom5m2d9AoOjBFSEy4wHeN6dEmbsW1lvCC/AV s40w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=4MBnMqj9f3UMucNKGgQtBY0pxO/DUI774LcZmTRB2eM=; b=tvYGPShOdnFeDIwLPYhCZEBzp6TAq72fxNF8Cq3HN/kmNBhwbGh248ZATJbQmrpeG0 rkCpTQS6nB7BIo50AsOGZ+6CFPSvG1qIsLz/OiKsI8lT4M/rpClMCY+r9wqAjmMui6F2 GrI7w2/Vdaj1oL6bELH3/YjgfrzP32T2FIxTvUjixCNynohFasjXj8PNr6oQTU5GhpeI 6Shql+wU9WB1rClXaaB5ru4UZ/mOaAGq2Z6kwv0OWGt5Q/HF4//hY2Iwio0JUW9o61cH KU7oKYOuK4IQq5xRvNh4jr2ZfdufuSv/4+u6fvRTURnyz03LTNiCObpWJjPEl0zxAyrg sUWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MOZeqUWh; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm25-20020a0564020c9900b0049b5d6f6711si10837723edb.255.2023.01.18.07.36.01; Wed, 18 Jan 2023 07:36:12 -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=@kernel.org header.s=k20201202 header.b=MOZeqUWh; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231270AbjAROkO (ORCPT + 45 others); Wed, 18 Jan 2023 09:40:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230407AbjAROjm (ORCPT ); Wed, 18 Jan 2023 09:39:42 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 137341A966; Wed, 18 Jan 2023 06:30:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 987E9B81D4D; Wed, 18 Jan 2023 14:30:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 0255FC433F0; Wed, 18 Jan 2023 14:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674052217; bh=VVw4J8idSEvIBSQvZDSTQ6Z7QfAX3np3qATDr5Zr2I0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=MOZeqUWh1aPy3sA4DDyiV0jNM6BDDlTNZX2YHAgNGNoSoye8gmW04IQ8dJWo+9SaS +qBjkBLt/SphVzDkWpTKLjsWhny2INkaFv/Yhz+FhI4Z/baVQOKVOQ7ACuq7/zdFD7 2f7nMH6PAQEiibKoSdijXFElpf4tgm/1CX5lK2UXVb2YzCGEe2r3Pu5bOcK1Jw75gh LGtf/4yorTmWzjQ1FTPr2HyZkdCbnb5fbOmXTRrIa7Pa3StkZuJODBqQ1a5A8oZFqJ fLlROOdQy2QPPvD6d8vWPavcLgI0i21ydxwPnE7xFMLClArLjWT62hq47iTq2n1BWp t5HNSC5tMTVYg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id DB6A9C395C6; Wed, 18 Jan 2023 14:30:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: macb: fix PTP TX timestamp failure due to packet padding From: patchwork-bot+netdevbpf@kernel.org Message-Id: <167405221689.16594.624017223236152220.git-patchwork-notify@kernel.org> Date: Wed, 18 Jan 2023 14:30:16 +0000 References: <20230116214133.1834364-1-robert.hancock@calian.com> In-Reply-To: <20230116214133.1834364-1-robert.hancock@calian.com> To: Robert Hancock Cc: nicolas.ferre@microchip.com, claudiu.beznea@microchip.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Mon, 16 Jan 2023 15:41:33 -0600 you wrote: > PTP TX timestamp handling was observed to be broken with this driver > when using the raw Layer 2 PTP encapsulation. ptp4l was not receiving > the expected TX timestamp after transmitting a packet, causing it to > enter a failure state. > > The problem appears to be due to the way that the driver pads packets > which are smaller than the Ethernet minimum of 60 bytes. If headroom > space was available in the SKB, this caused the driver to move the data > back to utilize it. However, this appears to cause other data references > in the SKB to become inconsistent. In particular, this caused the > ptp_one_step_sync function to later (in the TX completion path) falsely > detect the packet as a one-step SYNC packet, even when it was not, which > caused the TX timestamp to not be processed when it should be. > > [...] Here is the summary with links: - [net] net: macb: fix PTP TX timestamp failure due to packet padding https://git.kernel.org/netdev/net/c/7b90f5a665ac You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html