Re: Fwd: disable_irq in ndo_poll_controller

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

 



Hi!

On 15:47 Thu 03 Sep     , JiSheng Zhang wrote:
> ---------- Forwarded message ----------
> From: JiSheng Zhang <jszhang3@xxxxxxxxx>
> Date: 2009/9/3
> Subject: disable_irq in ndo_poll_controller
> To: netdev@xxxxxxxxxxxxxxx
> 
> 
> Hi list,
> 
> I found that there are three disable irq method in nicard drivers
> ndo_poll_controller implementation :
> 1.disable_irq

disable interrupts, crash if they are already disabled

> 2.loacle_irq_save

disable interrupts, do not crash if they are already disabled

> 3.program nicard's register

My guess without knowing or having looked at the driver is that it might
tell the device to stop sending interrupts. Instead the device may be polled
if there is work to do. This reduces the load if the device would otherwise
send lots of interrupts.

	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux