Messages in this thread | | | Date | Wed, 19 Nov 2003 09:10:12 -0500 | From | Jeff Garzik <> | Subject | Re: 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/
| |