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

Ben Greear (greearb@candelatech.com)
Sun, 15 Sep 2002 13:40:35 -0700


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@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear

- 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/