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 6C972A0C4C; Wed, 18 Aug 2021 19:14:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7211B411DA; Wed, 18 Aug 2021 19:14:02 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id A0DAD41134 for ; Wed, 18 Aug 2021 19:13:59 +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 EB39D20C332A; Wed, 18 Aug 2021 10:13:58 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com EB39D20C332A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1629306839; bh=gy+V7kfoN1+CyIlChP210rkqUOAKv3oRT8b1Ar+dUTU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CBOp1dYKbz5yeoGhro52RDh6HccsVmghvgP6fAPfWK26t4pKIoiJ5U6p2BoPVcOeG Zq5HEqOkZao7PYeuo8azH+MZbUoNkimxhdii+gLPCR7V55/FyPsYq5lWXS15nLfPIk q7PVJnJJp3IQ1flcCVXBcLLyopEZcjq9ZUJY7IOA= 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: Wed, 18 Aug 2021 10:13:43 -0700 Message-Id: <1629306834-6277-3-git-send-email-jizh@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1629306834-6277-1-git-send-email-jizh@linux.microsoft.com> References: <1629267476-901-1-git-send-email-jizh@linux.microsoft.com> <1629306834-6277-1-git-send-email-jizh@linux.microsoft.com> Subject: [dpdk-dev] [PATCH v2 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" 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