OSDN Git Service

net/smc: Introduce explicit check for v2 support
authorStefan Raspl <raspl@linux.ibm.com>
Mon, 13 Mar 2023 10:10:31 +0000 (11:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2023 08:18:35 +0000 (08:18 +0000)
commitf947568e258038d3c2f8f38a9a7dabaca36643ec
tree431528050109cb67610a278c977301a723c1125a
parent45ef71d108e6f1545e2981d8af03be13f2e39411
net/smc: Introduce explicit check for v2 support

Previously, v2 support was derived from a very specific format of the SEID
as part of the SMC-D codebase. Make this part of the SMC-D device API, so
implementers do not need to adhere to a specific SEID format.

Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Reviewed-and-tested-by: Jan Karcher <jaka@linux.ibm.com>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Signed-off-by: Wenjia Zhang <wenjia@linux.ibm.com>
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/ism_drv.c
include/net/smc.h
net/smc/smc_ism.c