vFW: changes for gateway packet forwarding
[samplevnf.git] / VNFs / vFW / config / VFW_HWLB_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
19 [PIPELINE1]
20 type =  ARPICMP
21 core = 1
22
23 pktq_in  = SWQ0 SWQ1 SWQ2 SWQ3
24 pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0
25
26 ; egress (private interface) info
27 pktq_in_prv =  RXQ0.0 RXQ1.0
28 ;
29 ;for pub port <-> prv port mapping (prv, pub)
30 prv_to_pub_map = (0,2)(1,3)
31 prv_que_handler = (0,1)
32
33 [PIPELINE2]
34 type = VFW
35 core = 2
36 pktq_in  = RXQ0.0 RXQ1.0 RXQ2.0 RXQ3.0
37 pktq_out = TXQ0.1 TXQ1.1 TXQ2.1 TXQ3.1 SWQ0
38
39 n_rules = 4096
40 ;n_flows gets round up to power of 2
41 n_flows = 1048576
42 traffic_type = 4 ; IPv4 Traffic
43 ;traffic_type = 6 ; IPv6 Traffic
44 ; tcp_time_wait controls timeout for closed connection, normally 120
45 tcp_time_wait = 10
46 tcp_be_liberal = 0
47 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
48 udp_unreplied = 180
49 udp_replied = 180
50
51 [PIPELINE3]
52 type = VFW
53 core = 3
54 pktq_in  = RXQ0.1 RXQ1.1 RXQ2.1 RXQ3.1
55 pktq_out = TXQ0.2 TXQ1.2 TXQ2.2 TXQ3.2 SWQ1
56
57 n_rules = 4096
58 ;n_flows gets round up to power of 2
59 n_flows = 1048576
60 traffic_type = 4 ; IPv4 Traffic
61 ;traffic_type = 6 ; IPv6 Traffic
62 ; tcp_time_wait controls timeout for closed connection, normally 120
63 tcp_time_wait = 10
64 tcp_be_liberal = 0
65 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
66 udp_unreplied = 180
67 udp_replied = 180
68
69 [PIPELINE4]
70 type = VFW
71 core = 4
72 pktq_in  = RXQ0.2 RXQ1.2 RXQ2.2 RXQ3.2
73 pktq_out = TXQ0.3 TXQ1.3 TXQ2.3 TXQ3.3 SWQ2
74
75 n_rules = 4096
76 ;n_flows gets round up to power of 2
77 n_flows = 1048576
78 traffic_type = 4 ; IPv4 Traffic
79 ;traffic_type = 6 ; IPv6 Traffic
80 ; tcp_time_wait controls timeout for closed connection, normally 120
81 tcp_time_wait = 10
82 tcp_be_liberal = 0
83 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
84 udp_unreplied = 180
85 udp_replied = 180
86
87 [PIPELINE5]
88 type = VFW
89 core = 5
90 pktq_in  = RXQ0.3 RXQ1.3 RXQ2.3 RXQ3.3
91 pktq_out = TXQ0.4 TXQ1.4 TXQ2.4 TXQ3.4 SWQ3
92
93 n_rules = 4096
94 ;n_flows gets round up to power of 2
95 n_flows = 1048576
96 traffic_type = 4 ; IPv4 Traffic
97 ;traffic_type = 6 ; IPv6 Traffic
98 ; tcp_time_wait controls timeout for closed connection, normally 120
99 tcp_time_wait = 10
100 tcp_be_liberal = 0
101 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
102 udp_unreplied = 180
103 udp_replied = 180