58 printf (
" QPN %#lx send %d/%d recv %d/%d %s\n",
59 qp->qpn,
qp->send.fill,
qp->send.num_wqes,
60 qp->recv.fill,
qp->recv.num_wqes,
qp->name );
struct arbelprm_qp_db_record qp
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define IB_GUID_FMT
Infiniband Globally Unique Identifier debug message format.
#define IB_GUID_ARGS(guid)
Infiniband Globally Unique Identifier debug message arguments.
void ibstat(struct ib_device *ibdev)
Print status of Infiniband device.
Infiniband device management.
static __always_inline int ib_link_ok(struct ib_device *ibdev)
Check link state of Infiniband device.
static int ib_is_open(struct ib_device *ibdev)
Check whether or not Infiniband device is open.
#define list_for_each_entry(pos, head, member)
Iterate over entries in a list.
const char * driver_name
Driver name.
char name[IBDEV_NAME_LEN]
Name of this Infiniband device.
struct device * dev
Underlying device.
struct list_head qps
List of queue pairs.
uint8_t port_state
Port state.
union ib_gid gid
Port GID (comprising GID prefix and port GUID)
unsigned int port
Port number.
An Infiniband Queue Pair.
struct list_head list
List of queue pairs on this Infiniband device.
struct ib_device * ibdev
Containing Infiniband device.
struct ib_gid::@251011351113275240012301235177256303262052134237 s
int printf(const char *fmt,...)
Write a formatted string to the console.