be2net: add support for ndo_busy_poll
authorSathya Perla <sathya.perla@emulex.com>
Fri, 25 Oct 2013 05:10:16 +0000 (10:40 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Oct 2013 21:05:23 +0000 (17:05 -0400)
Includes:
- ndo_busy_poll implementation
- Locking between napi and busy_poll
- Fix rx_post_starvation (replenish rx-queues in out-of-mememory scenario)
  logic to accomodate busy_poll.

v2 changes:
[Eric D.'s comment] call alloc_pages() with GFP_ATOMIC even in ndo_busy_poll
context as it is not allowed to sleep.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found