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 A985FA0C46; Wed, 18 Aug 2021 08:18:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21BBF4014D; Wed, 18 Aug 2021 08:18:04 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id A600E4014D for ; Wed, 18 Aug 2021 08:18:02 +0200 (CEST) Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id DF2B520C323D; Tue, 17 Aug 2021 23:18:01 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com DF2B520C323D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1629267481; bh=S/3wZhslgZcMSlxDG9Tqs3P04BPZceox6LmVIymUJaQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BzpCdQ2h+gri4gZEP3oGr5kzuPhYq4BlSyY9STBqHWL1hCnIUdmCI1EJYJ4jl+4p6 O3OR6jRJL/U0D4+3THaAvq5DyTRQjrDcOExwFpbmQ8dM59lrrkzyRHhvProsyWaY2N KZE4ShvfyUO3zD+x0Yz3ZKPJ6cVWNaV3Bpvc890A= From: Jie Zhou To: dev@dpdk.org Cc: dmitry.kozliuk@gmail.com, roretzla@microsoft.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, pallavi.kadam@intel.com, talshn@nvidia.com, thomas@monjalon.net, aconole@redhat.com Date: Tue, 17 Aug 2021 23:17:45 -0700 Message-Id: <1629267476-901-3-git-send-email-jizh@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1629267476-901-1-git-send-email-jizh@linux.microsoft.com> References: <1629267476-901-1-git-send-email-jizh@linux.microsoft.com> Subject: [dpdk-dev] [PATCH v1 02/13] driver/mempool: build mempool stack on Windows 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 Sender: "dev" From: Jie Zhou mempool_autotest failed on Windows at setting the "stack" handler test case. Per debugging, in rte_mempool_ops_table, there are only 6 ring ops registered, and no "stack" ops registered which caused the failure of rte_mempool_set_ops_byname and thus the test failed. Per code investigation, the "stack" ops are registered in rte_mempool_stack.c: MEMPOOL_REGISTER_OPS(ops_stack); MEMPOOL_REGISTER_OPS(ops_lf_stack); The reason these two ops are not registered is because currently driver\mempool\stack is not build on Windows. After building stack on Windows, the mempool_autotest now completed as pass. Signed-off-by: Jie Zhou --- drivers/mempool/stack/meson.build | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/mempool/stack/meson.build b/drivers/mempool/stack/meson.build index 371cf131b1..580dde79eb 100644 --- a/drivers/mempool/stack/meson.build +++ b/drivers/mempool/stack/meson.build @@ -1,11 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017-2019 Intel Corporation -if is_windows - build = false - reason = 'not supported on Windows' -endif - sources = files('rte_mempool_stack.c') deps += ['stack'] -- 2.32.0.windows.2