numam-dpdk/examples/multi_process
Xueming Li 64051bb1f1 devargs: unify scratch buffer storage
In current design, legacy parser rte_devargs_parse() saved scratch
buffer to devargs.args while new parser rte_devargs_layers_parse() saved
to devargs.data. Code using devargs had to know the difference and
cleaned up memory accordingly - error prone.

This patch unifies scratch buffer to data field, introduces
rte_devargs_reset() function to wrap the memory clean up logic.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Reviewed-by: Gaetan Rivet <grive@u256.net>
2021-04-14 22:25:08 +02:00
..
client_server_mp examples: warn about broken pkg-config 2021-01-30 01:27:28 +01:00
hotplug_mp devargs: unify scratch buffer storage 2021-04-14 22:25:08 +02:00
simple_mp examples: warn about broken pkg-config 2021-01-30 01:27:28 +01:00
symmetric_mp examples: warn about broken pkg-config 2021-01-30 01:27:28 +01:00
Makefile