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 18pipeline PIPELINE0 mirror slots 4 sessions 16 19 20pipeline PIPELINE0 port in 0 link LINK0 rxq 0 bsz 32 21pipeline PIPELINE0 port in 1 link LINK1 rxq 0 bsz 32 22pipeline PIPELINE0 port in 2 link LINK2 rxq 0 bsz 32 23pipeline PIPELINE0 port in 3 link LINK3 rxq 0 bsz 32 24 25pipeline PIPELINE0 port out 0 link LINK0 txq 0 bsz 32 26pipeline PIPELINE0 port out 1 link LINK1 txq 0 bsz 32 27pipeline PIPELINE0 port out 2 link LINK2 txq 0 bsz 32 28pipeline PIPELINE0 port out 3 link LINK3 txq 0 bsz 32 29 30pipeline PIPELINE0 build ./examples/pipeline/examples/mirroring.spec 31 32; 33; Packet mirroring sessions. 34; 35pipeline PIPELINE0 mirror session 0 port 1 clone fast truncate 0 36pipeline PIPELINE0 mirror session 1 port 2 clone slow truncate 0 37pipeline PIPELINE0 mirror session 2 port 3 clone slow truncate 64 38pipeline PIPELINE0 mirror session 3 port 0 clone slow truncate 128 39 40; 41; Pipelines-to-threads mapping. 42; 43thread 1 pipeline PIPELINE0 enable 44