sfc: Add support for busy polling
authorAlexandre Rames <arames@solarflare.com>
Tue, 22 Jul 2014 13:03:25 +0000 (14:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2014 02:55:20 +0000 (19:55 -0700)
This patch adds the sfc driver code for implementing busy polling.
It adds ndo_busy_poll method and locking between it and napi poll.
It also adds each napi to the napi_hash right after netif_napi_add().

Uses efx_start_eventq and efx_stop_eventq in the self tests.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found