Skip to content

Commit 2d28ccb

Browse files
committed
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 <[email protected]>
1 parent bd5b8ed commit 2d28ccb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

opal/mca/btl/usnic/btl_usnic_module.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,6 +1831,15 @@ static int init_one_channel(opal_btl_usnic_module_t *module,
18311831
assert(channel->info->ep_attr->msg_prefix_size ==
18321832
(uint32_t) mca_btl_usnic_component.transport_header_len);
18331833

1834+
opal_output_verbose(15, USNIC_OUT,
1835+
"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",
1836+
module->linux_device_name,
1837+
(index == USNIC_PRIORITY_CHANNEL) ? "priority" : "data",
1838+
channel->info->rx_attr->size,
1839+
channel->info->tx_attr->size,
1840+
cq_attr.size,
1841+
channel->credits);
1842+
18341843
/*
18351844
* Initialize pool of receive segments. Round MTU up to cache
18361845
* line size so that each segment is guaranteed to start on a

0 commit comments

Comments
 (0)