[Click] No carrier e1000 + linux ToDevice element

Jason Park jason at geninetworks.com
Mon Feb 5 22:05:14 EST 2007


Hi Eddie

It works fine.
I'm glad to it's fixed.

But I got a slightly different problem after update to current version of
click.
Actually I'm using linux-2.6.16.22 with linux-2.6.13.2 click patch.
Although linux-2.6.16.22 doesn't have netif_tx_lock function, click
configure made config-linuxmodule.h with 
'#define HAVE_NETIF_TX_LOCK 1'.

For the test, I built a linuxmodule with manually fixed
config-linuxmodule.h.

Jason Park.

-----Original Message-----
From: Eddie Kohler [mailto:kohler at cs.ucla.edu] 
Sent: Tuesday, February 06, 2007 6:45 AM
To: Jason Park
Cc: 'Click list'
Subject: Re: [Click] No carrier e1000 + linux ToDevice element

Hi Jason,

Thanks so much for this patch.  I'm just processing it, and have attached
the 
version I've applied, which is slightly different.  Does it also work for
you? 
  Hope so.

Eddie


Jason Park wrote:
> Hi again.
> 
> For me linuxmodule ToDevice element use 100% of cpu usage when no-carrier
> situation.
> Before configure click, make interface up & no-carrier, then configure
click
> and then it happened.
> 
> I am using e1000 driver in e1000-5.x (polling patched).
> And here is my click config.
> 
> FromDevice(eth3)
>  -> Queue
>  -> Strip(14)
>  -> EtherEncap(0x0800, 00:90:FB:03:37:B6, 00:15:F2:57:27:01)
>  -> Counter
>  -> ToDevice(eth3)
> 
> Patch attached as file.
> I'll be pleased, if attached patch assist in project.
> 
> Jason Park.



More information about the click mailing list