diff options
author | Govindarajulu Varadarajan <_govind@gmx.com> | 2015-07-01 10:51:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-02 21:10:20 +0200 |
commit | 25c14ef86a0d5ec9320e833685c15bc96f504864 (patch) | |
tree | 7ffd199a89cf4613f7af1d6a114e5f8833a7d640 /drivers/net/ethernet/tehuti/tehuti.c | |
parent | Merge tag 'module-misc-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-25c14ef86a0d5ec9320e833685c15bc96f504864.tar.xz linux-25c14ef86a0d5ec9320e833685c15bc96f504864.zip |
enic: fix issues in enic_poll
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@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/tehuti/tehuti.c')
0 files changed, 0 insertions, 0 deletions