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