graph: implement node registration
authorJerin Jacob <jerinj@marvell.com>
Sat, 11 Apr 2020 14:14:01 +0000 (19:44 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 5 May 2020 21:28:03 +0000 (23:28 +0200)
commitc7c995cc58b3b3892baf6461e1db26413877580d
treef347db3122447970b2766fe98297bca8e871fc68
parenta2da742768bdd5943718342a7c9a65add3dc5ffa
graph: implement node registration

Adding rte_node_register() API implementation includes allocating
memory for node object, check for duplicate node name and
add the allocated node to STAILQ node_list for future use.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
lib/librte_graph/Makefile
lib/librte_graph/graph.c
lib/librte_graph/graph_private.h [new file with mode: 0644]
lib/librte_graph/meson.build
lib/librte_graph/node.c [new file with mode: 0644]
lib/librte_graph/rte_graph_version.map