[Top] [All Lists]

Re: RFC: Redirect-Device

To: hadi@xxxxxxxxxx
Subject: Re: RFC: Redirect-Device
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 15:56:28 -0800
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev <netdev@xxxxxxxxxxx>
In-reply-to: <1112311618.1090.20.camel@xxxxxxxxxxxxxxxx>
Organization: Candela Technologies
References: <424C6089.1080507@xxxxxxxxxxxxxxx> <1112303627.1073.71.camel@xxxxxxxxxxxxxxxx> <424C6B10.6030200@xxxxxxxxxxxxxxx> <1112306031.1073.109.camel@xxxxxxxxxxxxxxxx> <424C7813.4000101@xxxxxxxxxxxxxxx> <20050331143531.30f4eb8f.davem@xxxxxxxxxxxxx> <424C7F96.4070002@xxxxxxxxxxxxxxx> <1112311618.1090.20.camel@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041020
jamal wrote:
On Thu, 2005-03-31 at 17:54, Ben Greear wrote:

No.  I can't imagine a way to make it work with my application.

I think you are more comfortable with using netdevices and ioctls and

Definately.  Ever tried to sniff a socket with ethereal? :)

Why dont we try to help you so you migrate from the approach you are
currently taking?

Our approaches to the problem are fundamentally different.  I choose
virtual net devices because all my user-space and GUI code that deals
with ethernet & .1q interfaces works with virtual devices.  AND, my
kernel module that can bridge at 990Mbps+ in both directions on a
couple of GigE interfaces also works with any ethernet-like net-device.
(Using raw sockets in user-space I cannot achieve this high of a performance.)

I can also stack virtual devices on other devices (.1q on re-direct devices,
for example).  You may very well be able to do all of these things with
tc, but it would not be worth my time to try to figure out how to change my
entire application over to support a new interface that *might* do what I
need when I can easily add a new virtual net-device that I have already proved
does what I need.

So, I'm not claiming that my code does what you want better than your
code, but I am quite certain that my code does what *I* want better
than your code.


Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc

<Prev in Thread] Current Thread [Next in Thread>