net/ism: Add new API for client registration
authorStefan Raspl <raspl@linux.ibm.com>
Mon, 23 Jan 2023 18:17:48 +0000 (19:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2023 09:46:48 +0000 (09:46 +0000)
commit89e7d2ba61b742a7525ff06ea4d4378c4a5560d0
treebde67c158efe820995353daa07b0b14c9851fc66
parent1baedb13f1d50ae8c7852134fdf934b4463e9baa
net/ism: Add new API for client registration

Add a new API that allows other drivers to concurrently access ISM devices.
To do so, we introduce a new API that allows other modules to register for
ISM device usage. Furthermore, we move the GID to struct ism, where it
belongs conceptually, and rename and relocate struct smcd_event to struct
ism_event.
This is the first 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.h
drivers/s390/net/ism_drv.c
include/linux/ism.h
include/net/smc.h
net/smc/smc_ism.c