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 D4A20A0032; Fri, 1 Oct 2021 19:34:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3B2841194; Fri, 1 Oct 2021 19:34:00 +0200 (CEST) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id 433254116A for ; Fri, 1 Oct 2021 19:33:59 +0200 (CEST) Received: by mail-pg1-f174.google.com with SMTP id s75so10076012pgs.5 for ; Fri, 01 Oct 2021 10:33:59 -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:mime-version :content-transfer-encoding; bh=34d3/37ALhsK+cTggJymM27IwFPkwJgoir/ySQDFgCk=; b=dqkmXSqz9ZQA0S2O+KHPZVMmCC5vojAZ0zeHwwxGovJrj/cfYHJ6g3s/vWc8Y05+K9 Evj7gjHD4FMd5HUFHUpZYTZ+Ppxs8FR06iywmaFqPBjGjZITVhNFqhEV+4ker2g1RYUz bcCPYlWq7Wom7GLwiNG73dY46dfIRmFINdmLtE7Ld+4Qq7tLwoPqViXmgg4kNSUuFGA7 7s8f7xSXd5yXRV1g3LpUBlFxjVpUgHJHTH2Vy+hz9ge89Xs9oDJQOEpLfHRc/Ps6kZo+ D4E6JbwcsVbDouqxllaZd3aVmNEqDLTSkCEhm7dVtkaFehQqDgSKcx7N35pfx6lT80M2 J2mQ== 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:mime-version :content-transfer-encoding; bh=34d3/37ALhsK+cTggJymM27IwFPkwJgoir/ySQDFgCk=; b=rnzXslnIvI+YHkcKqHAcRgXSz6IeQGQ4T657we4smMNjiFtlg1JvCQN9XveFpBerYU ZN1jKAma0KLx5toH44WbSspzpmfDn+hw2pGpRc8fGOyOGwvyKAYGpf96zQICbBZxMZS6 ByaTSREKIayQEy8TMy6cIYtCt3fekgdD+ldcDI2Tb22z5NaIbao0jdeiyhxJ+zDbDzVL dcLOxb5XsxXehiatMG6LQdCPmwaMFttWUqI7w26mKXzn6cAPjUNSGFBu61cCQkJUqnJF zzJg0bOSR+267CxAATBlQ+s6tfdaGuEA+6nM0y1IiZk3SF7SVhA2fmgJfubNIwzBLbs6 VP1g== X-Gm-Message-State: AOAM533AJ9M778MySNxwCgG7rHRVf8aoUHzFQBQ/O/AmvfZa3RHwTdqB Ist4qrTFi5NAHCy6GlwtVwJpkafos2U= X-Google-Smtp-Source: ABdhPJxc1y7fa9twfKRYJcRDslEEJJQsn9s8+hpbeDMvYVE7cNmUiPsVZF1v92j0rHCSB04R1Zy+/A== X-Received: by 2002:a05:6a00:1a4c:b0:44b:1fa6:532c with SMTP id h12-20020a056a001a4c00b0044b1fa6532cmr12607285pfv.64.1633109637918; Fri, 01 Oct 2021 10:33:57 -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.33.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 10:33:57 -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:40 -0700 Message-Id: <20211002003344.594-1-u9012063@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/4] net/ixgbe: Add support for 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. Signed-off-by: William Tu Tal Shnaiderman (3): security: use the net library for IP structs security: build on Windows cryptodev: build on Windows William Tu (1): net/ixgbe: Add support for Windows --- 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 drivers/net/ixgbe/base/ixgbe_hv_vf.c | 1 + drivers/net/ixgbe/base/ixgbe_osdep.h | 5 +++++ drivers/net/ixgbe/base/meson.build | 7 +++++++ 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 | 6 ------ 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 --- 16 files changed, 24 insertions(+), 20 deletions(-) -- 2.33.0.windows.2