From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 85AAFA0524; Sat, 1 Feb 2020 01:05:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA97A1C0DD; Sat, 1 Feb 2020 01:05:08 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0B85B1C0CF for ; Sat, 1 Feb 2020 01:05:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2020 16:05:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,387,1574150400"; d="scan'208";a="310151687" Received: from win-dpdk-pallavi.jf.intel.com (HELO localhost.localdomain) ([10.166.188.75]) by orsmga001.jf.intel.com with ESMTP; 31 Jan 2020 16:05:05 -0800 From: Pallavi Kadam To: dev@dpdk.org, thomas@monjalon.net Cc: Harini.Ramakrishnan@microsoft.com, keith.wiles@intel.com, bruce.richardson@intel.com, david.marchand@redhat.com, jerinjacobk@gmail.com, ranjit.menon@intel.com, antara.ganesh.kolar@intel.com, pallavi.kadam@intel.com Date: Fri, 31 Jan 2020 16:03:57 -0800 Message-Id: <20200201000406.11060-1-pallavi.kadam@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20200131000307.10608-1-pallavi.kadam@intel.com> References: <20200131000307.10608-1-pallavi.kadam@intel.com> Subject: [dpdk-dev] [PATCH v7 0/9] Windows patchset with additional EAL functionalities X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 patchset includes additional functionalities for Windows EAL to support command-line parsing feature and some EAL common code on Windows. This patchset can be applied to windpdk-next-dev branch in the draft repo. v7 changes: Removed Windows "eal_filesystem.h" for now and will be added later if required. Currently, Windows EAL uses common version of eal_filesystem.h. v6 changes: Removed sysfs function as it was not required on Windows. Removed syslog and dlfcn support for Windows. v5 changes: Fixed indentation in patch 6. v4 changes: Modified license/exceptions.txt file. The following files in this patch-set require license exceptions as listed: dirent.h MIT license getopt.h BSD-2-Clause license getopt.c ISC and BSD-2-Clause license Removed syslog file in Windows and added ifndef Windows around syslog classification parameters in the common code. v3 Changes: Modified generic rte_vect to add Windows support. Moved RTE_CPU* definitions to OS specific file. Added SPDX tag on top of third party files. v2 Changes: syslog.h: Replaced the BSD license boilerplate to SPDX tag. Pallavi Kadam (9): license: add license exception for windows eal: dirent.h implementation for windows eal: add additional function overrides in windows header files eal: getopt implementation for windows eal: add function to detect process type eal: include SSE4 support for windows eal: remove syslog and dlfcn support for windows build: add additional common files support eal: add minimum viable code to support parsing lib/librte_eal/common/eal_common_options.c | 12 + .../common/include/arch/x86/rte_vect.h | 4 +- lib/librte_eal/windows/eal/eal.c | 194 ++++- lib/librte_eal/windows/eal/eal_debug.c | 1 + lib/librte_eal/windows/eal/eal_lcore.c | 3 + lib/librte_eal/windows/eal/eal_thread.c | 11 + lib/librte_eal/windows/eal/getopt.c | 465 ++++++++++++ lib/librte_eal/windows/eal/include/dirent.h | 664 ++++++++++++++++++ lib/librte_eal/windows/eal/include/getopt.h | 127 ++++ lib/librte_eal/windows/eal/include/pthread.h | 66 ++ lib/librte_eal/windows/eal/include/rte_os.h | 40 ++ lib/librte_eal/windows/eal/include/sched.h | 46 ++ .../windows/eal/include/sys/queue.h | 8 + lib/librte_eal/windows/eal/meson.build | 9 +- license/exceptions.txt | 12 +- 15 files changed, 1651 insertions(+), 11 deletions(-) create mode 100644 lib/librte_eal/windows/eal/getopt.c create mode 100644 lib/librte_eal/windows/eal/include/dirent.h create mode 100644 lib/librte_eal/windows/eal/include/getopt.h -- 2.18.0.windows.1