linux/drivers/net/ethernet/brocade/bna
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
..
bfa_cee.c bna: Formatting and Code Cleanup 2011-09-15 15:36:33 -04:00
bfa_cee.h
bfa_cs.h
bfa_defs_cna.h bna: PLL Init Fix and Add Stats Attributes 2011-09-29 19:36:35 -04:00
bfa_defs_mfg_comm.h bna: Capability Map and MFG Block Changes for New HW 2011-09-29 19:36:34 -04:00
bfa_defs_status.h
bfa_defs.h bna: Brocade 1860 HW Enablement 2011-09-29 19:36:35 -04:00
bfa_ioc_ct.c bna: PLL Init Fix and Add Stats Attributes 2011-09-29 19:36:35 -04:00
bfa_ioc.c bna: PLL Init Fix and Add Stats Attributes 2011-09-29 19:36:35 -04:00
bfa_ioc.h bna: PLL Init Fix and Add Stats Attributes 2011-09-29 19:36:35 -04:00
bfa_msgq.c bna: off by one in bfa_msgq_rspq_pi_update() 2011-08-26 12:55:18 -04:00
bfa_msgq.h
bfi_cna.h
bfi_enet.h bna: Introduce ENET as New Driver and FW Interface 2011-08-11 07:30:12 -07:00
bfi_reg.h
bfi.h bna: PLL Init Fix and Add Stats Attributes 2011-09-29 19:36:35 -04:00
bna_enet.c bna: Async Mode Tx Rx Init Fix 2011-09-15 15:36:33 -04:00
bna_hw_defs.h bna: Brocade 1860 HW Enablement 2011-09-29 19:36:35 -04:00
bna_tx_rx.c bna: Add Callback to Fix RXQ Stop 2011-09-29 19:36:36 -04:00
bna_types.h bna: Add Callback to Fix RXQ Stop 2011-09-29 19:36:36 -04:00
bna.h bna: make function tables cont 2011-09-16 19:20:20 -04:00
bnad_ethtool.c bna: Set Ring Param Fix 2011-09-17 00:47:57 -04:00
bnad.c bna: Add Callback to Fix RXQ Stop 2011-09-29 19:36:36 -04:00
bnad.h bna: Add Callback to Fix RXQ Stop 2011-09-29 19:36:36 -04:00
cna_fwimg.c bna: Implement FW Download for New HW 2011-09-29 19:36:35 -04:00
cna.h bna: Implement FW Download for New HW 2011-09-29 19:36:35 -04:00
Kconfig
Makefile bna: ENET and Tx Rx Redesign Enablement 2011-08-11 07:30:13 -07:00