NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/34507: bge(4) doesn't contribute to the rnd pool



On Sun, Feb 24, 2008 at 01:50:02PM +0000, Christoph Badura wrote:

>  I've looked at adding rnd(4) support for bge before.  I gave up because
>  determining if the interrupt routine was called because of a interrupt
>  from the device was expensive and, IIRC, not trivial without layering
>  violations.

If you allow for a little fuzz, that's not really a problem. You may
assume that the bge hardware caused the interrupt when packets are
received or transmitted.

However, depending on traffic and configuration, the interrupts are
actually polled at regular intervals. Not much entropy to be gained.


-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index