From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75911C63777 for ; Mon, 30 Nov 2020 15:51:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2873B205F4 for ; Mon, 30 Nov 2020 15:51:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727599AbgK3Pvi (ORCPT ); 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7BFEC63777 for ; Mon, 30 Nov 2020 15:52:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 31A05205F4 for ; Mon, 30 Nov 2020 15:52:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="b+NrNEQY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 31A05205F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=c1ZGLAmQ9M29DHmpjYFr5JmUwniBoqLhcwZzi2s/CFo=; b=b+NrNEQYbn2q6ZCG2UMzZDP5Y 8A8wHByHrwCbR+jhQqmUSuAR7WHNZe6PfmoFuQrvM51emYSVX0PFORUH14WVrHsduDZkhXfR6N55C oGDHw/oKkxLQqUZmvZ+HURZf0id9l7s1yqgi9bdwf4L0NiFqQ14dkXi0lLmRiWwAdwCkOzhoElP06 aU1VP9/bbpreoAPk1anaOwMalzYO/VSW3xpzg+nxRy6Hwn/HKh5PMgcAZxh9RWZy7tFN4A1LlI+87 ZHy2f2GA8oOcdrWCbUHie73Cw5CT7oaAscqk2FM5qdmkKkHrv06P9GFF35mlwldMkxwAqI81/pqej RtPC1lxWw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjlSH-0003zw-F9; Mon, 30 Nov 2020 15:51:09 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjlSA-0003yK-1U for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2020 15:51:06 +0000 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 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-Disposition: inline In-Reply-To: <20201130082046.16292-2-vigneshr@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201130_105102_157839_75E610F4 X-CRM114-Status: GOOD ( 11.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Grygorii Strashko , Jonathan Corbet , netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Pirko , Jakub Kicinski , "David S . Miller" , Linux ARM Mailing List Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel