Gigabit eth card (was Re: Click Information

Marcelo Pias M.Pias at cs.ucl.ac.uk
Mon Mar 25 14:11:24 EST 2002


Hi Eddie,

     I'm planning my experiments... So, I'm looking at gigabit for eth
cards to buy. Do you know if any gigabit device driver for linux/freebsd
was modified to include polling? If not, how difficult would be to
modify a DD for a gigabit card? When looking at performance, it
seems that the 3Com 3C996 is the card to buy. Would you recommend
another card?

     Thanks. Marcelo

 On Wed, 6 Mar 2002, Eddie Kohler wrote:

> Hi Marcelo,
> 
> Sounds like Click might be a good fit for this!
> 
> >      I'm really keen to use the click architecture since last year
> > when Adam Greenhalgh suggested it to me. So, I'd be grateful
> > if you could answer a simple question... Is that possible to have a plain
> > C++ code executed in a Click router?  I'm asking this as some bits of
> > this 'mobile meter' would be implemented in C++ accessing packets from the
> > network using BPF or BPF+... From what I understood from the
> > Click documentation, I could capture these packets using the router
> > configuration language... But I'm not sure if it's possible to run
> > additional code without using such Click conf language...
> 
> There is no problem with this. The easier way is probably to encapsulate
> your code in an element. Elements run arbitrary C++ code; control passes to
> them in various ways. Check out the distribution. Several existing elements
> already access the network using BPF/BPF+, for example.
> 
> Eddie
> 

----------------------------------------------------------
www.cs.ucl.ac.uk/staff/m.pias/




More information about the click mailing list