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 82F41A0032; Fri, 1 Oct 2021 19:34:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5641B41203; Fri, 1 Oct 2021 19:34:04 +0200 (CEST) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTP id 28E2D411F3 for ; Fri, 1 Oct 2021 19:34:03 +0200 (CEST) Received: by mail-pj1-f45.google.com with SMTP id oj16so3749907pjb.1 for ; Fri, 01 Oct 2021 10:34:03 -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=NDgSh/9ZjI5sx8SVE1T6IWSmgVOHhPADe4wVTsWQdPc=; b=bXaz68hD+EnUjHATelsMukWqFgCebqFvrRw8ZOeWl8n1tLQLhUHWFQm6P+FW57yzNR bvqhY5f2JHGWGDT90iJsRxy8hGXykJiKaKgNRC5ZXzj1jRLnXM6N2Rq+SDxFCdAW/kcO icc/NOM1pjDJ3iciFuqHBdizsoo5i/qcypL269Sz200M+3pDCWo81i0vPuvDIp1uDjut 1kDUDzhZ4y9UP3M8Q28wk3EX8LpUm/mT97nQ9f43C8fOTjLz0P1+kmQSGL7ozkKATUBQ 4EL7yWfsDdfyzMTOCkTvIWEZgV7bUKnCCLYZahAq8Gr8DEVY75Gz4Coq/R1QENDtVKnx 8Zmw== 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=NDgSh/9ZjI5sx8SVE1T6IWSmgVOHhPADe4wVTsWQdPc=; b=GfKF9LBfwNJ1XlLjA21nbaQA8gt7maMVdO2uoJyLUbG/+YH/k32Mb9z0W5b0KHWIP/ ZIVK5e2z6gOTs9we9X2sBF1DWbyrpy0fkT4WYChqR8kV6ZiVZTgg4NJYaTagTDqOaI3Y pJhXaQtwGVUshTqF1WHE/3sSXFIm0KaVpjQWPyWJVQZ2FQC+tmolx0eNSGHQ16hN8Iz4 pEsunWW1vbVVB6Xz+RC2FHTmWyPL/sqsm/2uqELYh6dpDqY7FuUIbneBUOIX6D79Wf9z f7PhUQ2SEg2dpLp21b+h/rd5MGnOwRL3PR9NvPU6x+u9RO43sQnLVt6aTubE+PsGsrP+ gpUw== X-Gm-Message-State: AOAM530r8Y7zn4tkbZYXMBrmeZboLIpX2AWtsocQ8DjrOUFNudsh+y6B EsXyFhNOuj9f3F5YTxwQW8y+/jGngdo= X-Google-Smtp-Source: ABdhPJw1SKDanvNR1mtqJwaWX4PLTHLSKpYTtVgnFQWBs2JuBIaM22ydhq0QljGXONgW/bJrwU0ijw== X-Received: by 2002:a17:90a:ae18:: with SMTP id t24mr14448605pjq.92.1633109642003; Fri, 01 Oct 2021 10:34:02 -0700 (PDT) Received: from sc9-mailhost3.vmware.com ([66.170.99.2]) by smtp.gmail.com with ESMTPSA id e7sm6854684pfc.114.2021.10.01.10.34.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 10:34:01 -0700 (PDT) From: William Tu To: dev@dpdk.org Cc: pallavi.kadam@intel.com, talshn@nvidia.com, Dmitry.Kozliuk@gmail.com Date: Fri, 1 Oct 2021 17:33:43 -0700 Message-Id: <20211002003344.594-4-u9012063@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20211002003344.594-1-u9012063@gmail.com> References: <20211002003344.594-1-u9012063@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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: 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 95b0ea41c4..e5f0094a82 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