linux_dsm_epyc7002/drivers/infiniband/ulp/ipoib
Moni Shoua ee1e2c82c2 IPoIB: Refresh paths instead of flushing them on SM change events
The patch tries to solve the problem of device going down and paths being
flushed on an SM change event. The method is to mark the paths as candidates for
refresh (by setting the new valid flag to 0), and wait for an ARP
probe a new path record query.

The solution requires a different and less intrusive handling of SM
change event. For that, the second argument of the flush function
changes its meaning from a boolean flag to a level.  In most cases, SM
failover doesn't cause LID change so traffic won't stop.  In the rare
cases of LID change, the remote host (the one that hadn't changed its
LID) will lose connectivity until paths are refreshed. This is no
worse than the current state.  In fact, preventing the device from
going down saves packets that otherwise would be lost.

Signed-off-by: Moni Levy <monil@voltaire.com>
Signed-off-by: Moni Shoua <monis@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-07-14 23:48:49 -07:00
..
ipoib_cm.c IPoIB/cm: Fix racy use of receive WR/SGL in ipoib_cm_post_receive_nonsrq() 2008-07-14 23:48:47 -07:00
ipoib_ethtool.c IPoIB: add LRO support 2008-07-14 23:48:48 -07:00
ipoib_fs.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
ipoib_ib.c IPoIB: Refresh paths instead of flushing them on SM change events 2008-07-14 23:48:49 -07:00
ipoib_main.c IPoIB: Refresh paths instead of flushing them on SM change events 2008-07-14 23:48:49 -07:00
ipoib_multicast.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
ipoib_verbs.c IPoIB: Refresh paths instead of flushing them on SM change events 2008-07-14 23:48:49 -07:00
ipoib_vlan.c RDMA: Remove subversion $Id tags 2008-07-14 23:48:44 -07:00
ipoib.h IPoIB: Refresh paths instead of flushing them on SM change events 2008-07-14 23:48:49 -07:00
Kconfig IPoIB: add LRO support 2008-07-14 23:48:48 -07:00
Makefile IPoIB: Add basic ethtool support 2008-04-16 21:09:32 -07:00