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 95AE0A0C4D; Thu, 7 Oct 2021 00:36:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6E3D40685; Thu, 7 Oct 2021 00:36:09 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 3186A4067A for ; Thu, 7 Oct 2021 00:36:08 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id y5so2647367pll.3 for ; Wed, 06 Oct 2021 15:36:08 -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=Sf/hnpCHiIJ9LROF9gGj88GiDBs6k0EMz1fGKoLv1Xg=; b=mLADEUIatWhJY6DmSXzkClzns8+QYylLU03FG4Lj/iCngZ6LWrJnw1/psHVSAJMfL+ pRFVLLTAM3CwJNFc9YKknsvFsV31onxJNuUA6m/XD9jegZFgAXZ9jNhyVYFkE9I6N2xJ qg58U5QQSSttSWmYQbLyDQixDtfN294JdE++J6+lSyWyMTDBw0n2z2ZqPbpUyRwMzeoN DjsQsSJLy5fA1K/+SqgreJJ+x5MpxM5/QBVrXSJQsU3ZOcNyny7QQAFZ3RDAqgflC7Zo z2NlvCCs8rvqXDOqByJiUpqz073owiuTR4Fic9Gfo0TPUq1u3ZSPBMV1SjF07chyBQ4l vnjg== 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=Sf/hnpCHiIJ9LROF9gGj88GiDBs6k0EMz1fGKoLv1Xg=; b=WN7Mzi3z19f0ZeFsCa5MpTmAx+7dzIFQ1GhCiTARF4Pm45v3ibIZ68n/YMMvTwgyUc gflnkRNQqPWYh9DPV2AyTgSTJAj5Lx5aoSV7LnznCgfhv0fTQCKYxuA3PEdBX2CqQmGZ hTLjBCmJbBFbN+Sq0iZokZNG5JazSw4bYJ3Iw0rvGmBIw4ERZbN2bNuX800A9cj+bA5/ ngN+oOtqiJEF16gGmAw3crFaQJZmQTtPDFV7Dq6FipEmyP4IZvMJ9xPAjoVKJATpQcUK +kQ1hsPiJhsM374uYxKpcKN9iMLBpf2zZ7GhJVq+vPBiYieJiGNlOfqMnR5Uw6ptOnZb Ojvw== X-Gm-Message-State: AOAM530cHjJFYYxbc29svZwnUhwVG3fI/VcdLcx67CZVrVGk7d+RO39e 7lu4e+V9ESXPGGdO8HFlLjrf6MfCx4A= X-Google-Smtp-Source: ABdhPJyFvfH+zY2sQ5zS6G/0Y8QVqHAw+niGNJU+lc7ZklNP5BNBWQC2Y16yHr2DgCJKPj0yOE7mLQ== X-Received: by 2002:a17:90a:307:: with SMTP id 7mr842700pje.176.1633559766758; Wed, 06 Oct 2021 15:36:06 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 15:36:06 -0700 (PDT) From: William Tu To: dev@dpdk.org Cc: Dmitry.Kozliuk@gmail.com, david.marchand@redhat.com Date: Wed, 6 Oct 2021 22:35:40 +0000 Message-Id: <20211006223544.1882-1-u9012063@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20211005170252.7-1-u9012063@gmail.com> References: <20211005170252.7-1-u9012063@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 0/4] net/ixgbe: 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" This patch enables building the ixgbe driver for Windows. It also enables its dependencies on security and cryptodev. I tested on AWS using ixgbe VF device, using dpdk-testpmd. Tal Shnaiderman (3): security: use the net library for IP structs security: build on Windows cryptodev: build on Windows William Tu (1): net/ixgbe: build on Windows --- v5: * fix error due to "invalid register for .seh_savexmm" However, I'm not able to reproduce the error on my mingw. I will check the DPDK CI... * add release notes and documentation suggested by Pallavi v4: * fix mingw build by defining the IPPROTO_SCTP if needed * simplify the meson file * change patch title, rebase to main v3: * I include Tal's patch series due to some fixes. * apply on master, after commit f1f6ebc0eaf6 ("eal: remove sys/queue.h from public headers") ixgbe needs to add "include " * For "cryptodev: build on Windows", need to add "include " * For "security: build on Windows", remove unresolved external symbols, reported by Pallavi at: http://inbox.dpdk.org/dev/CALDO+SZ-iL4jhcSZPZZKkbY+dTa1OP+dGKZs86iRE6b2pUsvBw@mail.gmail.com/T/#m0160fb800fe8e8d83624f3bdb39a01b7ef9b5f35 v2: * add dependencies on cryptodev and security * add #include , instead of doing #ifndef RTE_EXEC_ENV_WINDOWS #include #else #include #endif however, including rte_ip.h requires including another set of dependent headers, see the drivers/net/ixgbe/base/meson.build doc/guides/nics/features/ixgbe.ini | 1 + doc/guides/nics/features/ixgbe_vf.ini | 1 + doc/guides/nics/ixgbe.rst | 19 +++++++++++++++++-- doc/guides/rel_notes/release_21_11.rst | 4 ++++ drivers/net/ixgbe/base/ixgbe_hv_vf.c | 1 + drivers/net/ixgbe/base/ixgbe_osdep.h | 9 +++++++++ drivers/net/ixgbe/base/meson.build | 2 +- drivers/net/ixgbe/ixgbe_ethdev.c | 2 +- drivers/net/ixgbe/ixgbe_ethdev.h | 1 + drivers/net/ixgbe/ixgbe_flow.c | 2 +- drivers/net/ixgbe/ixgbe_tm.c | 2 +- drivers/net/ixgbe/meson.build | 9 +++------ lib/cryptodev/cryptodev_pmd.c | 2 ++ lib/cryptodev/rte_cryptodev.c | 1 - lib/cryptodev/version.map | 2 -- lib/meson.build | 2 ++ lib/net/rte_ip.h | 1 + lib/security/meson.build | 2 +- lib/security/rte_security.h | 5 +---- lib/security/version.map | 3 --- 20 files changed, 48 insertions(+), 23 deletions(-) -- 2.33.0.windows.2