examples/pipeline: add VXLAN encapsulation example
[dpdk.git] / examples / pipeline / examples / vxlan_pcap.cli
1 ; SPDX-License-Identifier: BSD-3-Clause
2 ; Copyright(c) 2020 Intel Corporation
3
4 mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 0
5
6 pipeline PIPELINE0 create 0
7
8 pipeline PIPELINE0 port in 0 source MEMPOOL0 ./examples/packet.pcap
9 pipeline PIPELINE0 port in 1 source MEMPOOL0 ./examples/packet.pcap
10 pipeline PIPELINE0 port in 2 source MEMPOOL0 ./examples/packet.pcap
11 pipeline PIPELINE0 port in 3 source MEMPOOL0 ./examples/packet.pcap
12
13 pipeline PIPELINE0 port out 0 sink none
14 pipeline PIPELINE0 port out 1 sink none
15 pipeline PIPELINE0 port out 2 sink none
16 pipeline PIPELINE0 port out 3 sink none
17 pipeline PIPELINE0 port out 4 sink none
18
19 pipeline PIPELINE0 build ./examples/vxlan.spec
20 pipeline PIPELINE0 table vxlan_table update ./examples/vxlan_table.txt none none
21
22 thread 1 pipeline PIPELINE0 enable