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 731DBA00C3; Wed, 7 Dec 2022 09:38:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2407A410FB; Wed, 7 Dec 2022 09:38:21 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 3E0F9410D7 for ; Wed, 7 Dec 2022 09:38:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670402298; 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=w4BXkmUAFrnydTd55fAjpO+Ac5jzaWWTc+BGr/2Rf/I=; b=HPRWZVVfP3pEbINrTwNX8zre8i0A1LqeveozQ7Mv9uwiBRwxst1PTncXJsUG8FGsihy09j WnPGDHoOMOtOo8HOslIwXOhifC4VcwSkTduMs1e5JXoHTT06R+VK3CQTPmWjNaRY9jlP0e 78OnZW28dsXfr+fFAmLWug4SYA2sNkE= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-270-WzwQphrPPcG-IgxH1YR2cQ-1; Wed, 07 Dec 2022 03:38:15 -0500 X-MC-Unique: WzwQphrPPcG-IgxH1YR2cQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9C73A1C09C80; Wed, 7 Dec 2022 08:38:14 +0000 (UTC) Received: from [10.39.208.28] (unknown [10.39.208.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8B595C15BA4; Wed, 7 Dec 2022 08:38:13 +0000 (UTC) Message-ID: Date: Wed, 7 Dec 2022 09:38:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v2 1/3] test/bbdev: fix build issue with optional build flag To: Nicolas Chautru , dev@dpdk.org, "stable@dpdk.org" Cc: hernan.vargas@intel.com, Vipin.Varghese@amd.com References: <20221206191441.12428-1-nicolas.chautru@intel.com> <20221206191441.12428-2-nicolas.chautru@intel.com> From: Maxime Coquelin In-Reply-To: <20221206191441.12428-2-nicolas.chautru@intel.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 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 12/6/22 20:14, Nicolas Chautru wrote: > Incorrect bbdev member name used in test code under > RTE_BBDEV_OFFLOAD_COST build flag. > > Fixes: 4f08028c5e24 ("bbdev: expose queue related warning and status") You missed to cc stable@dpdk.org. Added it now. > Signed-off-by: Nicolas Chautru > --- > app/test-bbdev/test_bbdev_perf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c > index b285d3f3a7..1859952901 100644 > --- a/app/test-bbdev/test_bbdev_perf.c > +++ b/app/test-bbdev/test_bbdev_perf.c > @@ -4933,8 +4933,8 @@ get_bbdev_queue_stats(uint16_t dev_id, uint16_t queue_id, > stats->dequeued_count = q_stats->dequeued_count; > stats->enqueue_err_count = q_stats->enqueue_err_count; > stats->dequeue_err_count = q_stats->dequeue_err_count; > - stats->enqueue_warning_count = q_stats->enqueue_warning_count; > - stats->dequeue_warning_count = q_stats->dequeue_warning_count; > + stats->enqueue_warn_count = q_stats->enqueue_warn_count; > + stats->dequeue_warn_count = q_stats->dequeue_warn_count; > stats->acc_offload_cycles = q_stats->acc_offload_cycles; > > return 0; Reviewed-by: Maxime Coquelin Thanks, Maxime