]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - net/smc/smc_pnet.h
UBUNTU: SAUCE: x86/bugs: Honour SPEC_CTRL default
[mirror_ubuntu-artful-kernel.git] / net / smc / smc_pnet.h
1 /*
2 * Shared Memory Communications over RDMA (SMC-R) and RoCE
3 *
4 * PNET table queries
5 *
6 * Copyright IBM Corp. 2016
7 *
8 * Author(s): Thomas Richter <tmricht@linux.vnet.ibm.com>
9 */
10
11 #ifndef _SMC_PNET_H
12 #define _SMC_PNET_H
13
14 struct smc_ib_device;
15
16 int smc_pnet_init(void) __init;
17 void smc_pnet_exit(void);
18 int smc_pnet_remove_by_ibdev(struct smc_ib_device *ibdev);
19 void smc_pnet_find_roce_resource(struct sock *sk,
20 struct smc_ib_device **smcibdev, u8 *ibport);
21
22 #endif