Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp134453iob; Tue, 17 May 2022 21:24:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx41lpWBWOkgnJyMCHg/bTazGODAkOt8wnL7VkkyrdJMTS/bHVF9QLMKHg+AhNd4xo6NUx8 X-Received: by 2002:a17:90b:1249:b0:1df:257a:539a with SMTP id gx9-20020a17090b124900b001df257a539amr19671552pjb.47.1652847878409; Tue, 17 May 2022 21:24:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652847878; cv=none; d=google.com; s=arc-20160816; b=Lk7obJlmyOOmFa0+nPuSLPci3avC/V5OVsA53V8xISHdmIg4jsrzHiMK4TiFp+UsQk yPiOX9tZYSGibKYEW2u0asxWVPcMy0mSrLxKZZzIaohK+1QfIpG6JJ2Su9cz0JyQ7CRC 6eOaw3/ygZAZjgRgWSe+sUuaCIVsltQGknalh33OG8njZYsRM/OlQTiKyn1Do5phA/u9 w08fCOdp756QmlN2ayZD0Yvg/pEUt8h1qsKwmUNap/i1LPGgnW4WnMtRbXigR2LpfE3j Hu3QfAsqR8id6EozythZDQfwRQnbWtySuDaUcZK/Z9tVbNwNhudvVA/t525rjyPfYn1v ouKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=e/Vyji99psSzOx1mu2hBM36Vrn1/Zfm41XWbsmBPpV0=; b=NIOSZLDbM2uQxXEGGvWUe5yVaONC/3tDm2iG9H1jelEZCsGnmIqJML+kg8a+Z8YnX9 DYcMoQjnOPCSFmZMzWZucLgg1gDPmequTL3t9UT92iivRdCn3RH1Ri8Bkmh0bcqaYvtN YYlT+hmvmsL80Wq7EnL+/IFrjhdCUS1AVm/aCS5N2HoN+XS0gkH3RR0GaXHQNdXJEBPz fN4nUISM0gLfiR2vhq7IjAHpRnZry1JKwyFPrhd7E/xmuD3RVGESn+dbSSL4Oh6rE5L+ ulXGtUi8DEwBy9KrhmOm8nie6rjQf96bl6Ca01oLKqPa/205dwmLN4vheTHxl3PjStjS lh4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Sqj24rsA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t10-20020a17090aae0a00b001cb4d9e17c6si1311578pjq.84.2022.05.17.21.24.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:24:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Sqj24rsA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8FFCAA2065; Tue, 17 May 2022 20:48:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353097AbiEQU6o (ORCPT + 99 others); Tue, 17 May 2022 16:58:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241513AbiEQU6k (ORCPT ); Tue, 17 May 2022 16:58:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6504B51E66; Tue, 17 May 2022 13:58:39 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id ED02B61717; Tue, 17 May 2022 20:58:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C92B5C385B8; Tue, 17 May 2022 20:58:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652821118; bh=hk8wEywVJmfG82zsYPnxL52HFBZTcO/cUlqMVKyBPi4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Sqj24rsApE0TJ0U5E3nf6VNL0L/hLBs2UcaDGbyM4ljPEg/RFHnOWqFthu5E/ovwA QbiS9ODJVY7kRGpEFyk9ePkW/GqCMxyWT/jGCfhZjB9BZVUJSYXWXx2hFPdrieyzwU 3ErbcTokULnq2qn6NES38rFPRzVaFeUrFLQsSgSuXdjt7sV+8IHl/mnE3PAgtq2GKz kMCIBH0wElXRNv9tggAbtRS10Wf5HUTEAvFd9e36Ra9tT1wFU0ARJRqaEstmK6vLTD MEbfJ1lw3maaFDHG5wmC9BnWyLkGRWrv3yG++N+J+ijHVjqddC0qrxw/a0EmbIvlDO B038KW11jZ/qg== Date: Tue, 17 May 2022 13:58:36 -0700 From: Jakub Kicinski To: Maxime Chevallier Cc: davem@davemloft.net, Rob Herring , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Luka Perkov , Robert Marko Subject: Re: [PATCH net-next v2 2/5] net: dsa: add out-of-band tagging protocol Message-ID: <20220517135836.4455e77b@kernel.org> In-Reply-To: <20220517085355.4fab54b3@pc-20.home> References: <20220514150656.122108-1-maxime.chevallier@bootlin.com> <20220514150656.122108-3-maxime.chevallier@bootlin.com> <20220516122048.70e238a2@kernel.org> <20220517085355.4fab54b3@pc-20.home> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Tue, 17 May 2022 08:53:55 +0200 Maxime Chevallier wrote: > > This must had been asked on v1 but there's no trace of it in the > > current submission afaict... > > No you're correct, this wasn't explained. > > > If the tag is passed in the descriptor how is this not a pure > > switchdev driver? The explanation must be preserved somehow. > > The main reason is that although the MAC and switch are rightly coupled > on that platform, the switch is actually a QC8K that can live on it's > own, as an external switch. Here, it's just a slightly modified version > of this IP. > > The same goes for the MAC IP, but so far we don't support any other > platform that have the MAC as a standalone controller. As far as we can > tell, platforms that have this MAC also include a QCA8K, but the > datasheet also mentions other modes (like outputing RGMII). Got it, thanks! Please weave this justification more explicitly into the cover letter. > Is this valid to have it as a standalone ethernet driver in that > situation ? Quite possibly.. I won't pretend I've looked at the code, I defer to the reviewers :)