From: Nicolas Chautru Date: Wed, 8 Sep 2021 01:15:41 +0000 (-0700) Subject: bbdev: reduce log level of a failure message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5f13f4c03d28c3d971f639c83cae60872306df35;p=dpdk.git 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 Reviewed-by: Tom Rix --- diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c index fc37236195..defddcfc28 100644 --- a/lib/bbdev/rte_bbdev.c +++ b/lib/bbdev/rte_bbdev.c @@ -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; }