Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp347266imn; Wed, 27 Jul 2022 07:55:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1shg6THR3DUc+zNMmmVdmAEkFhj7VLM53Tgiiwf77u385WnmkipcR76tvf/czqc+q/Eeknq X-Received: by 2002:a17:907:75da:b0:72b:3ce0:2524 with SMTP id jl26-20020a17090775da00b0072b3ce02524mr18100342ejc.394.1658933739594; Wed, 27 Jul 2022 07:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658933739; cv=none; d=google.com; s=arc-20160816; b=0OVkaCQeqXM+5738aIEZlNLErqFxTN085XCKS0QpuZaSNO1Fz7OlWBTiAhq2AnoXrP +9Sv4OjdYCNRQZ/PCZHkg7dCiHlSiS8WALtnTsNmSW+awGFC+6a5HtbpgCtcf40TQCvm RHOKfcNPei+dVdS/4VLFiLX+BBun1HvacBPcEn2vyjWocp+vDC4R6PaDzLpMMhcf0Umr 1V3Zjmwy6EWcloimLxJnn9v1EuLkLEWkwdD3ladjqZ/yXcBvdnffUoCk2dlsFG6sTTc2 ZLaHvpLd2B1Fh1Klh15DouiNA5s8fo5zVuv8LeSPahXw6o0sycw9aokIkioRQDXSRDWD H8wA== 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=fHxG34E3tP9bUskLk8BO24fMW4a3kedY+AgkS1+8NDs=; b=pSYE0jaCxaB/Gqnd03P6oz3tWTkB2krL0u9shW6BqygTvk1pNpXn/mTKAq3H881JFN Xy2ih/cVRgoBoPoa4DYG8/xG/n28byaTfmR0Uxf9UGn8noRPJ0Xo7KsSsuE3enY8WbRZ Hs+fWZ5quwLrVIGUIawusOWxFVn986ZHSSHEkoeYJ8mIZGkKWfledKxQ9B9YNaybi9Ay TbWLHuIjZtPWYzR5eNKPpaWKlmewg8EmZc4ikQ/MSDH4xrfKlJGH2AuYt5EyJhG2+sul pVVKiH4V5IVM0Txf0cnnQ8KsSrvA6QU0LPFAxJpcwSLVutWBOQCH4zaEckgmi4d5bEsZ fJfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=K2EuCPdU; 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 go36-20020a1709070da400b0072f22a0d258si20903135ejc.718.2022.07.27.07.55.12; Wed, 27 Jul 2022 07:55:39 -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=20210112 header.b=K2EuCPdU; 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 S234155AbiG0OuL (ORCPT + 99 others); Wed, 27 Jul 2022 10:50:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232508AbiG0OuJ (ORCPT ); Wed, 27 Jul 2022 10:50:09 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B56BCE1E; Wed, 27 Jul 2022 07:50:08 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id tk8so31877690ejc.7; Wed, 27 Jul 2022 07:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=fHxG34E3tP9bUskLk8BO24fMW4a3kedY+AgkS1+8NDs=; b=K2EuCPdUuCdKrRdupio2gYy/Pmk68f6TldEk+hC6l663/Oym4/kw0+qrz/hhIuWRkI WwX6eK/ci6sEDq31YkMFNtsGP5K8w1XctVafudSO5wl+rcw8mfZh8hOYYegaj7zAtdK2 S+l7TEF3ikjdS7Fyi7ug5Y18qrg/fiYS8Et/aJm0kQhs20RPGUjFtnKLMCLUasKayRRC kusKiu3ttp1DP8FQO7MLnUBUw7bEEeqIxfv4HhpDCxh8an17FRP9g++PSZmpcGdWkR+u kXw7LbciY3YyhyfXLJAIVl2BEMRi9VFPSqb708BKBPVBuA8sjc36cLqFqXWr1SXuxhtx jb8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=fHxG34E3tP9bUskLk8BO24fMW4a3kedY+AgkS1+8NDs=; b=UpgzfqNbichGIH72VOoadHiGFMp9wnwuDyzcuUPuMyyyZludsGcfcIvYEcE8fenOlW fiW9l8mAK+YGhYCWQRJcrRt94MtiADF9fJlKP87xoZnhvxkE0WlgYNli3acWrOcb5nLg J3HxImagFZDb1gWaOy4kT9DT36diJ9ARFDlD/nojLLxBdlBcGX0ERQevLxp9jsC37LJP QXyBIDH1vY1ct9f+ZdWuO4/IEf8ER03g6zM60J6Z9kdJdqpuDALPbfo9fThpDTd8TJYj ty53tIAye8+ImBxwyaY2pWou5QSahxpGUlqaMk9Ax1j9DLfggVZKFgco4zAa8vEphnJg Vj8w== X-Gm-Message-State: AJIora9sbaLaGhZfW/EOXZi3jVm4kQgRcEB4j6bRxXzEE3xMXavikrgP t/5YOY+mkugCCbcRV6vCaE4= X-Received: by 2002:a17:907:72cf:b0:72b:9943:4caf with SMTP id du15-20020a17090772cf00b0072b99434cafmr17382372ejc.370.1658933407073; Wed, 27 Jul 2022 07:50:07 -0700 (PDT) Received: from skbuf ([188.25.231.115]) by smtp.gmail.com with ESMTPSA id n9-20020a056402514900b0043cbdb16fbbsm1005761edd.24.2022.07.27.07.50.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 07:50:06 -0700 (PDT) Date: Wed, 27 Jul 2022 17:50:04 +0300 From: Vladimir Oltean To: Christian Marangi Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Greg Kroah-Hartman , Jens Axboe , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [net-next PATCH v5 01/14] net: dsa: qca8k: cache match data to speed up access Message-ID: <20220727145004.7bywtng4emuanbuk@skbuf> References: <20220727113523.19742-1-ansuelsmth@gmail.com> <20220727113523.19742-2-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220727113523.19742-2-ansuelsmth@gmail.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 Wed, Jul 27, 2022 at 01:35:10PM +0200, Christian Marangi wrote: > Using of_device_get_match_data is expensive. Cache match data to speed > up access and rework user of match data to use the new cached value. > > Signed-off-by: Christian Marangi > --- Reviewed-by: Vladimir Oltean