This patch is to resolve some hangs we are seeing when doing PCI error injection
to Mellanox Infiniband cards. With this patch we make mlx4 driver send an 
IB_EVENT_DEVICE_FATAL 
to the users and added this event to event handlers to avoid these hangs. 
If IPoIB is in connected mode, then added to cm an event handler and tried to 
make sure that when it sees the fatal event it does not try to send anymore 
packet because
it will not receive any more completions or interrupts. 

 infiniband/core/cm.c               |   43 +++++++++++++++++++++++++++++++++++++
 infiniband/core/multicast.c        |    1
 infiniband/core/sa_query.c         |    1
 infiniband/ulp/ipoib/ipoib_verbs.c |    1
 net/ethernet/mellanox/mlx4/main.c  |    6 +++++

Carol Soto

-- 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to