From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamal Hadi Salim Subject: Re: [patch net-next RFC 0/4] introduce infrastructure for support of switch chip datapath Date: Thu, 27 Mar 2014 17:47:24 -0400 Message-ID: <53349C6C.6050506@mojatatu.com> References: <53330639.8050403@cumulusnetworks.com> <20140326165934.GH2869@minipsycho.orion> <20140326173536.GJ2869@minipsycho.orion> <20140326181436.GL2869@minipsycho.orion> <53334BDA.1060608@mojatatu.com> <20140327065616.GA2845@minipsycho.orion> <20140327165550.GN2845@minipsycho.orion> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Jiri Pirko , Roopa Prabhu , Neil Horman , Thomas Graf , 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 To: Florian Fainelli , Sergey Ryazanov Return-path: Received: from mail-oa0-f48.google.com ([209.85.219.48]:44617 "EHLO mail-oa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755441AbaC0Vr2 (ORCPT ); Thu, 27 Mar 2014 17:47:28 -0400 Received: by mail-oa0-f48.google.com with SMTP id m1so5081271oag.21 for ; Thu, 27 Mar 2014 14:47:27 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 03/27/14 16:01, Florian Fainelli wrote: > 2014-03-27 12:58 GMT-07:00 Sergey Ryazanov : >> 2014-03-27 20:55 GMT+04:00 Jiri Pirko : >> Moreover, we need to know ports of switch chip, what are really wired >> to the connectors (e.g. five-port switch on the board with only three >> connectors). > > Well, DSA already does all of that for you and has Device Tree > bindings too to instantiate per-port net_device, create the switch > routing table in case switches are cascaded... > Just to be clear: routing here implies how the devices are interconnected (as opposed to L3 packet processing). Is that generic enough to be usable for different vendors or only specific to marvel? cheers, jamal