forked from ibm-s390-linux/smc-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev.h
25 lines (21 loc) · 712 Bytes
/
dev.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
* SMC Tools - Shared Memory Communication Tools
*
* Copyright IBM Corp. 2020
*
* Author(s): Guvenc Gulce <[email protected]>
*
* Userspace program for SMC Information display
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
#ifndef DEV_H_
#define DEV_H_
extern struct rtnl_handle rth;
int invoke_devs(int argc, char **argv, int detail_level);
int dev_count_ism_devices(int *ism_count);
int dev_count_roce_devices(int *rocev1_count, int *rocev2_count, int *rocev3_count);
#endif /* DEV_H_ */