[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150702.121042.1781111797127542915.davem@davemloft.net>
Date: Thu, 02 Jul 2015 12:10:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: _govind@....com
Cc: netdev@...r.kernel.org, ssujith@...co.com, benve@...co.com
Subject: Re: [PATCH net v2] enic: fix issues in enic_poll
From: Govindarajulu Varadarajan <_govind@....com>
Date: Wed, 1 Jul 2015 14:21:57 +0530
> In enic_poll, we clean tx and rx queues, when low latency busy socket polling
> is happening, enic_poll will only clean tx queue. After cleaning tx, it should
> return total budget for re-poll.
>
> There is a small window between vnic_intr_unmask() and enic_poll_unlock_napi().
> In this window if an irq occurs and napi is scheduled on different cpu, it tries
> to acquire enic_poll_lock_napi() and fails. Unlock napi_poll before unmasking
> the interrupt.
>
> v2:
> Do not change tx wonk done behaviour. Consider only rx work done for completing
> napi.
>
> Signed-off-by: Govindarajulu Varadarajan <_govind@....com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists