]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: don't rearm interrupts if busy polling
authorBert Kenward <bkenward@solarflare.com>
Mon, 6 Feb 2017 16:50:55 +0000 (16:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2017 16:59:36 +0000 (11:59 -0500)
commit9fc78307623188bc9f22bac14da9ea5a9c591e6b
treecc445d4d83b850d5a8860ca2a36bb5138d1f86a0
parent38a4f0fc8d3a4d8059bbf5d7d1b23d8af3ff9d64
sfc: don't rearm interrupts if busy polling

Since commit a2d83d5bd53b ("net: busy-poll: return busypolling status
to drivers"), napi_complete_done() returns a boolean that can be used
by drivers to conditionally rearm interrupts.

Testing with a 7142 shows a small latency improvement of ~100 ns.

Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx.c