Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3866768pxy; Mon, 26 Apr 2021 11:37:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJws9VMAmTzIxX38/uEn1waUp50pffXkhgNY8IsaoOaWlG7xXscUP9huttAOsNDV+/0MZ6H6 X-Received: by 2002:a63:1e4d:: with SMTP id p13mr18364663pgm.238.1619462268429; Mon, 26 Apr 2021 11:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619462268; cv=none; d=google.com; s=arc-20160816; b=QcPKdWtXmm7OFuU237WZvYwW0vcHAX7ZmgxiHYTX9qpCkoBUG1SYoOkNBAIUJwPHI/ 12FYZLFmCEtd4D0SoZNsIxlyrpEl36dQQFDB5yJiI5qTu/L894chmnDIu2pLwnazORoD BPCWgfnyyQQc4bqvc/NdU1ksl8M4l6xrfcHqDDklII3cnEJ7Cqwt8d+Q9WusIT6Id2QZ WNkrGdxp5eMXnIP/Xks7Na3wfZCqYTx0W7QNwbbKTec+cJWkwprdoCHMJQuQr3lTbp3L VMwGINg4RgGP/PLwD9vPPEJwbnmSGimA5saXhxGRr0hMXTKKBfHxjVNYBaPxaeL0DUIG npKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=R1zYCnRhPzK7ALzd9Ha9cbeuBR9fcK/CDlQF6NU1K8A=; b=m+OkydAQeUZCplPW4ygeNYxed/KG8S2GJCvtGqDg8YVeNwYi4ZbaH9jlxKCiAzUlrc JQda/vwqmcE9ILw2GKSPdgsNeCO63j1/IRmiaD7r8D3npAsral903p/L7qPMTLdditd7 QYC/ICb0xldnDnCmJKb50H9cOkYOBs2wOZ9iteTABhpJOQTHR6ZHbxN2wraKuXIZ9cfX kic/gkYQxEUPD2YRaCXs4g0HNCEby8/8BpI56/LaMv+1Hep4txXeDFrPJcPDyYpPkhXz jmLSM21xM7Cv1jLeBnKEk/mRfuwr6Hcv22m8L2bY2gvELh4ML0ziRDN3GBgeNVI1D5CG J6eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=G35Rbsbm; 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 u22si20168794plq.297.2021.04.26.11.37.33; Mon, 26 Apr 2021 11:37:48 -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=G35Rbsbm; 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 S235375AbhDZShY (ORCPT + 99 others); Mon, 26 Apr 2021 14:37:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234275AbhDZShL (ORCPT ); Mon, 26 Apr 2021 14:37:11 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFB97C061574; Mon, 26 Apr 2021 11:36:27 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id a12so39586983pfc.7; Mon, 26 Apr 2021 11:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=R1zYCnRhPzK7ALzd9Ha9cbeuBR9fcK/CDlQF6NU1K8A=; b=G35Rbsbmm+x39F0C3A8w9UMWLrerD1BHvuBAhembsV7gIiNkn57JBJqU4I27lYSc7a 7Cq6pTvqwPlxV8XC7U8c958Wq8j5totT+iTRNw0QX1qJPK7h+kFk8X70KVyhieW+IaiU v5iKp/EsZ5QX5YfSXc1vmI9HxM7hmMJrRFv7dj9j3qIbvU25Kn8sd7Whas1nC2zFBBk2 Iyu1/+7C/bsgFw1gjG2JtYhPgv+JzpPvfTe/kH/g+5w0+D+MMpsgClP7VR0awwHxfhb5 0fiQqRd9mdhc0FC+H/1RUgUmcpWDSUHAgomUNhR2eB+9K4r7RZu8KQQIA+Y7M8fcRL1N Gayw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=R1zYCnRhPzK7ALzd9Ha9cbeuBR9fcK/CDlQF6NU1K8A=; b=rE5Y9VW1dLTJmisE6bTtKC17RZuUmcDGH9b6sNbSrOMf5iyuA3LhoXRNN/Mhc/jqtZ UtSmN9v6yyNNZvjRXxgnkwEm5KYXlB86P/5ReN9AFHGEK46+5oRQdiAWK3jIm0RRDr7G AmHJGzoi7a6Gk3UAnkw0jx/FbiZPLJlBelQEAoM+DFwVQmYjBY4I9pSSU9xJ9jPqmH7u 5j3mw6aVcQFCCJykInE5+mIHdL+e0crO5CqMA6mJnyRbKEDCwfedYrsjOWcDYliwC+F4 QGGlp7M7frdb76WaifXby2hBw4/uYqKjCdC6hky17Rzm6z/3oOcgjJIBCNelTRnMfW2F Prcw== X-Gm-Message-State: AOAM530q+TUpSqVKoyc+UxkRxPpplDkzKSY+0ub/S1u8/hq2E7yH2VRb UWCaNVFKF06jLPAH8hnei7736nXYnN8= X-Received: by 2002:a63:d009:: with SMTP id z9mr18109712pgf.16.1619462187103; Mon, 26 Apr 2021 11:36:27 -0700 (PDT) Received: from [10.67.49.104] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id gj13sm111394pjb.57.2021.04.26.11.36.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Apr 2021 11:36:26 -0700 (PDT) Subject: Re: [net-next, v2, 1/7] net: dsa: check tx timestamp request in core driver To: Yangbo Lu , netdev@vger.kernel.org Cc: Richard Cochran , Vladimir Oltean , "David S . Miller" , Jakub Kicinski , Jonathan Corbet , Kurt Kanzenbach , Andrew Lunn , Vivien Didelot , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210426093802.38652-1-yangbo.lu@nxp.com> <20210426093802.38652-2-yangbo.lu@nxp.com> From: Florian Fainelli Message-ID: <7186533c-5d4c-d78b-c16d-96e4dfdb3404@gmail.com> Date: Mon, 26 Apr 2021 11:36:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210426093802.38652-2-yangbo.lu@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/26/21 2:37 AM, Yangbo Lu wrote: > Check tx timestamp request in core driver at very beginning of > dsa_skb_tx_timestamp(), so that most skbs not requiring tx > timestamp just return. And drop such checking in device drivers. > > Signed-off-by: Yangbo Lu > Tested-by: Kurt Kanzenbach Reviewed-by: Florian Fainelli -- Florian