From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: Deliver skbs to intermediate interfaces, when using cascaded rx-handlers Date: Fri, 21 Feb 2014 14:05:53 +0100 Message-ID: <20140221130553.GE2870@minipsycho.orion> References: <20140221100158.GA19594@gmail.com> <20140221102626.GC2870@minipsycho.orion> <20140221111257.GA25406@gmail.com> <20140221113753.GD2870@minipsycho.orion> <20140221120244.GB25406@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org To: Tobias Waldekranz Return-path: Received: from mail-ee0-f44.google.com ([74.125.83.44]:54315 "EHLO mail-ee0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932568AbaBUNF5 (ORCPT ); Fri, 21 Feb 2014 08:05:57 -0500 Received: by mail-ee0-f44.google.com with SMTP id c13so1587940eek.31 for ; Fri, 21 Feb 2014 05:05:56 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140221120244.GB25406@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: Fri, Feb 21, 2014 at 01:02:44PM CET, tobias@waldekranz.com wrote: >On Fri, Feb 21, 2014 at 12:37:53PM +0100, Jiri Pirko wrote: >> Fri, Feb 21, 2014 at 12:12:57PM CET, tobias@waldekranz.com wrote: >> >> What "switch driver" are you reffering to? >> >> >> > >> >The driver that is in charge of multiplexing packets from the switch >> >chip out to the port interfaces. It registers an rx-handler on eth0 >> >and forwards packets to port[1-4] by reading a custom tag (similar to >> >802.1Q) inserted by the switch. >> >> Allright, but what's the name? I would like to find it and see the code. > >There's not really a name :), but I have made the source available on github: > >https://github.com/wkz/switchcore Are you aware of existing DSA infrastructure? > >The relevant parts for this discussion should be in sc_main.c. > >> >> > >> >-- >> >Thanks >> > - wkz > >-- >Thanks > - wkz