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 );
Infiniband device management.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static __always_inline int ib_link_ok(struct ib_device *ibdev)
Check link state of Infiniband device.
int printf(const char *fmt,...)
Write a formatted string to the console.
char name[IBDEV_NAME_LEN]
Name of this Infiniband device.
union ib_gid gid
Port GID (comprising GID prefix and port GUID)
static int ib_is_open(struct ib_device *ibdev)
Check whether or not Infiniband device is open.
void ibstat(struct ib_device *ibdev)
Print status of Infiniband device.
#define IB_GUID_ARGS(guid)
Infiniband Globally Unique Identifier debug message arguments.
struct device * dev
Underlying device.
#define IB_GUID_FMT
Infiniband Globally Unique Identifier debug message format.
#define list_for_each_entry(pos, head, member)
Iterate over entries in a list.
const char * driver_name
Driver name.
struct list_head list
List of queue pairs on this Infiniband device.
unsigned int port
Port number.
struct ib_device * ibdev
Containing Infiniband device.
An Infiniband Queue Pair.
struct arbelprm_qp_db_record qp
uint8_t port_state
Port state.
struct list_head qps
List of queue pairs.