Files
FAT-Allocator/dpdk/examples/pipeline/examples/vxlan.cli

44 lines
1.3 KiB
Plaintext

; SPDX-License-Identifier: BSD-3-Clause
; Copyright(c) 2020 Intel Corporation
# Example command line:
# ./build/examples/dpdk-pipeline -l0-1 -- -s ./examples/pipeline/examples/vxlan.cli
#
# Once the application has started, the command to get the CLI prompt is:
# telnet 0.0.0.0 8086
;
; Pipeline code generation & shared object library build.
;
pipeline codegen ./examples/pipeline/examples/vxlan.spec /tmp/vxlan.c
pipeline libbuild /tmp/vxlan.c /tmp/vxlan.so
;
; List of DPDK devices.
;
; Note: Customize the parameters below to match your setup.
;
mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 0
ethdev 0000:18:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
ethdev 0000:18:00.1 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
ethdev 0000:3b:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
ethdev 0000:3b:00.1 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
;
; List of pipelines.
;
pipeline PIPELINE0 build lib /tmp/vxlan.so io ./examples/pipeline/examples/ethdev.io numa 0
;
; Initial set of table entries.
;
; The table entries can later be updated at run-time through the CLI commands.
;
pipeline PIPELINE0 table vxlan_table add ./examples/pipeline/examples/vxlan_table.txt
pipeline PIPELINE0 commit
;
; Pipelines-to-threads mapping.
;
thread 1 pipeline PIPELINE0 enable