[dpdk-dev] [PATCH v4 0/9] Windows patchset with additional EAL functionalities

Pallavi Kadam pallavi.kadam at intel.com
Thu Jan 9 04:13:03 CET 2020


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.

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 windows compatible header files
  eal: add additional function overrides in windows header files
  eal: getopt implementation for windows
  eal: add function to detect process type
  eal: remove syslog 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              | 185 ++++-
 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/dlfcn.h    |  21 +
 .../windows/eal/include/eal_filesystem.h      |  99 +++
 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    |  58 +-
 .../windows/eal/include/sys/queue.h           |   8 +
 lib/librte_eal/windows/eal/meson.build        |   9 +-
 license/exceptions.txt                        |  12 +-
 17 files changed, 1764 insertions(+), 21 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/dlfcn.h
 create mode 100644 lib/librte_eal/windows/eal/include/eal_filesystem.h
 create mode 100644 lib/librte_eal/windows/eal/include/getopt.h

-- 
2.18.0.windows.1



More information about the dev mailing list