]> Git Repo - linux.git/blob - include/net/smc.h
mm/free_pcppages_bulk: do not hold lock when picking pages to free
[linux.git] / include / net / smc.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *  Shared Memory Communications over RDMA (SMC-R) and RoCE
4  *
5  *  Definitions for the SMC module (socket related)
6  *
7  *  Copyright IBM Corp. 2016
8  *
9  *  Author(s):  Ursula Braun <[email protected]>
10  */
11 #ifndef _SMC_H
12 #define _SMC_H
13
14 struct smc_hashinfo {
15         rwlock_t lock;
16         struct hlist_head ht;
17 };
18
19 int smc_hash_sk(struct sock *sk);
20 void smc_unhash_sk(struct sock *sk);
21 #endif  /* _SMC_H */
This page took 0.031457 seconds and 4 git commands to generate.