]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: avoid rearming the interrupts when in busy poll
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 8 Mar 2017 16:57:06 +0000 (08:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Mar 2017 00:39:58 +0000 (16:39 -0800)
commitc833e93d6b312f7420cbf02cf550ba741b19292a
treebf998c61012f35bcce0cad0372489bfa500a9ef9
parenta99856e2863f849e92e892b10b0c6421f93ce5a2
nfp: avoid rearming the interrupts when in busy poll

Make use of return code from napi_complete_done() to avoid rearming
interrupts when busy polling is on.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c