freebsd-skq/sys/contrib/rdma/krping/krping.h
hselasky 79ee7eff57 Initial RoCE/infiniband kernel update to Linux v4.9.
This patch currently supports:
- ibcore as a kernel module only
- krping as a kernel module only
- ipoib as a kernel module only

Sponsored by:	Mellanox Technologies
2017-06-15 12:47:48 +00:00

20 lines
446 B
C

/*
* $FreeBSD$
*/
struct krping_stats {
unsigned long long send_bytes;
unsigned long long send_msgs;
unsigned long long recv_bytes;
unsigned long long recv_msgs;
unsigned long long write_bytes;
unsigned long long write_msgs;
unsigned long long read_bytes;
unsigned long long read_msgs;
char name[16];
};
int krping_doit(char *);
void krping_walk_cb_list(void (*)(struct krping_stats *, void *), void *);
int krping_sigpending(void);