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 17E3D42DE6; Thu, 6 Jul 2023 11:12:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 065C942DAD; Thu, 6 Jul 2023 11:12:07 +0200 (CEST) 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 80EFF41101 for ; Thu, 6 Jul 2023 11:12:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688634725; 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=Lt+BoRQTsF6F2+8F5rspqslFdOXjRfpepnLaKPxkjZM=; b=Z/r7/HHWtExRUWQ1o9sxkE2+2uLJPxdI0axzbAEHTwEkxUZb/Q1Xrin5g5EYlUfGCCvBtR iv9hkUGDi7mn2JyRY7ewUbm9U1QXw74HVLNTU0l6ANow8OaATwFZ4iOnZ1kO6L6EMAe8Z0 DxxX+BfFedRsJ1iP46hM3jcf2eo3kkk= 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-463-qVkHM1i4PsaSTJgbiHsOkg-1; Thu, 06 Jul 2023 05:12:03 -0400 X-MC-Unique: qVkHM1i4PsaSTJgbiHsOkg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5C4CD28237CD; Thu, 6 Jul 2023 09:12:03 +0000 (UTC) Received: from [10.39.208.34] (unknown [10.39.208.34]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 707A1492C13; Thu, 6 Jul 2023 09:12:02 +0000 (UTC) Message-ID: <979759e0-f31b-b6e2-4122-1eb41566f5e6@redhat.com> Date: Thu, 6 Jul 2023 11:12:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v1 1/1] bbdev: extend range of allocation function To: Nicolas Chautru , dev@dpdk.org Cc: hemant.agrawal@nxp.com, hernan.vargas@intel.com References: <20230602020423.426465-1-nicolas.chautru@intel.com> <20230602020423.426465-2-nicolas.chautru@intel.com> From: Maxime Coquelin In-Reply-To: <20230602020423.426465-2-nicolas.chautru@intel.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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 6/2/23 04:04, Nicolas Chautru wrote: > Realigning the argument to unsigned int to > align with number support by underlying > rte_mempool_get_bulk function. > > Signed-off-by: Nicolas Chautru > --- > lib/bbdev/rte_bbdev_op.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h > index 96a390cd9b..9353fd588b 100644 > --- a/lib/bbdev/rte_bbdev_op.h > +++ b/lib/bbdev/rte_bbdev_op.h > @@ -982,7 +982,7 @@ rte_bbdev_op_pool_create(const char *name, enum rte_bbdev_op_type type, > */ > static inline int > rte_bbdev_enc_op_alloc_bulk(struct rte_mempool *mempool, > - struct rte_bbdev_enc_op **ops, uint16_t num_ops) > + struct rte_bbdev_enc_op **ops, unsigned int num_ops) > { > struct rte_bbdev_op_pool_private *priv; > > @@ -1013,7 +1013,7 @@ rte_bbdev_enc_op_alloc_bulk(struct rte_mempool *mempool, > */ > static inline int > rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool, > - struct rte_bbdev_dec_op **ops, uint16_t num_ops) > + struct rte_bbdev_dec_op **ops, unsigned int num_ops) > { > struct rte_bbdev_op_pool_private *priv; > > @@ -1045,7 +1045,7 @@ rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool, > __rte_experimental > static inline int > rte_bbdev_fft_op_alloc_bulk(struct rte_mempool *mempool, > - struct rte_bbdev_fft_op **ops, uint16_t num_ops) > + struct rte_bbdev_fft_op **ops, unsigned int num_ops) > { > struct rte_bbdev_op_pool_private *priv; > Applied to dpdk-next-baseband/for-main. Thanks, Maxime