1 ; SPDX-License-Identifier: BSD-3-Clause
2 ; Copyright(c) 2022 Intel Corporation
5 ; Customize the LINK parameters to match your setup.
7 mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 0
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
17 pipeline PIPELINE0 create 0
18 pipeline PIPELINE0 mirror slots 4 sessions 16
20 pipeline PIPELINE0 port in 0 link LINK0 rxq 0 bsz 32
21 pipeline PIPELINE0 port in 1 link LINK1 rxq 0 bsz 32
22 pipeline PIPELINE0 port in 2 link LINK2 rxq 0 bsz 32
23 pipeline PIPELINE0 port in 3 link LINK3 rxq 0 bsz 32
25 pipeline PIPELINE0 port out 0 link LINK0 txq 0 bsz 32
26 pipeline PIPELINE0 port out 1 link LINK1 txq 0 bsz 32
27 pipeline PIPELINE0 port out 2 link LINK2 txq 0 bsz 32
28 pipeline PIPELINE0 port out 3 link LINK3 txq 0 bsz 32
30 pipeline PIPELINE0 build ./examples/pipeline/examples/mirroring.spec
33 ; Packet mirroring sessions.
35 pipeline PIPELINE0 mirror session 0 port 1 clone fast truncate 0
36 pipeline PIPELINE0 mirror session 1 port 2 clone slow truncate 0
37 pipeline PIPELINE0 mirror session 2 port 3 clone slow truncate 64
38 pipeline PIPELINE0 mirror session 3 port 0 clone slow truncate 128
41 ; Pipelines-to-threads mapping.
43 thread 1 pipeline PIPELINE0 enable