[dpdk-dev] [PATCH v8 02/11] eal: introduce internal wrappers for file operations

Thomas Monjalon thomas at monjalon.net
Thu Jun 11 19:13:32 CEST 2020


10/06/2020 16:27, Dmitry Kozlyuk:
> Introduce OS-independent wrappers in order to support common EAL code
> on Unix and Windows:
> 
> * eal_file_open: open or create a file.
> * eal_file_lock: lock or unlock an open file.
> * eal_file_truncate: enforce a given size for an open file.
> 
> Implementation for Linux and FreeBSD is placed in "unix" subdirectory,
> which is intended for common code between the two. These thin wrappers
> require no special maintenance.
[...]
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> +Unix shared files
> +F: lib/librte_eal/unix/

Can be moved in "EAL API and common code".





More information about the dev mailing list