From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98F1341B8D; Tue, 31 Jan 2023 11:05:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8379140E28; Tue, 31 Jan 2023 11:05:36 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 4B7A640E28 for ; Tue, 31 Jan 2023 11:05:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675159533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QTH6xN70RyodeksVjnUMdt0nYmuikv4FxuWQ15IUq28=; b=UDfgXHoRtHejRH9AnjPwA1V3AgfPTyiLaF0h2mqFCZfQ+3+KWQfhlR8gt0W44VUSvAJbbm UoH0uU0eGiAP/DPgXRms1/eUgbfI9tlGiWpyrTMsv7Ruubwa1pXy9zFzVBu0w6EWOTLtcn cr8xMUaLIFUCWUEkyhTthplaC5/nsts= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-593-yhUWTo13MeCJarTL7kC7dw-1; Tue, 31 Jan 2023 05:05:30 -0500 X-MC-Unique: yhUWTo13MeCJarTL7kC7dw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DA6068828C4; Tue, 31 Jan 2023 10:05:29 +0000 (UTC) Received: from [10.39.208.22] (unknown [10.39.208.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9902B4010D2A; Tue, 31 Jan 2023 10:05:28 +0000 (UTC) Message-ID: Date: Tue, 31 Jan 2023 11:05:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v1 05/13] test/bbdev: report device status in bbdev-test To: Hernan Vargas , dev@dpdk.org, gakhil@marvell.com, trix@redhat.com Cc: nicolas.chautru@intel.com, qi.z.zhang@intel.com References: <20230117165023.20567-1-hernan.vargas@intel.com> <20230117165023.20567-6-hernan.vargas@intel.com> From: Maxime Coquelin In-Reply-To: <20230117165023.20567-6-hernan.vargas@intel.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 1/17/23 17:50, Hernan Vargas wrote: > No functional impact. > > Signed-off-by: Hernan Vargas > --- > app/test-bbdev/test_bbdev_perf.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c > index 12fa988da6..36ea399938 100644 > --- a/app/test-bbdev/test_bbdev_perf.c > +++ b/app/test-bbdev/test_bbdev_perf.c > @@ -849,6 +849,8 @@ add_bbdev_dev(uint8_t dev_id, struct rte_bbdev_info *info, > #endif > /* Let's refresh this now this is configured */ > rte_bbdev_info_get(dev_id, info); > + if (info->drv.device_status == RTE_BBDEV_DEV_FATAL_ERR) > + printf("Device Status %s\n", rte_bbdev_device_status_str(info->drv.device_status)); > nb_queues = RTE_MIN(rte_lcore_count(), info->drv.max_num_queues); > nb_queues = RTE_MIN(nb_queues, (unsigned int) MAX_QUEUES); > Reviewed-by: Maxime Coquelin Thanks, Maxime