OpenCloudOS-Kernel/drivers/infiniband/hw
Eli Cohen 3616f9cead IB/mlx4: Fix possible missed completion event
If an erroneous CQE is polled in the first iteration (i.e. npolled ==
0), we don't update the consumer index and hence the hardware could
get a wrong notion of how many CQEs software polled.  Fix this by
unconditionally updating the doorbell record.  We could change the
check to be something like

	if (npolled || err != -EAGAIN)
		...

but it does not seem worth the effort since a posted write to memory
should not cost too much.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-03-12 16:24:59 -07:00
..
amso1100 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2011-11-01 10:51:38 -07:00
cxgb3 cxgb3: Rework t3_l2t_get to take a dst_entry instead of a neighbour. 2011-12-05 15:20:19 -05:00
cxgb4 infiniband: cxgb4: Consolidate 3 copies of the same operation into 1 helper function. 2011-12-05 15:20:20 -05:00
ehca module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
ipath IB/ipath: Calling PTR_ERR() on right variable in create_file() 2012-01-27 09:48:27 -08:00
mlx4 IB/mlx4: Fix possible missed completion event 2012-03-12 16:24:59 -07:00
mthca Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
nes RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
qib IB/qib: Roll back PCIe tuning change 2012-01-27 10:03:38 -08:00