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 04081A0C4C; Tue, 5 Oct 2021 19:03:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EE324141B; Tue, 5 Oct 2021 19:03:26 +0200 (CEST) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id 2693041411 for ; Tue, 5 Oct 2021 19:03:23 +0200 (CEST) Received: by mail-pg1-f175.google.com with SMTP id 75so20369586pga.3 for ; Tue, 05 Oct 2021 10:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0MFFb5DiL2hFF44SMSDNkf+7HiqRRau6WuosSOhOwBc=; b=UwFmmILHTtNYqFyQKGYwdV97bS3PT0y/FY7FynMENLYsjXOWZiqWldj/gKFsr40rtE cyji95BjLmxz6VJ2VV5rJodYDu3Gb5CwwZSdYeXN0i8pOp88cUts1vYW4aMZ5pUoXPVk 3USirejbNZDk74dsZw0ViDA117cDdk/0X15c0P7QkyQrqdbP7igJzCWKgnBtFw7zG+Wg qSTTxhTg55EHtVVwLxwIe/hi6OTkHQIfClH6CBnrmFi4z0XQWhC8oCNv29tuttAa6bC7 0fhEJOjtJSs1VSXZNjqbhePK9PpfxEBkK0kHBUiGnKd8onvNJk9zRnmUgI5o0SH20yQu 8PJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0MFFb5DiL2hFF44SMSDNkf+7HiqRRau6WuosSOhOwBc=; b=ZLhVooQ7P8E+gRBEfH5c3uoFxbfS2bfzKSychD6mdPL4SXSi1MFv/hGkSuopG1QJ5y qFc1iEf1k/tv7Z2DdxQ/Sfl0soCtiJv2MTv4VlVQAnxVnQGD+mNv2k9M7L52paYyu04X KD1XO53QX9n2fPciIYkZ9yUYJyJLQlQJz2sBtgk72yPUv/iuawl/+fJhnFFkwsm+IamQ 7dE0540eXAKNe4JTckE2k+udHmiQHg5gOEr/PTVB2i7kDA8MsI4bCWTgsvWzB+wUeokM Sw6f5Iw75fvxjwj/xLAdcYsKKvkeJchdVA5Ct/S3qXys6M8e9LkEf1WreRmAP1+oUeYz Krcg== X-Gm-Message-State: AOAM530TaFO/MwUAgz+JTpCxAuQQuQZ2y3CcwhmNHetT38sz9e9aCFmv 84JcViFUS2MqQsA3TUuok6tQqubyn5U= X-Google-Smtp-Source: ABdhPJzTXTCF7RAYBhTe+wBBq9dc+0sQ3SKERnR2ZiaLZKvDGVOjKPU/LcHIblGf1LWc2l4bDjvZNg== X-Received: by 2002:a63:4344:: with SMTP id q65mr16952187pga.450.1633453402036; Tue, 05 Oct 2021 10:03:22 -0700 (PDT) Received: from localhost.localdomain (ec2-44-237-21-18.us-west-2.compute.amazonaws.com. [44.237.21.18]) by smtp.gmail.com with ESMTPSA id p18sm17987861pgk.28.2021.10.05.10.03.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 10:03:21 -0700 (PDT) From: William Tu To: dev@dpdk.org Cc: Tal Shnaiderman , Dmitry.Kozliuk@gmail.com, Akhil Goyal Date: Tue, 5 Oct 2021 17:02:51 +0000 Message-Id: <20211005170252.7-4-u9012063@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20211005170252.7-1-u9012063@gmail.com> References: <20211002003344.594-1-u9012063@gmail.com> <20211005170252.7-1-u9012063@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 3/4] cryptodev: build 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: Tal Shnaiderman Build the cryptography device library on Windows OS by removing unneeded include and exports blocking the compilation. Signed-off-by: Tal Shnaiderman Acked-by: Akhil Goyal Acked-by: William Tu --- lib/cryptodev/cryptodev_pmd.c | 2 ++ lib/cryptodev/rte_cryptodev.c | 1 - lib/cryptodev/version.map | 2 -- lib/meson.build | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cryptodev/cryptodev_pmd.c b/lib/cryptodev/cryptodev_pmd.c index 71e34140cd..44a70ecb35 100644 --- a/lib/cryptodev/cryptodev_pmd.c +++ b/lib/cryptodev/cryptodev_pmd.c @@ -2,6 +2,8 @@ * Copyright(c) 2017 Intel Corporation */ +#include + #include #include diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c index 9fa3aff1d3..b913c434c5 100644 --- a/lib/cryptodev/rte_cryptodev.c +++ b/lib/cryptodev/rte_cryptodev.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include diff --git a/lib/cryptodev/version.map b/lib/cryptodev/version.map index 8294c9f64f..43cf937e40 100644 --- a/lib/cryptodev/version.map +++ b/lib/cryptodev/version.map @@ -93,10 +93,8 @@ EXPERIMENTAL { # added in 20.11 rte_cryptodev_configure_raw_dp_ctx; rte_cryptodev_get_raw_dp_ctx_size; - rte_cryptodev_raw_dequeue; rte_cryptodev_raw_dequeue_burst; rte_cryptodev_raw_dequeue_done; - rte_cryptodev_raw_enqueue; rte_cryptodev_raw_enqueue_burst; rte_cryptodev_raw_enqueue_done; diff --git a/lib/meson.build b/lib/meson.build index 8183dd92da..b2ba7258d8 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -80,6 +80,7 @@ if is_windows 'hash', 'timer', 'bitratestats', + 'cryptodev', 'cfgfile', 'gro', 'gso', -- 2.33.0.windows.2