linux-hardened/drivers/net/ethernet/brocade/bna
Rasesh Mody 2be6714422 bna: Interrupt Polling and NAPI Init Changes
Change details:
 - Remove unnecessary ccb check from bnad_poll_cq
 - Add bnad pointer to rx_ctrl structure, so that bnad can be accessed directly
   from rx_ctrl in the NAPI poll routines, even if ccb is NULL
 - Validate ccb before referencing to it in bnad_msix_rx and bnad_napi_poll_rx
 - Fix the order of NAPI init / uninit in Tx / Rx setup / teardown path:
   a. Kill bnad tx free tasklet ahead of call to bna_tx_destroy()
   b. Call NAPI disable only after call to Rx free_irq(). This makes sure Rx
      interrupt does not schedule a poll when NAPI is already disabled
 - NAPI poll runs before the h/w has completed configuration. This causes a
   crash. Delay enabling NAPI till after bna_rx_enable(). Split NAPI
   initialization into 2 steps, bnad_napi_init() & bnad_napi_enable().

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-15 15:36:33 -04:00
..
bfa_cee.c bna: Remove Unused Code 2011-08-11 07:30:13 -07:00
bfa_cee.h bna: Move the Brocade driver 2011-08-11 02:41:14 -07:00
bfa_cs.h bna: Move the Brocade driver 2011-08-11 02:41:14 -07:00
bfa_defs.h bna: Naming Change and Minor Macro Fix 2011-09-15 15:36:32 -04:00
bfa_defs_cna.h bna: Move the Brocade driver 2011-08-11 02:41:14 -07:00
bfa_defs_mfg_comm.h bna: Remove Unused Code 2011-08-11 07:30:13 -07:00
bfa_defs_status.h bna: Move the Brocade driver 2011-08-11 02:41:14 -07:00
bfa_ioc.c bna: ENET and Tx Rx Redesign Enablement 2011-08-11 07:30:13 -07:00
bfa_ioc.h bna: Naming Change and Minor Macro Fix 2011-09-15 15:36:32 -04:00
bfa_ioc_ct.c bna: ENET and Tx Rx Redesign Enablement 2011-08-11 07:30:13 -07: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 bna: MSGQ Implementation 2011-08-11 07:30:12 -07:00
bfi.h bna: Remove Unused Code 2011-08-11 07:30:13 -07:00
bfi_cna.h bna: Move the Brocade driver 2011-08-11 02:41:14 -07:00
bfi_enet.h bna: Introduce ENET as New Driver and FW Interface 2011-08-11 07:30:12 -07:00
bfi_reg.h bna: Move the Brocade driver 2011-08-11 02:41:14 -07:00
bna.h bna: Remove Obsolete Files 2011-08-11 07:30:13 -07:00
bna_enet.c bna: Introduce ENET as New Driver and FW Interface 2011-08-11 07:30:12 -07:00
bna_hw_defs.h bna: Add New HW Defs 2011-08-11 07:30:13 -07:00
bna_tx_rx.c bna: Tx and Rx Redesign 2011-08-11 07:30:13 -07:00
bna_types.h bna: Remove Unused Code 2011-08-11 07:30:13 -07:00
bnad.c bna: Interrupt Polling and NAPI Init Changes 2011-09-15 15:36:33 -04:00
bnad.h bna: Interrupt Polling and NAPI Init Changes 2011-09-15 15:36:33 -04:00
bnad_ethtool.c bna: ENET and Tx Rx Redesign Enablement 2011-08-11 07:30:13 -07:00
cna.h bna: ENET and Tx Rx Redesign Enablement 2011-08-11 07:30:13 -07:00
cna_fwimg.c bna: Move the Brocade driver 2011-08-11 02:41:14 -07:00
Kconfig bna: Move the Brocade driver 2011-08-11 02:41:14 -07:00
Makefile bna: ENET and Tx Rx Redesign Enablement 2011-08-11 07:30:13 -07:00