]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2806967cd6a38a308279e1695e637b906c9b0f43
treecea231d67a68bd0bc9ac39caca92a95f1376c3a3
parent5dc754d3971d2f7b00dad72e92098eab278dd74d
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