xref: /dpdk/examples/pipeline/examples/recirculation.cli (revision 1e472b5746aeb6189fa254ab82ce4cd27999f868)
1; SPDX-License-Identifier: BSD-3-Clause
2; Copyright(c) 2022 Intel Corporation
3
4# Example command line:
5#	./build/examples/dpdk-pipeline -l0-1 -- -s ./examples/pipeline/examples/recirculation.cli
6#
7# Once the application has started, the command to get the CLI prompt is:
8#	telnet 0.0.0.0 8086
9
10;
11; Pipeline code generation & shared object library build.
12;
13pipeline codegen ./examples/pipeline/examples/recirculation.spec /tmp/recirculation.c
14pipeline libbuild /tmp/recirculation.c /tmp/recirculation.so
15
16;
17; List of DPDK devices.
18;
19; Note: Customize the parameters below to match your setup.
20;
21mempool MEMPOOL0 meta 0 pkt 2176 pool 32K cache 256 numa 0
22ethdev 0000:18:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
23ethdev 0000:18:00.1 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
24ethdev 0000:3b:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
25ethdev 0000:3b:00.1 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
26
27;
28; List of pipelines.
29;
30pipeline PIPELINE0 build lib /tmp/recirculation.so io ./examples/pipeline/examples/ethdev.io numa 0
31
32;
33; Pipelines-to-threads mapping.
34;
35pipeline PIPELINE0 enable thread 1
36