netdev
[Top] [All Lists]

Re: [PATCH] Enable sending network traffic to local machine over extern

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: [PATCH] Enable sending network traffic to local machine over external interfaces.
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Sun, 15 Sep 2002 13:40:35 -0700
Cc: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>
Organization: Candela Technologies
References: <Pine.GSO.4.30.0209151616280.22001-100000@shell.cyberus.ca>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722
jamal wrote:
What bad stuff are you smoking lately? Trying to turn linux into a traffic
generator OS? ;-> Havent you been accused of that already?
Actually, this is probably one of the few times i agree with you because i
may have use for this; i dont think the maintainers may. Infact i think
you are just about to be shot.
How about putting ifdefs so that the code only gets activated if
packetgen is active?

cheers,
jamal


Pktgen is independent of this particular hack. One of the flag #defines is in the patch to make my life easier, but it can be removed if that makes someone happier...

Right now, I am getting panics after 30 minutes running at around 250Mbps of 
tcp traffic to
myself over GigE nics.  But, I'm running NAPI e1000, the send-to-self hack, and
had the pktgen module loaded....  Trying to narrow it down...but so far, it 
looks
like memory corruption, perhaps somewhere in tcp/ip...

It can still be #ifdef'd, but some of the code just fixes the SO_BINDTODEVICE
feature, so I think that may be worth putting in anyway...

Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear



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