bbdev: reduce log level of a failure message

Queue setup may genuinely fail when adding incremental queues
for a given priority level. In that case application would
attempt to configure a queue at a different priority level.
Not an actual error.

Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
Reviewed-by: Tom Rix <trix@redhat.com>
This commit is contained in:
Nicolas Chautru 2021-09-07 18:15:41 -07:00 committed by Akhil Goyal
parent d7e3805608
commit 5f13f4c03d

View File

@ -528,9 +528,10 @@ rte_bbdev_queue_configure(uint16_t dev_id, uint16_t queue_id,
ret = dev->dev_ops->queue_setup(dev, queue_id, (conf != NULL) ?
conf : &dev_info.default_queue_conf);
if (ret < 0) {
rte_bbdev_log(ERR,
"Device %u queue %u setup failed", dev_id,
queue_id);
/* This may happen when trying different priority levels */
rte_bbdev_log(INFO,
"Device %u queue %u setup failed",
dev_id, queue_id);
return ret;
}