]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb3: Handle EEH events
authorSteve Wise <swise@opengridcomputing.com>
Mon, 30 Mar 2009 15:37:56 +0000 (08:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 30 Mar 2009 15:37:56 +0000 (08:37 -0700)
commitb9d55789e1f98747deec7e39e250be75ae966cf4
treea6363d175d07995e0c2b32e035fb16beeca0772a
parent942961b7e462994c702308f5558add1f061ff27d
RDMA/cxgb3: Handle EEH events

- wrap calls into cxgb3 and fail them if we're in the middle
  of a PCI EEH event.

- correctly unwind and release endpoint and other resources when
  we are in an EEH event.

- dispatch IB_EVENT_DEVICE_FATAL event when cxgb3 notifies iw_cxgb3 of
  a fatal error.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/cxio_hal.c
drivers/infiniband/hw/cxgb3/cxio_hal.h
drivers/infiniband/hw/cxgb3/iwch.c
drivers/infiniband/hw/cxgb3/iwch.h
drivers/infiniband/hw/cxgb3/iwch_cm.c
drivers/infiniband/hw/cxgb3/iwch_qp.c