diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2020-09-26 13:44:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-29 01:19:02 +0300 |
commit | 201091ebb2a161a0e10aab36186690b332941f6a (patch) | |
tree | 39b87ea12d877c20b462137ad831b50bd4591236 /include/net/smc.h | |
parent | 3fc6493761372c5f6ff84d407c58948b8f2ee360 (diff) | |
download | linux-201091ebb2a161a0e10aab36186690b332941f6a.tar.xz |
net/smc: introduce System Enterprise ID (SEID)
SMCD version 2 defines a System Enterprise ID (short SEID).
This patch contains the SEID creation and adds the callback to
retrieve the created SEID.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/smc.h b/include/net/smc.h index 646feb4bc75f..b28b384d0625 100644 --- a/include/net/smc.h +++ b/include/net/smc.h @@ -37,6 +37,8 @@ struct smcd_dmb { #define ISM_EVENT_GID 1 #define ISM_EVENT_SWR 2 +#define ISM_RESERVED_VLANID 0x1FFF + #define ISM_ERROR 0xFFFF struct smcd_event { @@ -63,6 +65,7 @@ struct smcd_ops { int (*move_data)(struct smcd_dev *dev, u64 dmb_tok, unsigned int idx, bool sf, unsigned int offset, void *data, unsigned int size); + void (*get_system_eid)(struct smcd_dev *dev, u8 **eid); }; struct smcd_dev { |