xref: /dpdk/examples/pipeline/examples/vxlan.cli (revision 41f5dfcbf973b41d08fdfd2842c0e539edcc4f03)
1; SPDX-License-Identifier: BSD-3-Clause
2; Copyright(c) 2020 Intel Corporation
3
4# Example command line:
5#	./build/examples/dpdk-pipeline -l0-1 -- -s ./examples/pipeline/examples/vxlan.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/vxlan.spec /tmp/vxlan.c
14pipeline libbuild /tmp/vxlan.c /tmp/vxlan.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/vxlan.so io ./examples/pipeline/examples/ethdev.io numa 0
31
32;
33; Initial set of table entries.
34;
35; The table entries can later be updated at run-time through the CLI commands.
36;
37pipeline PIPELINE0 table vxlan_table add ./examples/pipeline/examples/vxlan_table.txt
38pipeline PIPELINE0 commit
39
40;
41; Pipelines-to-threads mapping.
42;
43pipeline PIPELINE0 enable thread 1
44