Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1667636pxk; Fri, 2 Oct 2020 16:07:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyazH0Qi263dTMB8dPPRTRjlJMxR1UXw0WE6rCOxZesRk4d4a5FEFV3hlOiC+dxUN7dptXn X-Received: by 2002:a17:906:9156:: with SMTP id y22mr4211585ejw.184.1601680068104; Fri, 02 Oct 2020 16:07:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601680068; cv=none; d=google.com; s=arc-20160816; b=c0GEqiw+in3y9SwD8Dga+03AItRPLZLSF8MXtQ95x4Uq6bRjAjL217z1GoCSfK7pkP nu1rZF6YxzGGB9q6/g5byDuNJ5u+nj3o/qdzOLdBb5brInDBM3EYrTUD2RPovZ6p3bIR ylOnPRfTyc5lPHVPIFZhlhbILcggdNgFe3Ye7dMt5DITRklPNpE/26N/84mnxkB6MgNo GrjuGJHTgwU9r3IzFOgUkCqsjKn7684SF9OBtb1I9AC13IEI4QEgCiJS+yjvVh9AsO+T jyGNy9QTdY+YWyJOE9rICI0TIxxx/9rxSpKPEaL+sCqYprMtuukZMcQN9Zpj7tEttN73 qJwA== 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=c2Z/BJ4O6XUL0RL4VNw1gMLCrvHk+DtQNyIuD++K9Mo=; b=nRvvBqrBHyDGLUcZ974AEKXuOpTl1auTBoPy4t7GoNPufPe5nvkQSFAyiEbwpmSxHQ VeOVVOOi5wKPolO/gCGfGvc5/T68D9OiGDgpshOPRQiOFJcMgm4JgYsTlQD2ZL9H11M9 PH7ackzcx/ys66tlwmdusmG+x0+KwZQUQpUL6J7bTxpMNCEDBrpLHS9rx768BYFwoHe/ XEOrGy7GMFvCJIM/4O07LKuic4xmCK7a6FYKX1gUtARWYp8LWX3ufaMkVGKu5srNzov0 hBJd5nUpOkgfFMZoNj/UbVV7tC5tBCsJl+fu8rJwop83tG0/VvaYQ1c8IW9pDOmGoq9s HElw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pI6NnxXw; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si2116523ejh.727.2020.10.02.16.07.26; Fri, 02 Oct 2020 16:07: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=@kernel.org header.s=default header.b=pI6NnxXw; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725782AbgJBXEX (ORCPT + 99 others); Fri, 2 Oct 2020 19:04:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:51004 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725283AbgJBXEX (ORCPT ); Fri, 2 Oct 2020 19:04:23 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DD2962074B; Fri, 2 Oct 2020 23:04:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601679863; bh=wchb8rjkjVP2Ub7v/OSfMn7lefDi7YZt+nvLk2nYH00=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pI6NnxXw1oRnzkARPkW+Iuzz5ssenhrH1yGwxuWEh/O+qzcgmVmMFPd0BuH04aNvr dU7/qV+Jz+XooMWD4xZZKZn+VdNiwm87h0xhZf4G7RlyIVf09xUkwxFQB5Nx/K0w2f ifQzgeqvSFWfsrzgiNIfnR5VpJc8zOs/pmz1hb5w= Date: Fri, 2 Oct 2020 16:04:21 -0700 From: Jakub Kicinski To: Grygorii Strashko Cc: "David S. Miller" , , Vignesh Raghavendra , Sekhar Nori , , , Murali Karicheri Subject: Re: [PATCH net-next 0/8] net: ethernet: ti: am65-cpsw: add multi port support in mac-only mode Message-ID: <20201002160421.59363229@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: References: <20201001105258.2139-1-grygorii.strashko@ti.com> <20201001160847.3b5d91f1@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2 Oct 2020 12:56:43 +0300 Grygorii Strashko wrote: > On 02/10/2020 02:08, Jakub Kicinski wrote: > > On Thu, 1 Oct 2020 13:52:50 +0300 Grygorii Strashko wrote: > >> This series adds multi-port support in mac-only mode (multi MAC mode) to TI > >> AM65x CPSW driver in preparation for enabling support for multi-port devices, > >> like Main CPSW0 on K3 J721E SoC or future CPSW3g on K3 AM64x SoC. > >> > >> The multi MAC mode is implemented by configuring every enabled port in "mac-only" > >> mode (all ingress packets are sent only to the Host port and egress packets > >> directed to target Ext. Port) and creating separate net_device for > >> every enabled Ext. port. > > > > Do I get it right that you select the mode based on platform? Can the > > other mode still be supported on these platforms? > > > > Is this a transition to normal DSA mode where ports always have netdevs? > > The idea here is to start in multi mac mode by default, as we still > have pretty high demand for this. Then, and we are working on it, the > switchdev mode is going to be introduces (not DSA). The switch > between modes will happen by using devlink option - the approach is > similar to what was used for Sitara CPSW cpsw_new.c driver [1]. What's unclear from the patches is whether the default configuration for already supported platforms will change? All the patches sound like they are "in preparation for support of K3 J721E" etc. So this is just code restructuring with no user-visible changes?