diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2019-11-14 13:02:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 12:28:28 -0800 |
commit | 5edd6b9cb8d7c6c346c93c52a53735591127e879 (patch) | |
tree | b8ef0b599ed2379d37c113e1b9a3f39c444a979b /net/smc/smc_wr.h | |
parent | 5421ec281df9dfda4418c02959e1f76097cabd9a (diff) | |
download | linux-5edd6b9cb8d7c6c346c93c52a53735591127e879.tar.bz2 |
net/smc: introduce bookkeeping of SMCD link groups
If the ism module is unloaded return control from exit routine only,
if all link groups are freed.
If an IB device is thrown away return control from device removal only,
if all link groups belonging to this device are freed.
A counters for the total number of SMCD link groups per ISM device is
introduced. ism module unloading continues only if the total number of
SMCD link groups for all ISM devices is zero. ISM device
removal continues only it the total number of SMCD link groups per ISM
device has decreased to zero.
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_wr.h')
0 files changed, 0 insertions, 0 deletions