mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 00:55:28 +07:00
21 lines
401 B
C
21 lines
401 B
C
|
/*
|
||
|
* Shared Memory Communications over RDMA (SMC-R) and RoCE
|
||
|
*
|
||
|
* Definitions for the SMC module (socket related)
|
||
|
*
|
||
|
* Copyright IBM Corp. 2016
|
||
|
*
|
||
|
* Author(s): Ursula Braun <ubraun@linux.vnet.ibm.com>
|
||
|
*/
|
||
|
#ifndef _SMC_H
|
||
|
#define _SMC_H
|
||
|
|
||
|
struct smc_hashinfo {
|
||
|
rwlock_t lock;
|
||
|
struct hlist_head ht;
|
||
|
};
|
||
|
|
||
|
int smc_hash_sk(struct sock *sk);
|
||
|
void smc_unhash_sk(struct sock *sk);
|
||
|
#endif /* _SMC_H */
|