4e375299103dd7b04199c5077002c6cbda2c67af
[samplevnf.git] / VNFs / vFW / config / VFW_SWLB_IPV4_SinglePortPair_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
23 pktq_out = TXQ0.0 TXQ1.0
24 ; ARP route table entries (ip, mask, if_port, nh) hex values with no 0x
25 arp_route_tbl = (ac102814,ff000000,1,ac102814) (ca106414,ff000000,0,ca106414)
26 ; Link MAC addresses in order aa:bb:cc:dd:ee:ff separated by space
27 ;
28 ; Hex values with no leading 0x, MACs in ascending port order starting @P0
29 ports_mac_list = 00:cb:10:64:14:00 00:ad:10:28:14:00
30 ;
31 ; egress (private interface) info
32 pktq_in_prv =  RXQ0.0
33 ;
34 ;for pub port <-> prv port mapping (prv, pub)
35 prv_to_pub_map = (0,1)
36 prv_que_handler = (0)
37
38 [PIPELINE2]
39 type = TXRX
40 core = 2
41 pktq_in  = RXQ0.0 RXQ1.0
42 pktq_out = SWQ0 SWQ1 SWQ2
43 pipeline_txrx_type = RXRX
44 ;
45 [PIPELINE3]
46 type = LOADB
47 core = 3
48 pktq_in  = SWQ0 SWQ1
49 pktq_out = SWQ3 SWQ4 SWQ5 SWQ6 SWQ7 SWQ8 SWQ9 SWQ10
50 outport_offset = 136
51 n_vnf_threads = 4
52 prv_que_handler = (0)
53 n_lb_tuples = 5
54 ;loadb_debug = 0
55 [PIPELINE4]
56 type = VFW
57 core = 4
58 pktq_in  = SWQ3 SWQ4
59 pktq_out = SWQ11 SWQ12;TXQ0.0 TXQ1.0
60
61 n_rules = 4096
62
63 ;n_flows gets round up to power of 2
64 n_flows = 1000000
65 traffic_type = 4
66 ; tcp_time_wait controls timeout for closed connection, normally 120
67 tcp_time_wait = 10
68 tcp_be_liberal = 0
69 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
70 ;udp_unreplied = 20
71 ;udp_replied = 20
72 [PIPELINE5]
73 type = VFW
74 core = 5
75 pktq_in  = SWQ5 SWQ6
76 pktq_out = SWQ13 SWQ14;TXQ0.0 TXQ1.0
77
78 n_rules = 4096
79
80 ;n_flows gets round up to power of 2
81 n_flows = 1000000
82 traffic_type = 4
83 ; tcp_time_wait controls timeout for closed connection, normally 120
84 tcp_time_wait = 10
85 tcp_be_liberal = 0
86 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
87 ;udp_unreplied = 20
88 ;udp_replied = 20
89 [PIPELINE6]
90 type = VFW
91 core = 6
92 pktq_in  = SWQ7 SWQ8
93 pktq_out = SWQ15 SWQ16;TXQ0.0 TXQ1.0
94
95 n_rules = 4096
96
97 ;n_flows gets round up to power of 2
98 n_flows = 1000000
99 traffic_type = 4
100 ; tcp_time_wait controls timeout for closed connection, normally 120
101 tcp_time_wait = 10
102 tcp_be_liberal = 0
103 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
104 ;udp_unreplied = 20
105 ;udp_replied = 20
106 [PIPELINE7]
107 type = VFW
108 core = 7
109 pktq_in  = SWQ9 SWQ10
110 pktq_out = SWQ17 SWQ18;TXQ0.0 TXQ1.0
111
112 n_rules = 4096
113
114 ;n_flows gets round up to power of 2
115 n_flows = 1000000
116 traffic_type = 4
117 ; tcp_time_wait controls timeout for closed connection, normally 120
118 tcp_time_wait = 10
119 tcp_be_liberal = 0
120
121 [PIPELINE8]
122 type = TXRX
123 core = 8
124 pktq_in  = SWQ11 SWQ12 SWQ13 SWQ14 SWQ15 SWQ16 SWQ17 SWQ18
125 pktq_out = TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2 TXQ0.3 TXQ1.3 TXQ0.4 TXQ1.4
126 pipeline_txrx_type = TXTX