de06137cb2
Following the new RegEx class. There is a need to create a dedicated test application in order to validate this class and PMD. Unlike net device this application loads data from a file. This commit introduces the new RegEx test app. The basic app flow: 1. Configure the RegEx device to use one queue, and set the rule database, using precompiled file. 2. Allocate mbufs based on the requested number of jobs, each job will i get one mbuf. 3. Enqueue as much as possible jobs. 4. Dequeue jobs. 5. if the number of dequeue jobs < requested number of jobs job to step Signed-off-by: Ori Kam <orika@mellanox.com> Signed-off-by: Yuval Avnery <yuvalav@mellanox.com>
14 lines
235 B
Makefile
14 lines
235 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2020 Mellanox Technologies, Ltd
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
APP = dpdk-test-regex
|
|
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
SRCS-y := main.c
|
|
|
|
include $(RTE_SDK)/mk/rte.app.mk
|