xref: /dpdk/examples/pipeline/examples/recirculation.cli (revision f12c41bf4074efb438fc21ab7db13f011f5a1e84)
1; SPDX-License-Identifier: BSD-3-Clause
2; Copyright(c) 2022 Intel Corporation
3
4;
5; Customize the LINK parameters to match your setup.
6;
7mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 0
8
9link LINK0 dev 0000:18:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
10link LINK1 dev 0000:18:00.1 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
11link LINK2 dev 0000:3b:00.0 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
12link LINK3 dev 0000:3b:00.1 rxq 1 128 MEMPOOL0 txq 1 512 promiscuous on
13
14;
15; PIPELINE0 setup.
16;
17pipeline PIPELINE0 create 0
18
19pipeline PIPELINE0 port in 0 link LINK0 rxq 0 bsz 32
20pipeline PIPELINE0 port in 1 link LINK1 rxq 0 bsz 32
21pipeline PIPELINE0 port in 2 link LINK2 rxq 0 bsz 32
22pipeline PIPELINE0 port in 3 link LINK3 rxq 0 bsz 32
23
24pipeline PIPELINE0 port out 0 link LINK0 txq 0 bsz 32
25pipeline PIPELINE0 port out 1 link LINK1 txq 0 bsz 32
26pipeline PIPELINE0 port out 2 link LINK2 txq 0 bsz 32
27pipeline PIPELINE0 port out 3 link LINK3 txq 0 bsz 32
28
29pipeline PIPELINE0 build ./examples/pipeline/examples/recirculation.spec
30
31;
32; Pipelines-to-threads mapping.
33;
34thread 1 pipeline PIPELINE0 enable
35