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 C62C0A0C4D; Thu, 7 Oct 2021 00:36:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2CBDD411A5; Thu, 7 Oct 2021 00:36:14 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id AA8CC41170 for ; Thu, 7 Oct 2021 00:36:11 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id m14so3606894pfc.9 for ; Wed, 06 Oct 2021 15:36:11 -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=oZE7MfFJqnEszJb6BIrg6Lhi3jAcrK5jxjaUWpw7q0LbeqkGB4KUVuHS9nJgN5SvbH pwftaGRpctutHUcMg+0cfQSZxb17pUZ4JKa9G+THUepM+B4Anwz3L1xe6/9z3cxz7ijQ Vk3b5NFL3lPfzkyIBMh1FIMFgPvJnjnv1gvGvZ9rTHEIPQYOoGwN0JXDUJYuEecvdt4p cxSayVoJHqxNSVr3pNP6OQKKFqdqW4h/qJg/hyHlKjauQ9/Ulj89ITE0g7eVlh1F44zb vXJC5h872Nv3YDvebZxNYg6k7ECRj5WO6j1QGV5tcI5fKlzeQleSIoh95dNiB+M4s7Bs RMng== 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=XLqIL9MCDKmDMfvf2fY/6SydW/tFJ5GXHNjUjvn0KvEpdcfslmTEdQ5YlgvX6qsKGU zUXaxo0L9NxzisNy/mBVdiIvOSxNI2hHq5RNCXX7cBREWA4RTmrS1MO5OA9kW1L98fZg WHt6FsdRdlyq2FOKV5ipD81r/VcdIJprQiBkIFzb6V3Ib23SN9kz/RJQxPXFDIG+CZZX 41mqP2pze0pMzNIzI4mZKJ01NDjGC5w5P3kghi9Ou5bWfj1sOgwrcaW0suhDlqB5mHy0 qf7z86eTyqK6QcmAiHZINkICW6k+Y9LnVMlKaxmU/epxHGGT1KclYqMXewKKxzDhkhUK qblQ== X-Gm-Message-State: AOAM5338TbnlwzEapDOOeRiAZix9Kson7lomL5TQH/TkavfqHmiVfIVE soG5VdNhEEHaneKSINfprfUzAIBTGJo= X-Google-Smtp-Source: ABdhPJyyvQXfv9ETRdNARaoDKgGAz0HbXNbckhHbbYJqY6oGr4Q7LTiiZVOWd7qN1z6lJIJ4hGVi+A== X-Received: by 2002:a65:6648:: with SMTP id z8mr525344pgv.418.1633559770443; Wed, 06 Oct 2021 15:36:10 -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 k14sm22369191pga.65.2021.10.06.15.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 15:36:09 -0700 (PDT) From: William Tu To: dev@dpdk.org Cc: Tal Shnaiderman , Akhil Goyal Date: Wed, 6 Oct 2021 22:35:43 +0000 Message-Id: <20211006223544.1882-4-u9012063@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20211006223544.1882-1-u9012063@gmail.com> References: <20211005170252.7-1-u9012063@gmail.com> <20211006223544.1882-1-u9012063@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 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