From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Waldekranz Subject: Re: Deliver skbs to intermediate interfaces, when using cascaded rx-handlers Date: Fri, 21 Feb 2014 13:02:44 +0100 Message-ID: <20140221120244.GB25406@gmail.com> References: <20140221100158.GA19594@gmail.com> <20140221102626.GC2870@minipsycho.orion> <20140221111257.GA25406@gmail.com> <20140221113753.GD2870@minipsycho.orion> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org To: Jiri Pirko Return-path: Received: from mail-la0-f50.google.com ([209.85.215.50]:44275 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754117AbaBUMDI (ORCPT ); Fri, 21 Feb 2014 07:03:08 -0500 Received: by mail-la0-f50.google.com with SMTP id ec20so2216028lab.23 for ; Fri, 21 Feb 2014 04:03:07 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140221113753.GD2870@minipsycho.orion> Sender: netdev-owner@vger.kernel.org List-ID: 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 The relevant parts for this discussion should be in sc_main.c. > > > > >-- > >Thanks > > - wkz -- Thanks - wkz