Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp864015pxk; Thu, 1 Oct 2020 16:12:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2iu6g3SScWpGhbzp1dYvDTojXvdNDnwnudEGoa4T/6QL5nMxh53ofekvDVJsTzEZZrouz X-Received: by 2002:a17:906:9588:: with SMTP id r8mr10498254ejx.389.1601593932637; Thu, 01 Oct 2020 16:12:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601593932; cv=none; d=google.com; s=arc-20160816; b=k/UDEypYDlKdpk/S7/mNBycVAyfm25IA1byAqQ/wumd82xKff/yV+MljZOp0gKCv/q i0kfF1fDaF//JCAmVnWFJPINrgezPyccp7uuCCO3lsN0NPPIWMXvj+bODgm3548J5s6l yTLex/MStB/oRbfWxw/0JnmfgAkljZY0AwY4sYn/0dci/lTV8/h3zT+MIASZxJIMO1yl oOkwTllsESYVadJQBw8cO1PnmTyX+JTOLoJ/blohMVAyWNd7cJe6mv580ChVI9/DoPz5 w5CH5E3aYs43DxQWx23O4Mz5Z7dDqOMe37rceoUylQHKC4VrU5/WWlNUQMeFTpL+M76L S3RQ== 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=L5tiEonYLv4I2VRT3hQ9decKmn3NVtIcb+ARO1x7ydk=; b=U8XZwGZ9FhETx7HFX4viIuS7xfd9C66iRmsB56kyZ7Osv7/D2zP0fo9eR5VHos30Hx 6AvicPMOXJ28Juii4N1ROCIH7x/lwDRK9V70FpRhmDI/l2wPc2qmFPBY8CGs2qXiBaM7 aJrszchnyuelW1Pl4+5yVxJMJD3uobea4fX603NSp8k1u4DMfQHdUBWy1J0fS5SzRtMN 8da+XBqaTmEA1kqDO80iPuy3mTdPbVBHHm0OTcuFYGm18W6XINpTTMTF0Eh73dZNxBMB t5nL/lNyQ9H3Ys4r7TzS8Mixw/FmM6c2TvlUSc4KBybKYaUltzSdJU5LlM+lhc0StC4R pazA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LWDUtYey; 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 dn22si5391153edb.516.2020.10.01.16.11.48; Thu, 01 Oct 2020 16:12:12 -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=LWDUtYey; 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 S1733194AbgJAXIu (ORCPT + 99 others); Thu, 1 Oct 2020 19:08:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:47858 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726855AbgJAXIu (ORCPT ); Thu, 1 Oct 2020 19:08:50 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (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 66614206C1; Thu, 1 Oct 2020 23:08:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601593729; bh=1pHyViCMyAZxq87rCmC1bar3F/2pIh4QAMMvqHsnUKQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LWDUtYeyci9YaoO3gdAvHlGQASG3nkDIiT5jX+1fvTjK2xrRoUCL56dsBd4y/isBG zXiJ0SIStTCb5k3ShcZ2ZdOzDIBO8AcBHb9rTFgFYZBGVxHpf4M5bN1f+p/fITMaAr 7pA3q5z0m0utH4fwR7OQ1+bypUftgOjKPasq7O0c= Date: Thu, 1 Oct 2020 16:08:47 -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: <20201001160847.3b5d91f1@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201001105258.2139-1-grygorii.strashko@ti.com> References: <20201001105258.2139-1-grygorii.strashko@ti.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 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?