lkml.org 
[lkml]   [2003]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Switching packets from netif_rx()
Madhavi wrote:
> The setup is -
>
> +-----------+ +------------+ +------+
> | Streamer |-----------| Switch |----------| Host |
> +-----------+ +------------+ +------+
>
> The switching functionality is implemented in function netif_rx(). Based
> on the list of outgoing interfaces, I am doing the following things.
>
> * Cloning the packets.
> * Obtaining outgoing device from outgoing interface index.
> * Calling dev_queue_xmit() to send the packet on outgoing device.


As a tangent, this is pretty much what CONFIG_NET_FASTROUTE does...

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.038 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site