1
1

usnic: add verbose output of queue lengths

Show the actual RX/TX and CQ length returned by libfabric in verbose
output.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
Jeff Squyres 2017-01-10 12:05:31 -08:00
родитель bd5b8ed754
Коммит 2d28ccb5fd

Просмотреть файл

@ -1831,6 +1831,15 @@ static int init_one_channel(opal_btl_usnic_module_t *module,
assert(channel->info->ep_attr->msg_prefix_size ==
(uint32_t) mca_btl_usnic_component.transport_header_len);
opal_output_verbose(15, USNIC_OUT,
"btl:usnic:init_one_channel:%s: channel %s, rx queue size=%" PRIsize_t ", tx queue size=%" PRIsize_t ", cq size=%" PRIsize_t ", send credits=%d",
module->linux_device_name,
(index == USNIC_PRIORITY_CHANNEL) ? "priority" : "data",
channel->info->rx_attr->size,
channel->info->tx_attr->size,
cq_attr.size,
channel->credits);
/*
* Initialize pool of receive segments. Round MTU up to cache
* line size so that each segment is guaranteed to start on a