bna: Fix for TX queue
authorRasesh Mody <rmody@brocade.com>
Thu, 23 Dec 2010 21:45:05 +0000 (21:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Dec 2010 03:16:01 +0000 (19:16 -0800)
commitf7c0fa4cd5dcf58dd95b216d2c33444a3b4a44e0
tree5836683f415a5806ffccfbb16bac2ede9980587d
parent886f7fedb0cee56acca7620d89186669273d3d56
bna: Fix for TX queue

Change Details:
- Call netif_wake_queue() if we have freed up sufficient elements
at the end of completion processing
- Add netif_queue_stopped counter back to bnad_drv_stats {}
- Get netif_queue_stopped value from stack
- Remove BUG_ON() on value returned by pci_unmap_addr()

Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bna/bnad.c
drivers/net/bna/bnad.h
drivers/net/bna/bnad_ethtool.c