diff options
| author | David S. Miller <davem@davemloft.net> | 2020-09-29 01:19:03 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-09-29 01:19:03 +0300 |
| commit | be589d04281495e00fd2fa5733076aed459953b7 (patch) | |
| tree | bb88fd67f378832ae5026075bd9eb51c1a22cc50 /include | |
| parent | 414698f6aa31d69fe7fe0fda22ac41cb7777eab5 (diff) | |
| parent | e8d726c8e869d132a4728d8b82f58213084278f9 (diff) | |
| download | linux-be589d04281495e00fd2fa5733076aed459953b7.tar.xz | |
Merge branch 'net-smc-introduce-SMC-Dv2-support'
Karsten Graul says:
====================
net/smc: introduce SMC-Dv2 support
SMC-Dv2 support (see https://www.ibm.com/support/pages/node/6326337)
provides multi-subnet support for SMC-D, eliminating the current
same-subnet restriction. The new version detects if any of the virtual
ISM devices are on the same system and can therefore be used for an
SMC-Dv2 connection. Furthermore, SMC-Dv2 eliminates the need for
PNET IDs on s390.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/smc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/smc.h b/include/net/smc.h index 646feb4bc75f..e441aa97ad61 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,8 @@ 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); + u16 (*get_chid)(struct smcd_dev *dev); }; struct smcd_dev { |
