Skip to content

Hangs with IPoIB when doing PCI error injection

[email protected] linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3IB/mlx4: send a IB_EVENT_DEVICE_FATAL to users during PCI error injectiondrivers/net/ethernet/mellanox/mlx4/main.c+6 -00 replies
2/3IB: hang in mcast_remove_one during PCI error injectiondrivers/infiniband/core/multicast.c drivers/infiniband/core/sa_query.c drivers/infiniband/ulp/ipoib/ipoib_verbs.c+3 -00 replies
3/3IB/ib_cm: hang in cm_destroy_id during PCI error injectiondrivers/infiniband/core/cm.c+43 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Patch 0/3] Hangs with IPoIB when doing PCI error injection

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