diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2019-10-09 10:07:46 +0200 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-10-09 19:45:44 -0700 |
commit | c3d9494e68c4a5d23227ede822fda9bd68bef8e3 (patch) | |
tree | 640a13f101e2cbd834dcb1bccf9529b374436ff9 /include/net/smc.h | |
parent | b3cb53c05f20c5b4026a36a7bbd3010d1f3e0a55 (diff) |
net/smc: no new connections on disappearing devices
Add a "going_away" indication to ISM devices and IB ports and
avoid creation of new connections on such disappearing devices.
And do not handle ISM events if ISM device is disappearing.
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'include/net/smc.h')
-rw-r--r-- | include/net/smc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/smc.h b/include/net/smc.h index 438bb0261f45..05174ae4f325 100644 --- a/include/net/smc.h +++ b/include/net/smc.h @@ -77,6 +77,7 @@ struct smcd_dev { bool pnetid_by_user; struct list_head lgr_list; spinlock_t lgr_lock; + u8 going_away : 1; }; struct smcd_dev *smcd_alloc_dev(struct device *parent, const char *name, |