]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit6384a4d0dcf9e28f5aa5e0c8a7e58e7b4df19e68
tree6584af3f72681bd870b08fe1edeef32088d62027
parent4d961a101e032b4bf223b279b4b35bc77576f5a8
be2net: add support for ndo_busy_poll

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>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c