d6bba625cd
Adding support to create and populate the memory for graph reel. This includes reserving the memory in the memzone, populating the nodes, Allocating memory for node-specific streams to hold objects. Once it is populated the reel memory contains the following sections. +---------------------+ | Graph Header | +---------------------+ | Fence | +---------------------+ | Circular buffer | +---------------------+ | Fence | +---------------------+ | Node Object 0 | +------------------- -+ | Node Object 1 | +------------------- -+ | Node Object 2 | +------------------- -+ | Node Object n | +------------------- -+ 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>
28 lines
708 B
Makefile
28 lines
708 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(C) 2020 Marvell International Ltd.
|
|
#
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
# library name
|
|
LIB = librte_graph.a
|
|
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
LDLIBS += -lrte_eal
|
|
|
|
EXPORT_MAP := rte_graph_version.map
|
|
|
|
# all source are stored in SRCS-y
|
|
SRCS-$(CONFIG_RTE_LIBRTE_GRAPH) += node.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_GRAPH) += graph.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_GRAPH) += graph_ops.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_GRAPH) += graph_debug.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_GRAPH) += graph_populate.c
|
|
|
|
# install header files
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_GRAPH)-include += rte_graph.h
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_GRAPH)-include += rte_graph_worker.h
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|