Hangs with IPoIB when doing PCI error injection
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | IB/mlx4: send a IB_EVENT_DEVICE_FATAL to users during PCI error injectiondrivers/ | +6 | 0 replies | |
| 2/3 | IB: hang in mcast_remove_one during PCI error injectiondrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 3/3 | IB/ib_cm: hang in cm_destroy_id during PCI error injectiondrivers/ | +43 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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