xref: /dpdk/app/graph/examples/l2fwd_pcap.cli (revision 2c7debd93742886380c097b28a58f6a76880afb3)
1; SPDX-License-Identifier: BSD-3-Clause
2; Copyright(c) 2023 Marvell.
3
4;
5; Graph configuration for given usecase
6;
7graph l2fwd coremask 0xff bsz 32 tmo 10 model default pcap_enable 1 num_pcap_pkts 100000 pcap_file /tmp/output.pcap
8
9;
10; Mempools to be attached with ethdev
11;
12mempool mempool0 size 8192 buffers 4000 cache 256 numa 0
13
14;
15; DPDK devices and configuration.
16;
17; Note: Customize the parameters below to match your setup.
18;
19ethdev net_pcap0 rxq 1 txq 8 mempool0
20ethdev net_pcap1 rxq 1 txq 8 mempool0
21
22;
23; Rx/Tx port mapping
24;
25ethdev forward net_pcap1 net_pcap0
26
27;
28; Port-Queue-Core mapping for ethdev_rx node
29;
30ethdev_rx map port net_pcap0 queue 0 core 1
31
32;
33; Graph start command to create graph.
34;
35; Note: No more command should come after this.
36;
37graph start
38