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 F319442C0A; Fri, 2 Jun 2023 04:09:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 328124161A; Fri, 2 Jun 2023 04:09:20 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id E9AE140693 for ; Fri, 2 Jun 2023 04:09:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685671758; x=1717207758; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=k+J4A3KVgA7XAxS/UmoREA90mWpmgAzX+v5nAkzhrD0=; b=Mynlqhc+UiTp0uB5rQJY5zWpSi0QdfV4MRpoz/lL1OkeJpQbT6GJPxqQ b5l7zpc9SDAKoWMfynVb4DEvpr+qKUey+beUijSWzKyuBT1O4mDtxcPfu Tfq0jYYKPyIEelTbYfbpTHB+ZoyE/ghDlsd+AEx5I5BphEYJjv/IGcyt7 e948YrwwVwuqxVIAUhEO5KpiWn1Ohsj5TM+3/+P7+GD5RmNKPratfo2iw 2lKkDbfadF2EH3tTyoNRXRrsxxjfAKLpq1LwQfdGQPAukfHzDDjCkRm+C MeFfBqkzTN5hpHrV7PVyvg2ciVG3v4cQOYZL+qn+yVrKg0i8sg7uajqCp A==; X-IronPort-AV: E=McAfee;i="6600,9927,10728"; a="442116048" X-IronPort-AV: E=Sophos;i="6.00,211,1681196400"; d="scan'208";a="442116048" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2023 19:09:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10728"; a="658047264" X-IronPort-AV: E=Sophos;i="6.00,211,1681196400"; d="scan'208";a="658047264" Received: from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..) ([10.233.181.123]) by orsmga003.jf.intel.com with ESMTP; 01 Jun 2023 19:09:16 -0700 From: Nicolas Chautru To: dev@dpdk.org, maxime.coquelin@redhat.com Cc: hemant.agrawal@nxp.com, hernan.vargas@intel.com, Nicolas Chautru Subject: [PATCH v1 1/1] bbdev: extend range of allocation function Date: Fri, 2 Jun 2023 02:04:23 +0000 Message-Id: <20230602020423.426465-2-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230602020423.426465-1-nicolas.chautru@intel.com> References: <20230602020423.426465-1-nicolas.chautru@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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; -- 2.34.1