diff options
author | Jing Huang <huangj@Brocade.COM> | 2012-04-04 05:43:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-04 18:19:17 -0400 |
commit | 01b54b1451853593739816a392485c4e2bee7dda (patch) | |
tree | 5b9d69d6da18ee0dc770f48e01e9139530743534 /scripts/headerdep.pl | |
parent | f96c1d24be47afcdc6376b03fe8f44a5250a202b (diff) | |
download | linux-01b54b1451853593739816a392485c4e2bee7dda.tar.gz linux-01b54b1451853593739816a392485c4e2bee7dda.tar.bz2 linux-01b54b1451853593739816a392485c4e2bee7dda.zip |
bna: tx rx cleanup fix
This patch removes busy wait in tx/rx cleanup. bnad_cb_tx_cleanup() and
bnad_cb_rx_cleanup() functions are called from irq context, and currently
they do busy wait for the in-flight transmit or the currently executing napi
polling routine to complete. To fix the issue, we create a workqueue to defer
tx & rx cleanup processing, an in the tx rx cleanup handler, we will
wait respective in flight processing to complete, before freeing the buffers.
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/headerdep.pl')
0 files changed, 0 insertions, 0 deletions