OpenCloudOS-Kernel/drivers/net/ethernet/chelsio/cxgb4
Vipul Pandya 3069ee9bc4 cxgb4: DB Drop Recovery for RDMA and LLD queues
recover LLD EQs for DB drop interrupts.  This includes adding a new
db_lock, a spin lock disabling BH too, used by the recovery thread and
the ring_tx_db() paths to allow db drop recovery.

Clean up initial DB avoidance code.

Add read_eq_indices() - this allows the LLD to use the PCIe mw to
efficiently read hw eq contexts.

Add cxgb4_sync_txq_pidx() - called by iw_cxgb4 to sync up the sw/hw
pidx value.

Add flush_eq_cache() and cxgb4_flush_eq_cache().  This allows iw_cxgb4
to flush the sge eq context cache before beginning db drop recovery.

Add module parameter, dbfoifo_int_thresh, to allow tuning the db
interrupt threshold value.

Add dbfifo_int_thresh to cxgb4_lld_info so iw_cxgb4 knows the threshold.

Add module parameter, dbfoifo_drain_delay, to allow tuning the amount
of time delay between DB FULL and EMPTY upcalls to iw_cxgb4.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-05-18 13:22:28 -07:00
..
Makefile chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
cxgb4.h cxgb4: DB Drop Recovery for RDMA and LLD queues 2012-05-18 13:22:28 -07:00
cxgb4_main.c cxgb4: DB Drop Recovery for RDMA and LLD queues 2012-05-18 13:22:28 -07:00
cxgb4_uld.h cxgb4: DB Drop Recovery for RDMA and LLD queues 2012-05-18 13:22:28 -07:00
l2t.c drivers/net: fix mislocated headers in cxgb4/l2t.c 2011-10-31 19:31:10 -04:00
l2t.h chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
sge.c cxgb4: DB Drop Recovery for RDMA and LLD queues 2012-05-18 13:22:28 -07:00
t4_hw.c cxgb4: Common platform specific changes for DB Drop Recovery 2012-05-18 13:22:27 -07:00
t4_hw.h chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
t4_msg.h chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
t4_regs.h cxgb4: DB Drop Recovery for RDMA and LLD queues 2012-05-18 13:22:28 -07:00
t4fw_api.h cxgb4: DB Drop Recovery for RDMA and LLD queues 2012-05-18 13:22:28 -07:00