ARC: [*defconfig] Reenable soft lock-up detector
[linux/fpc-iii.git] / net / smc / smc_pnet.h
blobc4f1bccd43589c0d2d2591925dfa3053b7fa4aef
1 /*
2 * Shared Memory Communications over RDMA (SMC-R) and RoCE
4 * PNET table queries
6 * Copyright IBM Corp. 2016
8 * Author(s): Thomas Richter <tmricht@linux.vnet.ibm.com>
9 */
11 #ifndef _SMC_PNET_H
12 #define _SMC_PNET_H
14 struct smc_ib_device;
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);
22 #endif