Subject: Re: [PATCH net 1/5] ibmvnic: harden interrupt handler

From: Stephen Hemminger <[email-masked]>
Date: Thu, 26 Jan 2017 10:28:02 -0800

On Wed, 25 Jan 2017 15:02:19 -0600
Thomas Falcon <[email-masked]> wrote:

>  static irqreturn_t ibmvnic_interrupt(int irq, void *instance)
>  {
>  	struct ibmvnic_adapter *adapter = instance;
> +	unsigned long flags;
> +
> +	spin_lock_irqsave(&adapter->crq.lock, flags);
> +	vio_disable_interrupts(adapter->vdev);
> +	tasklet_schedule(&adapter->tasklet);
> +	spin_unlock_irqrestore(&adapter->crq.lock, flags);
> +	return IRQ_HANDLED;
> +}
> +

Why not use NAPI? rather than a tasklet