aboutsummaryrefslogtreecommitdiff
path: root/include/net/smc.h
diff options
context:
space:
mode:
authorGravatar Ursula Braun <ubraun@linux.ibm.com> 2020-09-26 12:44:25 +0200
committerGravatar David S. Miller <davem@davemloft.net> 2020-09-28 15:19:03 -0700
commit8caaccf521c160d231587091f1f5e8aef2dd0a5e (patch)
treed77bf9ff836bc76915cfc2280e3d3dbd74a93e42 /include/net/smc.h
parentnet/smc: introduce System Enterprise ID (SEID) (diff)
downloadlinux-8caaccf521c160d231587091f1f5e8aef2dd0a5e.tar.gz
linux-8caaccf521c160d231587091f1f5e8aef2dd0a5e.tar.bz2
linux-8caaccf521c160d231587091f1f5e8aef2dd0a5e.zip
net/smc: introduce CHID callback for ISM devices
With SMCD version 2 the CHIDs of ISM devices are needed for the CLC handshake. This patch provides the new callback to retrieve the CHID of an ISM device. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/smc.h')
-rw-r--r--include/net/smc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/smc.h b/include/net/smc.h
index b28b384d0625..e441aa97ad61 100644
--- a/include/net/smc.h
+++ b/include/net/smc.h
@@ -66,6 +66,7 @@ struct smcd_ops {
bool sf, unsigned int offset, void *data,
unsigned int size);
void (*get_system_eid)(struct smcd_dev *dev, u8 **eid);
+ u16 (*get_chid)(struct smcd_dev *dev);
};
struct smcd_dev {