linux patch, polling

Benjie Chen benjie at cag.lcs.mit.edu
Wed Feb 9 13:21:32 EST 2000


Hi all

FromDevice now works with the polling thread. The element gets scheduled just
as other elements. It contains a queue within itself to queue pkts when intr
occurs. When scheduled, it empties its queue into the click path.

This means we should at some point (soon) get rid of all the HAVE_POLLING
ifdevs. To do so, everyone will need to first grab the new patch, in the
etc directory under click cvs tree. This will allow you to compile PollDevice
and ToDevice, even though you don't need to use polling. ToDevice will detect
if the device it is using is under polling or not, and base on that 
information it will choose the right device driver calls to use.

Benjie

-- 
Benjie Chen
benjie at lcs.mit.edu



More information about the click mailing list