mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
net/smc: Separate SMC-D and ISM APIs
We separate the code implementing the struct smcd_ops API in the ISM device driver from the functions that may be used by other exploiters of ISM devices. Note: We start out small, and don't offer the whole breadth of the ISM device for public use, as many functions are specific to or likely only ever used in the context of SMC-D. This is the third part of a bigger overhaul of the interfaces between SMC and ISM. Signed-off-by: Stefan Raspl <raspl@linux.ibm.com> Signed-off-by: Jan Karcher <jaka@linux.ibm.com> Signed-off-by: Wenjia Zhang <wenjia@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8747716f39
commit
9de4df7b6b
@@ -87,4 +87,11 @@ static inline void ism_set_priv(struct ism_dev *dev, struct ism_client *client,
|
||||
dev->priv[client->id] = priv;
|
||||
}
|
||||
|
||||
int ism_register_dmb(struct ism_dev *dev, struct ism_dmb *dmb,
|
||||
struct ism_client *client);
|
||||
int ism_unregister_dmb(struct ism_dev *dev, struct ism_dmb *dmb);
|
||||
int ism_move(struct ism_dev *dev, u64 dmb_tok, unsigned int idx, bool sf,
|
||||
unsigned int offset, void *data, unsigned int size);
|
||||
u8 *ism_get_seid(void);
|
||||
|
||||
#endif /* _ISM_H */
|
||||
|
||||
Reference in New Issue
Block a user