Rasesh Mody 5bcf6ac036 bna: Add Callback to Fix RXQ Stop
Change details:
 - Add a callback in the BNA, which is called before sending FW command to stop
   RxQs. After this callback is called, driver should not post anymore Rx
   buffers to the RxQ. This addresses a small window where driver posts Rx
   buffers while FW is stopping/has stopped the RxQ.
 - Registering callback function, rx_stall_cbfn, during bna_rx_create.
   Invoking callback function, rx_stall_cbfn, before sending rx_cfg_clr
   command to FW
 - Bnad_cb_rx_stall implementation - set a flag in the Rxq to mark buffer
   posting disabled state. While posting buffers check for the above flag.

Signed-off-by: Gurunatha Karaje <gkaraje@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-29 19:36:36 -04:00
..
2011-09-15 15:49:08 -04:00
2011-09-21 15:31:35 -04:00
2011-09-29 19:36:36 -04:00
2011-09-15 15:49:08 -04:00
2011-09-27 00:47:00 -04:00
2011-09-21 15:31:35 -04:00
2011-09-27 00:49:59 -04:00
2011-09-23 14:23:59 -04:00
2011-09-15 15:49:08 -04:00
2011-09-22 11:35:26 +02:00
2011-09-23 13:45:47 -04:00
2011-09-22 16:04:15 -04:00
2011-09-15 15:49:08 -04:00
2011-09-15 15:49:08 -04:00
2011-09-15 15:34:59 -04:00
2011-09-15 15:49:08 -04:00