Merge tag 'chrome-platform-for-linus-4.13' of git://git.kernel.org/pub/scm/linux...
[linux/fpc-iii.git] / include / net / smc.h
blob12d26358ad9fb07cdd07c173e7d10ca7b43738cf
1 /*
2 * Shared Memory Communications over RDMA (SMC-R) and RoCE
4 * Definitions for the SMC module (socket related)
6 * Copyright IBM Corp. 2016
8 * Author(s): Ursula Braun <ubraun@linux.vnet.ibm.com>
9 */
10 #ifndef _SMC_H
11 #define _SMC_H
13 struct smc_hashinfo {
14 rwlock_t lock;
15 struct hlist_head ht;
18 int smc_hash_sk(struct sock *sk);
19 void smc_unhash_sk(struct sock *sk);
20 #endif /* _SMC_H */