All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Madhavi <madhavis@sasken.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Switching packets from netif_rx()
Date: Wed, 19 Nov 2003 09:10:12 -0500	[thread overview]
Message-ID: <3FBB79C4.9090304@pobox.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0311191905580.2480-100000@pcz-madhavis.sasken.com>

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




      reply	other threads:[~2003-11-19 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-19 13:51 Switching packets from netif_rx() Madhavi
2003-11-19 14:10 ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FBB79C4.9090304@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=madhavis@sasken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.