gpudev: add communication list
[dpdk.git] / examples / pipeline / examples / fib.cli
1 ; SPDX-License-Identifier: BSD-3-Clause
2 ; Copyright(c) 2020 Intel Corporation
3
4 ;
5 ; Customize the LINK parameters to match your setup.
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 ;
15 ; PIPELINE0 setup.
16 ;
17 pipeline PIPELINE0 create 0
18
19 pipeline PIPELINE0 port in 0 link LINK0 rxq 0 bsz 32
20 pipeline PIPELINE0 port in 1 link LINK1 rxq 0 bsz 32
21 pipeline PIPELINE0 port in 2 link LINK2 rxq 0 bsz 32
22 pipeline PIPELINE0 port in 3 link LINK3 rxq 0 bsz 32
23
24 pipeline PIPELINE0 port out 0 link LINK0 txq 0 bsz 32
25 pipeline PIPELINE0 port out 1 link LINK1 txq 0 bsz 32
26 pipeline PIPELINE0 port out 2 link LINK2 txq 0 bsz 32
27 pipeline PIPELINE0 port out 3 link LINK3 txq 0 bsz 32
28 pipeline PIPELINE0 port out 4 sink none
29
30 pipeline PIPELINE0 build ./examples/pipeline/examples/fib.spec
31
32 ;
33 ; Initial set of table entries.
34 ;
35 ; The table entries can later be updated at run-time through the CLI commands. Once the application
36 ; has been successfully started, the command to get the CLI prompt is: telnet 0.0.0.0 8086.
37 ;
38 pipeline PIPELINE0 table routing_table add ./examples/pipeline/examples/fib_routing_table.txt
39 pipeline PIPELINE0 selector nexthop_group_table group add
40 pipeline PIPELINE0 selector nexthop_group_table group add
41 pipeline PIPELINE0 selector nexthop_group_table group add
42 pipeline PIPELINE0 selector nexthop_group_table group add
43 pipeline PIPELINE0 selector nexthop_group_table group add
44 pipeline PIPELINE0 selector nexthop_group_table group add
45 pipeline PIPELINE0 selector nexthop_group_table group add
46 pipeline PIPELINE0 selector nexthop_group_table group add
47 pipeline PIPELINE0 selector nexthop_group_table group add
48 pipeline PIPELINE0 selector nexthop_group_table group add
49 pipeline PIPELINE0 selector nexthop_group_table group add
50 pipeline PIPELINE0 selector nexthop_group_table group add
51 pipeline PIPELINE0 selector nexthop_group_table group member add ./examples/pipeline/examples/fib_nexthop_group_table.txt
52 pipeline PIPELINE0 table nexthop_table add ./examples/pipeline/examples/fib_nexthop_table.txt
53 pipeline PIPELINE0 commit
54
55 ;
56 ; Pipelines-to-threads mapping.
57 ;
58 thread 1 pipeline PIPELINE0 enable