net/smc: De-tangle ism and smc device initialization
authorStefan Raspl <raspl@linux.ibm.com>
Mon, 23 Jan 2023 18:17:52 +0000 (19:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2023 09:46:49 +0000 (09:46 +0000)
commit8c81ba20349daf9f7e58bb05a0c12f4b71813a30
treec312fc6a7e200c6fd4ece2efdc113788aa712320
parent820f21009f1bc7a69e28752f6c6d9544401ca526
net/smc: De-tangle ism and smc device initialization

The struct device for ISM devices was part of struct smcd_dev. Move to
struct ism_dev, provide a new API call in struct smcd_ops, and convert
existing SMCD code accordingly.
Furthermore, remove struct smcd_dev from struct ism_dev.
This is the final part of a bigger overhaul of the interfaces between SMC
and ISM.

Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Jan Karcher <jaka@linux.ibm.com>
Signed-off-by: Wenjia Zhang <wenjia@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/ism_drv.c
include/linux/ism.h
include/net/smc.h
net/smc/af_smc.c
net/smc/smc_core.c
net/smc/smc_ism.c
net/smc/smc_pnet.c