]> git.karo-electronics.de Git - linux-beck.git/commit
mlx4_core: Reset device when internal error is detected
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 12 Jul 2007 14:50:45 +0000 (17:50 +0300)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 01:37:42 +0000 (18:37 -0700)
commitee49bd9397cd2b8fe7a1962505d81c1d0a1366fc
tree064800f1ebcf6c2586f6727aa03c85e875b96289
parent41179e2de6962b46d1d9f2b4437243ac740efdec
mlx4_core: Reset device when internal error is detected

Reset the device when an internal error is detected.

Also, detect errors by polling the error buffer rather than using
interrupts.  This is more robust and doesn't depend on MSI-X.  Remove
the old interrupt handler entirely, since we don't want to support two
mechanisms for detecting internal errors.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/catas.c
drivers/net/mlx4/eq.c
drivers/net/mlx4/intf.c
drivers/net/mlx4/main.c
drivers/net/mlx4/mlx4.h