cvs commit: src/sys/i386/i386 nexus.c src/sys/i386/include atomic.h src/sys/kern kern_poll.c lwkt_serialize.c src/sys/net if.c if_var.h rtsock.c src/sbin/ifconfig ifconfig.c src/sys/dev/netif/dc if_dc.c src/sys/dev/netif/em if_em.c if_em.h ...

Joerg Sonnenberger joerg at britannica.bec.de
Fri May 27 12:22:18 PDT 2005


On Fri, May 27, 2005 at 02:20:47PM +0100, Hiten Pandya wrote:
> 	Secondly, why not just check if ifp->if_poll is set and then
> 	mark the interface has having polling capability in the generic
> 	interface code? i.e. in net/if.c somewhere ?

Next patch attached based on our common ideas :) We can do some more
cleanup afterwards. I want to investigate the effect of using a normal
timer instead of hooking into hardclock, if it doesn't cost much we could
make polling support active by default. It wouldn't give any penalties
when not active beside some space.

Joerg





More information about the Commits mailing list