diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2020-05-01 12:48:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-01 16:20:04 -0700 |
commit | 1f90a05d9ff907c70456e7c9d7058372679a88c6 (patch) | |
tree | cea231d67a68bd0bc9ac39caca92a95f1376c3a3 /net/smc/smc_ib.c | |
parent | 35dcf7ec02dcff16504bc52a368822254f889f00 (diff) |
net/smc: add smcr_port_add() and smcr_link_up() processing
Call smcr_port_add() when an IB event reports a new active IB device.
smcr_port_add() will start a work which either triggers the local
ADD_LINK processing, or send an ADD_LINK LLC message to the SMC server
to initiate the processing.
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_ib.c')
-rw-r--r-- | net/smc/smc_ib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc_ib.c b/net/smc/smc_ib.c index c090678a3e5a..545fb0bc3714 100644 --- a/net/smc/smc_ib.c +++ b/net/smc/smc_ib.c @@ -252,6 +252,7 @@ static void smc_ib_port_event_work(struct work_struct *work) smc_port_terminate(smcibdev, port_idx + 1); } else { clear_bit(port_idx, smcibdev->ports_going_away); + smcr_port_add(smcibdev, port_idx + 1); } } } |