Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp525343imn; Fri, 29 Jul 2022 14:37:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vGBKITjPqpfy3zVEb77H35lQa3Ax+qwJEN8853HqbP+08iMM4sDmzsdFaaLUxKyF7NLhbr X-Received: by 2002:a05:6402:27c9:b0:43a:d14b:1fa5 with SMTP id c9-20020a05640227c900b0043ad14b1fa5mr5419089ede.245.1659130645477; Fri, 29 Jul 2022 14:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659130645; cv=none; d=google.com; s=arc-20160816; b=F8JZ34ViZlnobxNADO7K8oxj7573UnEXw2+XrtCO0XfNyPHAtCmM60RPJAORd2013r 4yoOnafsUJMEwkRsM6egscrzBMf/XFg3pUSFsc2AJnnIlh+SmBjnSrxhEYVNR/WQa+75 bEHzSCqHI5ndpUv4DDFGUpFOR9YaV1wF/ZAX9Ykq7FQR/HFJxMsHP+kXFKNzmhvtK8/U cHMnLwal1pnf95IiWs4Dkx5azAOg2ubNNUVze4npWoiQNvE3wjOpC4a7jikIMFwSa1ZE DSwQyr08+vl5I1MYbiq2r6axn/BOrEGeMGlgrVlzciVfaAg3IYcibbgDIMckWZtAVPB5 AVog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=xjH10rLqfqkr/3tCURQKF3STurdTTHn/fdTjGaWVXuo=; b=UubSPLz21TlfQ/FFLm0nKOR9gc0Os196S4KGqpgRI236eXkyDaGcboghirpdnGi1/0 6TbdTjkGfy8ADgaqf5DpdLkVctBC9ymUsv7PD6HYDT9T07kK+oGl1y8/+pLUxObvAfLY y35uGzXsL3sMLO6abViuklqUVuVT1ytvkczzUXPdbk30JAc/KkSNbl0mfdhSYpEw1lak 1atfF7FE9ixNrmYF8a51z1DWcfYW7gOs+XrZQk0bPBM7EuBoAwWyM8+ZIQef63ZMhK0D Ivr8bVhvFllRCL0FJD3+0FBERX3V5ev19qw6EnT2j0sOTg+CW5IEo9TNhOHFHkj5OXNK 4rzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cInOSJkb; 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 qk8-20020a1709077f8800b007157983a2d2si4523302ejc.146.2022.07.29.14.37.00; Fri, 29 Jul 2022 14:37:25 -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=cInOSJkb; 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 S239340AbiG2Vcl (ORCPT + 99 others); Fri, 29 Jul 2022 17:32:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbiG2Vcj (ORCPT ); Fri, 29 Jul 2022 17:32:39 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14F408AEDD; Fri, 29 Jul 2022 14:32:39 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id w17-20020a17090a8a1100b001f326c73df6so4779863pjn.3; Fri, 29 Jul 2022 14:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=xjH10rLqfqkr/3tCURQKF3STurdTTHn/fdTjGaWVXuo=; b=cInOSJkbeo+MRnO3/Jh2dtf/dUDVr10ZbHe8PwjnmKV2K54J6aDZ5FD5qxitqpX6SB Tta4sA/m7s5CI4rvQhbyD5Zj+sHlpW8kXgLAGFc5H8agXiBom01MBN5p1pi+IU3/sQhV VAQ3zLOBKtlUU5tGKs7hnco8FyBQ9t9LSQnYOUHJNKDgTbkRTVVrxL/GhC+LC44q/YVm 3T4CkF2Dl5Ul5i87FTV0bsw/JG7IkiQL8Te16Qh3z5n+rv2D7r+ILNByJUrEGwyutyUi 9HNiw/NEXnOGYvZEquUvDEAVIHvuafeWMQgSmr8IfRHK4p/Z9y8y984pfqIemZk4wlLd PTNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=xjH10rLqfqkr/3tCURQKF3STurdTTHn/fdTjGaWVXuo=; b=G7Ea7UlONtrFJtHNeOQ9aQWWCVxZAmk+glgDRVsnUTL1mUkNsK/iO2dV39lrwumMtk VdxSVt4lQ3wgTd7WDacBiwd899gkJV1YdtyciQMaaNzqee4uRJzGz9KrIgnbSvyWQZIY zZeru32RxbL3T8gZWXnqGvGxpwWBP/VNzRXZAbXkHSfUi8zMFcnOgfIuT5d/CvyA9svq GXxfPCjPQcnkzgqomLek0nb/G/X05gn6tb2kLP7GqIwbAwSmD710QFB+YT8Vz0p0SdVX mUAlT1cZQea0xGrgdmn5/EAeeBtraiPud2ehMj5TysV90a6HQBJFaafXxmAmtfx0PUso lx4g== X-Gm-Message-State: ACgBeo3k+fslRubR6AU9gz55ba6qrH7UuGJ6jL6dR7CPBIuulpGT08Xt lc+G6UL1KuNw02Y2X8OhK2E= X-Received: by 2002:a17:903:230a:b0:16d:5b82:db2b with SMTP id d10-20020a170903230a00b0016d5b82db2bmr5752175plh.138.1659130358436; Fri, 29 Jul 2022 14:32:38 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id a11-20020a1709027e4b00b0016cbb46806asm3995511pln.278.2022.07.29.14.32.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Jul 2022 14:32:38 -0700 (PDT) Message-ID: <44a0f864-0768-e2f5-1a0b-4698a30959ff@gmail.com> Date: Fri, 29 Jul 2022 14:32:32 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [net-next PATCH v5 02/14] net: dsa: qca8k: make mib autocast feature optional Content-Language: en-US To: Christian Marangi , Andrew Lunn , Vivien Didelot , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Greg Kroah-Hartman , Jens Axboe , linux-kernel@vger.kernel.org, netdev@vger.kernel.org References: <20220727113523.19742-1-ansuelsmth@gmail.com> <20220727113523.19742-3-ansuelsmth@gmail.com> From: Florian Fainelli In-Reply-To: <20220727113523.19742-3-ansuelsmth@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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,NICE_REPLY_A, 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 7/27/22 04:35, Christian Marangi wrote: > Some switch may not support mib autocast feature and require the legacy > way of reading the regs directly. > Make the mib autocast feature optional and permit to declare support for > it using match_data struct in a dedicated qca8k_info_ops struct. > > Signed-off-by: Christian Marangi Reviewed-by: Florian Fainelli -- Florian