staging: most: core: rename struct most_c_aim_obj to pipe
[linux/fpc-iii.git] / net / smc / smc_pnet.h
blob5a29519db976f2b1b542e7aacacaed4f3f8ea812
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
5 * PNET table queries
7 * Copyright IBM Corp. 2016
9 * Author(s): Thomas Richter <tmricht@linux.vnet.ibm.com>
12 #ifndef _SMC_PNET_H
13 #define _SMC_PNET_H
15 struct smc_ib_device;
17 int smc_pnet_init(void) __init;
18 void smc_pnet_exit(void);
19 int smc_pnet_remove_by_ibdev(struct smc_ib_device *ibdev);
20 void smc_pnet_find_roce_resource(struct sock *sk,
21 struct smc_ib_device **smcibdev, u8 *ibport);
23 #endif