[MLTHCA] added polling mode support.
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 18 Jan 2009 13:47:55 +0000 (13:47 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 18 Jan 2009 13:47:55 +0000 (13:47 +0000)
commit32e39a9ba6e1a10eef5e184ca31989b31dd597e9
treee93075dfad8fd883322cd1a5d60d9ec79f9f1594
parent2e6eb493a975cb6e6ae4af068ba212e9e5762fac
[MLTHCA] added polling mode support.

This patch is a second part of a workaround, added in rev. 1800 for MLX4.
It adds polling mode support for MTHCA.
This is needed for example in the case, when interrupts stop to be conveyed to the driver for some HW problem.
(Xsigo saw such case).
This patch additionally "actualize" the workaround (by off-commenting #if WORKAROUND_POLL_EQ) to enable polling mode without re-building the drivers.

Signed-off-by: James Yang [jyang@xsigo.com]
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1841 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
hw/mlx4/kernel/bus/ib/main.c
hw/mlx4/kernel/bus/inc/ib_verbs_ex.h
hw/mlx4/kernel/bus/net/eq.c
hw/mlx4/kernel/bus/net/mlx4.h
hw/mlx4/kernel/hca/fw.c
hw/mlx4/kernel/inc/vc.h
hw/mthca/kernel/hca_driver.c
hw/mthca/kernel/hca_driver.h
hw/mthca/kernel/mthca_dev.h
hw/mthca/kernel/mthca_eq.c