pipeline: add register array to SWX
[dpdk.git] / examples / pipeline / examples / registers.cli
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/registers.cli
6
7 mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 0
8
9 link LINK0 dev 0000:18:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
10 link LINK1 dev 0000:18:00.1 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
11 link LINK2 dev 0000:3b:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
12 link LINK3 dev 0000:3b:00.1 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
13
14 pipeline PIPELINE0 create 0
15
16 pipeline PIPELINE0 port in 0 link LINK0 rxq 0 bsz 32
17 pipeline PIPELINE0 port in 1 link LINK1 rxq 0 bsz 32
18 pipeline PIPELINE0 port in 2 link LINK2 rxq 0 bsz 32
19 pipeline PIPELINE0 port in 3 link LINK3 rxq 0 bsz 32
20
21 pipeline PIPELINE0 port out 0 link LINK0 txq 0 bsz 32
22 pipeline PIPELINE0 port out 1 link LINK1 txq 0 bsz 32
23 pipeline PIPELINE0 port out 2 link LINK2 txq 0 bsz 32
24 pipeline PIPELINE0 port out 3 link LINK3 txq 0 bsz 32
25
26 pipeline PIPELINE0 build ./examples/pipeline/examples/registers.spec
27
28 thread 1 pipeline PIPELINE0 enable