Subject: Re: Deliver skbs to intermediate interfaces, when using cascaded rx-handlers

From: Tobias Waldekranz <[email-masked]>
Date: Fri, 21 Feb 2014 13:02:44 +0100

On Fri, Feb 21, 2014 at 12:37:53PM +0100, Jiri Pirko wrote:
> Fri, Feb 21, 2014 at 12:12:57PM CET, [email-masked] 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