OSDN Git Service

net/smc: add smcr_port_add() and smcr_link_up() processing
authorKarsten Graul <kgraul@linux.ibm.com>
Fri, 1 May 2020 10:48:07 +0000 (12:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 23:20:04 +0000 (16:20 -0700)
commit1f90a05d9ff907c70456e7c9d7058372679a88c6
treecea231d67a68bd0bc9ac39caca92a95f1376c3a3
parent35dcf7ec02dcff16504bc52a368822254f889f00
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>
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_ib.c