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>
This commit is contained in:

committed by
David S. Miller

parent
3fc6493761
commit
201091ebb2
@@ -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 {
|
||||
|
Reference in New Issue
Block a user