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)
commit04b5d028f50ff05a8f9ae049ee71f8fdfcf1f5de
treea6363d175d07995e0c2b32e035fb16beeca0772a
parent5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a
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