net/smc: convert static link ID to dynamic references
authorKarsten Graul <kgraul@linux.ibm.com>
Wed, 29 Apr 2020 15:10:40 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Apr 2020 19:26:32 +0000 (12:26 -0700)
commit387707fdf48697c667dd5e9715ac4feb41602d15
treec6613774062587509d31e09dca852dd3ae6e51a5
parent026c381fb4778d0d44af57b7ff674f31f04af221
net/smc: convert static link ID to dynamic references

As a preparation for the support of multiple links remove the usage of
a static link id (SMC_SINGLE_LINK) and allow dynamic link ids.

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/af_smc.c
net/smc/smc.h
net/smc/smc_cdc.c
net/smc/smc_clc.c
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_ib.c
net/smc/smc_ib.h
net/smc/smc_llc.c
net/smc/smc_tx.c