adcce34e13318d63706850b2b03852d6d36ed113
[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 pkt_type = ipv4
70 traffic_type = 4
71 ; tcp_time_wait controls timeout for closed connection, normally 120
72 tcp_time_wait = 10
73 tcp_be_liberal = 0
74 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
75 ;udp_unreplied = 20
76 ;udp_replied = 20
77 [PIPELINE5]
78 type = VFW
79 core = s0c4h
80 pktq_in  = SWQ5 SWQ6
81 pktq_out = SWQ9 SWQ10;TXQ0.0 TXQ1.0
82
83 n_rules = 10000
84
85 ;n_flows gets round up to power of 2
86 n_flows = 1000000
87 pkt_type = ipv4
88 traffic_type = 4
89 ; tcp_time_wait controls timeout for closed connection, normally 120
90 tcp_time_wait = 10
91 tcp_be_liberal = 0
92
93 [PIPELINE6]
94 type = TXRX
95 core = s0c2h
96 pktq_in  = SWQ7 SWQ8 SWQ9 SWQ10 ;SWQ8 SWQ9 SWQ12 SWQ13
97 pktq_out = TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2 ;TXQ0.0 TXQ1.0 ;TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2
98 pipeline_txrx_type = TXTX
99 [PIPELINE7]
100 type = TXRX
101 core = s0c5
102 pktq_in  = RXQ2.0 RXQ3.0 ;SWQ4 SWQ5 ;SWQ8 SWQ9 SWQ12 SWQ13
103 pktq_out = SWQ11 SWQ12 SWQ13;TXQ0.0 TXQ1.0 ;TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2
104 pipeline_txrx_type = RXRX
105 ;
106 [PIPELINE8]
107 type = LOADB
108 core = 6
109 pktq_in  = SWQ11 SWQ12
110 pktq_out = SWQ14 SWQ15 SWQ16 SWQ17 ;SWQ10 SWQ11
111 outport_offset = 136; 8
112 n_vnf_threads = 2
113 n_lb_tuples = 5
114 prv_que_handler = (0)
115 ;loadb_debug = 0
116 [PIPELINE9]
117 type = VFW
118 core = s0c7
119 pktq_in  = SWQ14 SWQ15
120 pktq_out = SWQ18 SWQ19;TXQ0.0 TXQ1.0
121
122 n_rules = 10000
123
124 ;n_flows gets round up to power of 2
125 n_flows = 1000000
126 pkt_type = ipv4
127 traffic_type = 4
128 ; tcp_time_wait controls timeout for closed connection, normally 120
129 tcp_time_wait = 10
130 tcp_be_liberal = 0
131 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
132 ;udp_unreplied = 20
133 ;udp_replied = 20
134 [PIPELINE10]
135 type = VFW
136 core = s0c7h
137 pktq_in  = SWQ16 SWQ17
138 pktq_out = SWQ20 SWQ21;TXQ0.0 TXQ1.0
139
140 n_rules = 10000
141
142 ;n_flows gets round up to power of 2
143 n_flows = 1000000
144 pkt_type = ipv4
145 traffic_type = 4
146 ; tcp_time_wait controls timeout for closed connection, normally 120
147 tcp_time_wait = 10
148 tcp_be_liberal = 0
149
150 [PIPELINE11]
151 type = TXRX
152 core = s0c5h
153 pktq_in  = SWQ18 SWQ19 SWQ20 SWQ21 ;RXQ0.0 RXQ1.0 ;SWQ4 SWQ5 ;SWQ8 SWQ9 SWQ12 SWQ13
154 pktq_out = TXQ2.1 TXQ3.1 TXQ2.2 TXQ3.2 ;TXQ0.0 TXQ1.0 ;TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2
155 pipeline_txrx_type = TXTX