app/test-fib: add test application for FIB
Introduce new application to provide user to evaluate and perform custom functional and performance tests for FIB library. Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
This commit is contained in:
parent
207b1c813f
commit
103809d032
@ -1374,6 +1374,7 @@ F: lib/librte_rib/
|
||||
F: app/test/test_rib*
|
||||
F: lib/librte_fib/
|
||||
F: app/test/test_fib*
|
||||
F: app/test-fib/
|
||||
|
||||
Traffic metering
|
||||
M: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
|
||||
|
21
app/test-fib/Makefile
Normal file
21
app/test-fib/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2010-2014 Intel Corporation
|
||||
|
||||
include $(RTE_SDK)/mk/rte.vars.mk
|
||||
|
||||
ifeq ($(CONFIG_RTE_LIBRTE_FIB),y)
|
||||
|
||||
APP = testfib
|
||||
|
||||
CFLAGS += -O3
|
||||
CFLAGS += $(WERROR_FLAGS)
|
||||
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
||||
|
||||
LDFLAGS += -lresolv
|
||||
|
||||
# all source are stored in SRCS-y
|
||||
SRCS-y := main.c
|
||||
|
||||
include $(RTE_SDK)/mk/rte.app.mk
|
||||
|
||||
endif
|
1262
app/test-fib/main.c
Normal file
1262
app/test-fib/main.c
Normal file
File diff suppressed because it is too large
Load Diff
6
app/test-fib/meson.build
Normal file
6
app/test-fib/meson.build
Normal file
@ -0,0 +1,6 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright(c) 2019 Intel Corporation
|
||||
|
||||
allow_experimental_apis = true
|
||||
sources = files('main.c')
|
||||
deps += ['fib', 'lpm', 'net']
|
Loading…
x
Reference in New Issue
Block a user