From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Graf Subject: Re: [patch net-next RFC 0/4] introduce infrastructure for support of switch chip datapath Date: Thu, 27 Mar 2014 23:42:38 +0000 Message-ID: <20140327234238.GD13573@casper.infradead.org> References: <53334BDA.1060608@mojatatu.com> <20140327065616.GA2845@minipsycho.orion> <20140327165550.GN2845@minipsycho.orion> <53349C6C.6050506@mojatatu.com> <53349F5C.8090205@mojatatu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Florian Fainelli , Sergey Ryazanov , Jiri Pirko , Roopa Prabhu , Neil Horman , netdev , David Miller , Andy Gospodarek , dborkman , ogerlitz , jesse , pshelar , azhou , Ben Hutchings , Stephen Hemminger , jeffrey.t.kirsher@intel.com, vyasevic , Cong Wang , John Fastabend , Eric Dumazet , Scott Feldman , Lennert Buytenhek , Shrijeet Mukherjee , Felix Fietkau Return-path: Received: from casper.infradead.org ([85.118.1.10]:56204 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756835AbaC0Xmo (ORCPT ); Thu, 27 Mar 2014 19:42:44 -0400 Content-Disposition: inline In-Reply-To: <53349F5C.8090205@mojatatu.com> Sender: netdev-owner@vger.kernel.org List-ID: On 03/27/14 at 05:59pm, Jamal Hadi Salim wrote: > On 03/27/14 17:54, Florian Fainelli wrote: > >2014-03-27 14:47 GMT-07:00 Jamal Hadi Salim : > > >I think it is. There is nothing in-tree that actually uses that > >feature (switch chaining), but all the infrastructure is there to: > > > >- represent links between switches, which one is cascaded from which > >one and get a sense of their addressing within the switch tree > >- a function call to get that cascading table to programmed to each switch > >- get all relevant "uplink/downlink" switch ports to be configured appropriately > > > > Sounds like we have a winner on this aspect at least. > Is it a common setup to have such cascading though - or is this some > overzelous way of solving cascading switches within a LAN? If the DSA code can be refactored, even better. Any issues with bumping these Florian? #define DSA_MAX_SWITCHES 4 #define DSA_MAX_PORTS 12