[dpdk-dev] [PATCH v5 3/8] kvargs: adding a module definition file

Jerin Jacob Kollanukkaran jerinj at marvell.com
Tue Mar 26 11:32:34 CET 2019


On Mon, 2019-03-25 at 23:02 -0700, Anand Rawat wrote:
> adding a DEF file for kvargs to specify the exports
> for the creation of the shared library.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Signed-off-by: Anand Rawat <anand.rawat at intel.com>
> Reviewed-by: Pallavi Kadam <pallavi.kadam at intel.com>
> Reviewed-by: Ranjit Menon <ranjit.menon at intel.com>
> ---
>  lib/librte_kvargs/rte_kvargs_exports.def | 7 +++++++
>  1 file changed, 7 insertions(+)
>  create mode 100644 lib/librte_kvargs/rte_kvargs_exports.def
> 
> diff --git a/lib/librte_kvargs/rte_kvargs_exports.def
> b/lib/librte_kvargs/rte_kvargs_exports.def
> new file mode 100644
> index 000000000..265d3cc9a
> --- /dev/null
> +++ b/lib/librte_kvargs/rte_kvargs_exports.def

Maintaining two separate files (.map and .def) for shared 
library definition will be pain full.

# Is it possible to add neutral file format if windows is not happy
with .map file?
# I am not sure, How we can express "EXPERIMENTAL" tag with .def file.
# It is good to check, How  OTHER cross platform libraries addressing
this problem



> @@ -0,0 +1,7 @@
> +EXPORTS
> +	rte_kvargs_count
> +	rte_kvargs_free
> +	rte_kvargs_parse
> +	rte_kvargs_process
> +	rte_kvargs_parse_delim
> +	rte_kvargs_strcmp
> \ No newline at end of file


More information about the dev mailing list