Merge "[l2l3 stack] implements new nd state machine & nd buffering"
[samplevnf.git] / VNFs / vFW / config / VFW_SWLB_IPV4_MultiPortPair_4Thread.cfg
1 ; Copyright (c) 2017 Intel Corporation
2 ;
3 ; Licensed under the Apache License, Version 2.0 (the "License");
4 ; you may not use this file except in compliance with the License.
5 ; You may obtain a copy of the License at
6 ;
7 ;      http:#www.apache.org/licenses/LICENSE-2.0
8 ;
9 ; Unless required by applicable law or agreed to in writing, software
10 ; distributed under the License is distributed on an "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ; See the License for the specific language governing permissions and
13 ; limitations under the License.
14
15 [PIPELINE0]
16 type = MASTER
17 core = 0
18 [PIPELINE1]
19 type =  ARPICMP
20 core = 1
21
22 pktq_in  = SWQ2 SWQ13
23 pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0
24 ; ARP route table entries (ip, mask, if_port, nh) hex values with no 0x
25 arp_route_tbl = (ad102814,ff000000,1,ad102814) (cb106414,ff000000,0,cb106414)
26 arp_route_tbl = (ac102814,ff000000,3,ac102814) (ca106414,ff000000,2,ca106414)
27 ; Link MAC addresses in order aa:bb:cc:dd:ee:ff separated by space
28 ;
29 ; Hex values with no leading 0x, MACs in ascending port order starting @P0
30 #ports_mac_list = 00:cb:10:64:14:00 00:ca:10:64:14:00 00:ad:10:28:14:00 00:ac:10:28:14:00
31 ports_mac_list = 00:cb:10:64:14:00 00:ca:10:64:14:00 00:ad:10:28:14:00 00:ac:10:28:14:00
32 ;
33 ; egress (private interface) info
34 pktq_in_prv =  RXQ0.0 RXQ2.0
35 ;
36 ;for pub port <-> prv port mapping (prv, pub)
37 prv_to_pub_map = (0,1)(2,3)
38 prv_que_handler = (0,2)
39
40 ;lib_arp_debug = 1
41 [PIPELINE2]
42 type = TXRX
43 core = s0c2
44 pktq_in  = RXQ0.0 RXQ1.0 ;SWQ4 SWQ5 ;SWQ8 SWQ9 SWQ12 SWQ13
45 pktq_out = SWQ0 SWQ1 SWQ2;TXQ0.0 TXQ1.0 ;TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2
46 pipeline_txrx_type = RXRX
47 ;
48 [PIPELINE3]
49 type = LOADB
50 core = 3
51 pktq_in  = SWQ0 SWQ1
52 pktq_out = SWQ3 SWQ4 SWQ5 SWQ6 ;SWQ10 SWQ11
53 outport_offset = 136; 8
54 n_vnf_threads = 2
55 prv_que_handler = (0)
56
57 n_lb_tuples = 5
58 ;loadb_debug = 0
59 [PIPELINE4]
60 type = VFW
61 core = s0c4
62 pktq_in  = SWQ3 SWQ4
63 pktq_out = SWQ7 SWQ8;TXQ0.0 TXQ1.0
64
65 n_rules = 10000
66
67 ;n_flows gets round up to power of 2
68 n_flows = 1000000
69 traffic_type = 4
70 ; tcp_time_wait controls timeout for closed connection, normally 120
71 tcp_time_wait = 10
72 tcp_be_liberal = 0
73 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
74 ;udp_unreplied = 20
75 ;udp_replied = 20
76 [PIPELINE5]
77 type = VFW
78 core = s0c4h
79 pktq_in  = SWQ5 SWQ6
80 pktq_out = SWQ9 SWQ10;TXQ0.0 TXQ1.0
81
82 n_rules = 10000
83
84 ;n_flows gets round up to power of 2
85 n_flows = 1000000
86 traffic_type = 4
87 ; tcp_time_wait controls timeout for closed connection, normally 120
88 tcp_time_wait = 10
89 tcp_be_liberal = 0
90
91 [PIPELINE6]
92 type = TXRX
93 core = s0c2h
94 pktq_in  = SWQ7 SWQ8 SWQ9 SWQ10 ;SWQ8 SWQ9 SWQ12 SWQ13
95 pktq_out = TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2 ;TXQ0.0 TXQ1.0 ;TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2
96 pipeline_txrx_type = TXTX
97 [PIPELINE7]
98 type = TXRX
99 core = s0c5
100 pktq_in  = RXQ2.0 RXQ3.0 ;SWQ4 SWQ5 ;SWQ8 SWQ9 SWQ12 SWQ13
101 pktq_out = SWQ11 SWQ12 SWQ13;TXQ0.0 TXQ1.0 ;TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2
102 pipeline_txrx_type = RXRX
103 ;
104 [PIPELINE8]
105 type = LOADB
106 core = 6
107 pktq_in  = SWQ11 SWQ12
108 pktq_out = SWQ14 SWQ15 SWQ16 SWQ17 ;SWQ10 SWQ11
109 outport_offset = 136; 8
110 n_vnf_threads = 2
111 n_lb_tuples = 5
112 prv_que_handler = (0)
113 ;loadb_debug = 0
114 [PIPELINE9]
115 type = VFW
116 core = s0c7
117 pktq_in  = SWQ14 SWQ15
118 pktq_out = SWQ18 SWQ19;TXQ0.0 TXQ1.0
119
120 n_rules = 10000
121
122 ;n_flows gets round up to power of 2
123 n_flows = 1000000
124 traffic_type = 4
125 ; tcp_time_wait controls timeout for closed connection, normally 120
126 tcp_time_wait = 10
127 tcp_be_liberal = 0
128 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
129 ;udp_unreplied = 20
130 ;udp_replied = 20
131 [PIPELINE10]
132 type = VFW
133 core = s0c7h
134 pktq_in  = SWQ16 SWQ17
135 pktq_out = SWQ20 SWQ21;TXQ0.0 TXQ1.0
136
137 n_rules = 10000
138
139 ;n_flows gets round up to power of 2
140 n_flows = 1000000
141 traffic_type = 4
142 ; tcp_time_wait controls timeout for closed connection, normally 120
143 tcp_time_wait = 10
144 tcp_be_liberal = 0
145
146 [PIPELINE11]
147 type = TXRX
148 core = s0c5h
149 pktq_in  = SWQ18 SWQ19 SWQ20 SWQ21 ;RXQ0.0 RXQ1.0 ;SWQ4 SWQ5 ;SWQ8 SWQ9 SWQ12 SWQ13
150 pktq_out = TXQ2.1 TXQ3.1 TXQ2.2 TXQ3.2 ;TXQ0.0 TXQ1.0 ;TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2
151 pipeline_txrx_type = TXTX