[dpdk-dev] [PATCH v6 0/8] HelloWorld example for windows
Harini Ramakrishnan
Harini.Ramakrishnan at microsoft.com
Thu Mar 28 20:28:39 CET 2019
Acked-by: Harini Ramakrishnan <harini.ramakrishnan at microsoft.com>
-----Original Message-----
From: dev <dev-bounces at dpdk.org> On Behalf Of Anand Rawat
Sent: Wednesday, March 27, 2019 7:21 PM
To: dev at dpdk.org
Cc: anand.rawat at intel.com; pallavi.kadam at intel.com; ranjit.menon at intel.com; jeffrey.b.shaw at intel.com; bruce.richardson at intel.com; thomas at monjalon.net
Subject: [dpdk-dev] [PATCH v6 0/8] HelloWorld example for windows
Includes Windows-specific EAL changes and meson changes to build the code on windows.
v6 Changes:
1. Introduced rte_os.h for esstential os specific macros and typedefs.
2. Fixed commit typos and 'new line required at eof' issues.
v5 Changes:
1. Reduced meson workrounds for windows.
2. Updated documention to include details about buildtool options
v4 Changes:
1. Exposed more functions for eal DLL in the module definition file 2. Moved disabling meson logic to sub directories
v3 Changes:
1. Separated meson workarounds from the essential code changes 2. Added support for kvargs 3. Updated meson for building DLL on windows using DEF files 4. Fixed documentation for html links and linker dependency 5. Added comments for windows header and source files
v2 Changes:
1. Incorporated reviews from v1.
2. Fixed license period for updated files.
3. Renamed 'winapp' folder to 'windows'.
4. Cleaned unneeded meson changes.
5. Fixed code style warnings.
6. Added maintainers information for windows branch
notes:
*patch 3/8 contains module definition files and meson changes required to build shared libraries on windows. These may be removed in the future releases to be generated from the existing .map files.
*patch 8/8 contains meson workarounds to build helloworld on windows, which will later be a part of the draft repository
*command-line parsing is not a part of this version as a result lcore mask is currently not supported.
*kernel modules and documentation can not be built on windows currently and should not be enabled.
Anand Rawat (8):
eal: eal stub to add windows support
eal: add header files to support os specifics
build: add module definition file for windows
eal: sys/queue.h implementation for windows
eal: add headers for compatibility with windows
eal: add minimum viable code for eal on windows
doc: add documentation for windows
build: meson changes to build on windows
MAINTAINERS | 7 +
app/meson.build | 6 +-
buildtools/meson.build | 6 +-
config/meson.build | 23 +-
config/x86/meson.build | 14 +-
doc/guides/index.rst | 3 +-
doc/guides/windows_gsg/build_dpdk.rst | 73 ++++
doc/guides/windows_gsg/index.rst | 14 +
doc/guides/windows_gsg/intro.rst | 20 ++
drivers/meson.build | 6 +-
examples/meson.build | 6 +-
kernel/windows/meson.build | 4 +
lib/librte_eal/common/include/rte_common.h | 5 +-
.../common/include/rte_string_fns.h | 4 +-
lib/librte_eal/common/meson.build | 14 +-
.../freebsd/eal/include/exec-env/rte_os.h | 10 +
.../linux/eal/include/exec-env/rte_os.h | 8 +
lib/librte_eal/meson.build | 6 +-
lib/librte_eal/rte_eal_exports.def | 9 +
lib/librte_eal/windows/eal/eal.c | 84 +++++
lib/librte_eal/windows/eal/eal_debug.c | 19 ++
lib/librte_eal/windows/eal/eal_lcore.c | 100 ++++++
lib/librte_eal/windows/eal/eal_thread.c | 153 +++++++++
.../windows/eal/include/exec-env/fnmatch.h | 43 +++
.../windows/eal/include/exec-env/pthread.h | 22 ++
.../windows/eal/include/exec-env/regex.h | 85 +++++
.../windows/eal/include/exec-env/rte_os.h | 50 +++
.../windows/eal/include/exec-env/sched.h | 41 +++
.../windows/eal/include/exec-env/unistd.h | 8 +
.../windows/eal/include/sys/queue.h | 320 ++++++++++++++++++
lib/librte_eal/windows/eal/meson.build | 12 +
lib/librte_kvargs/rte_kvargs_exports.def | 7 +
lib/meson.build | 23 +-
33 files changed, 1176 insertions(+), 29 deletions(-) create mode 100644 doc/guides/windows_gsg/build_dpdk.rst
create mode 100644 doc/guides/windows_gsg/index.rst create mode 100644 doc/guides/windows_gsg/intro.rst create mode 100644 kernel/windows/meson.build create mode 100644 lib/librte_eal/freebsd/eal/include/exec-env/rte_os.h
create mode 100644 lib/librte_eal/linux/eal/include/exec-env/rte_os.h
create mode 100644 lib/librte_eal/rte_eal_exports.def
create mode 100644 lib/librte_eal/windows/eal/eal.c create mode 100644 lib/librte_eal/windows/eal/eal_debug.c
create mode 100644 lib/librte_eal/windows/eal/eal_lcore.c
create mode 100644 lib/librte_eal/windows/eal/eal_thread.c
create mode 100644 lib/librte_eal/windows/eal/include/exec-env/fnmatch.h
create mode 100644 lib/librte_eal/windows/eal/include/exec-env/pthread.h
create mode 100644 lib/librte_eal/windows/eal/include/exec-env/regex.h
create mode 100644 lib/librte_eal/windows/eal/include/exec-env/rte_os.h
create mode 100644 lib/librte_eal/windows/eal/include/exec-env/sched.h
create mode 100644 lib/librte_eal/windows/eal/include/exec-env/unistd.h
create mode 100644 lib/librte_eal/windows/eal/include/sys/queue.h
create mode 100644 lib/librte_eal/windows/eal/meson.build
create mode 100644 lib/librte_kvargs/rte_kvargs_exports.def
--
2.17.1.windows.2
More information about the dev
mailing list