Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3667153pxu; Mon, 30 Nov 2020 07:54:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxygYHkAqLNpVjVF3e9yLlwESzTRETxnd9E8Ttb4/cY7LzV5CRHQyTQYFUXM4O5JP2EnIul X-Received: by 2002:a17:906:a40d:: with SMTP id l13mr1065862ejz.265.1606751685896; Mon, 30 Nov 2020 07:54:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606751685; cv=none; d=google.com; s=arc-20160816; b=Sstyi+QKVsaW7E01OPEcu+m9Ob6J4nTtXP297cQFybacd7vHp2K0rlW8dZEPxe18aQ FOsQFB4uuVcubSY+xwU3s13oU8c3h+uHieIOnLtpXHyYFVX8XhTr6nFBfpj2Ztd5B4Vx qZxn6vrtlOK/0JaoW2qkjanmZ2AnLKtSCaH5lCp5PCAfIv04u3JJchDwsCbiefQLRddx eSFFJVVN23//QZ5rF1sTg5EuJXjWFcSqGaet7FRXDOB3LDohM71pugHQD+YK9y8e103+ RqVp7t26INXkNWFAi9S+3YgndZ0n7TB0MliVaawp7UBQbwzxISqpOOStf0k05/vZJIDd Q4dw== 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; bh=fgsm8fmtEV5UVGDZhxOVCCpj7oN4rzKjQaD1j3D5Ci0=; b=zUnk86IkLNCDGfpFKEuzhEZ5DutZqBCbIp68shPDn0J9RQYthtXWjGUNVSU979c4Sq ikWv7cZdE6NMMY3AbTunh0/u/5DQZAOWZgjEW7TfJililhMExA1a6BGqqqKmyR9Vu5m9 /TT9h6Uscwt9Hq1xWW+oHM/XSm1e0f7dv8BbH831TddkJ3iuKSPL7ydpsU3HHU1ApB1V TyYhKTNttcSDNG6pTqqjZcBgBPFPpdIUA2eXxAxKbJAuBo4mBZw/gvm30/lS6biRdZ4T RWdbjQDp2o3tEvfDRQKLOxyn5rbvMbr2qJQ84DxXBFoR/2PDIYOTvnVm/8+3g8rDz3vA ucog== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si8607139edm.266.2020.11.30.07.54.21; Mon, 30 Nov 2020 07:54:45 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727476AbgK3Pvi (ORCPT + 99 others); Mon, 30 Nov 2020 10:51:38 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:57640 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726629AbgK3Pvh (ORCPT ); Mon, 30 Nov 2020 10:51:37 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kjlRs-009Wj6-SH; Mon, 30 Nov 2020 16:50:44 +0100 Date: Mon, 30 Nov 2020 16:50:44 +0100 From: Andrew Lunn To: Vignesh Raghavendra Cc: "David S . Miller" , Jakub Kicinski , Grygorii Strashko , Jonathan Corbet , Jiri Pirko , netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Linux ARM Mailing List Subject: Re: [PATCH 1/4] net: ti: am65-cpsw-nuss: Add devlink support Message-ID: <20201130155044.GE2073444@lunn.ch> References: <20201130082046.16292-1-vigneshr@ti.com> <20201130082046.16292-2-vigneshr@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201130082046.16292-2-vigneshr@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 30, 2020 at 01:50:43PM +0530, Vignesh Raghavendra wrote: > AM65 NUSS ethernet switch on K3 devices can be configured to work either > in independent mac mode where each port acts as independent network > interface (multi mac) or switch mode. > > Add devlink hooks to provide a way to switch b/w these modes. Hi Vignesh What is not clear is why you need this? Ports are independent anyway until you add them to a bridge when using switchdev. Andrew