Fix toeplitz initialization key and rss key len for mlx4
[samplevnf.git] / VNFs / vFW / config / VFW_SWLB_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  = SWQ2 SWQ13
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 = TXRX
35 core = s0c2
36 pktq_in  = RXQ0.0 RXQ2.0
37 pktq_out = SWQ0 SWQ1 SWQ2
38 pipeline_txrx_type = RXRX
39
40 [PIPELINE3]
41 type = LOADB
42 core = 3
43 pktq_in  = SWQ0 SWQ1
44 pktq_out = SWQ3 SWQ4 SWQ5 SWQ6
45 outport_offset = 136
46 n_vnf_threads = 2
47 prv_que_handler = (0)
48
49 n_lb_tuples = 5
50 ;loadb_debug = 0
51
52 [PIPELINE4]
53 type = VFW
54 core = s0c4
55 pktq_in  = SWQ3 SWQ4
56 pktq_out = SWQ7 SWQ8
57
58 n_rules = 4096
59 ;n_flows gets round up to power of 2
60 n_flows = 1048576
61
62 traffic_type = 4 ; IPv4 Traffic
63 ;traffic_type = 6 ; IPv6 Traffic
64 ; tcp_time_wait controls timeout for closed connection, normally 120
65 tcp_time_wait = 10
66 tcp_be_liberal = 0
67 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
68 udp_unreplied = 180
69 udp_replied = 180
70
71 [PIPELINE5]
72 type = VFW
73 core = s0c5
74 pktq_in  = SWQ5 SWQ6
75 pktq_out = SWQ9 SWQ10
76
77 n_rules = 4096
78 ;n_flows gets round up to power of 2
79 n_flows = 1048576
80
81 traffic_type = 4 ; IPv4 Traffic
82 ;traffic_type = 6 ; IPv6 Traffic
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 = 180
88 udp_replied = 180
89
90 [PIPELINE6]
91 type = TXRX
92 core = s0c6
93 pktq_in  = SWQ7 SWQ8 SWQ9 SWQ10
94 pktq_out = TXQ0.1 TXQ2.1 TXQ0.2 TXQ2.2
95 pipeline_txrx_type = TXTX
96
97 [PIPELINE7]
98 type = TXRX
99 core = s0c7
100 pktq_in  = RXQ1.0 RXQ3.0
101 pktq_out = SWQ11 SWQ12 SWQ13
102 pipeline_txrx_type = RXRX
103
104 [PIPELINE8]
105 type = LOADB
106 core = 8
107 pktq_in  = SWQ11 SWQ12
108 pktq_out = SWQ14 SWQ15 SWQ16 SWQ17
109 outport_offset = 136
110 n_vnf_threads = 2
111 n_lb_tuples = 5
112 prv_que_handler = (0)
113 ;loadb_debug = 0
114
115 [PIPELINE9]
116 type = VFW
117 core = s0c9
118 pktq_in  = SWQ14 SWQ15
119 pktq_out = SWQ18 SWQ19
120
121 n_rules = 4096
122 ;n_flows gets round up to power of 2
123 n_flows = 1048576
124
125 traffic_type = 4 ; IPv4 Traffic
126 ;traffic_type = 6 ; IPv6 Traffic
127 ; tcp_time_wait controls timeout for closed connection, normally 120
128 tcp_time_wait = 10
129 tcp_be_liberal = 0
130 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
131 udp_unreplied = 180
132 udp_replied = 180
133
134 [PIPELINE10]
135 type = VFW
136 core = s0c10
137 pktq_in  = SWQ16 SWQ17
138 pktq_out = SWQ20 SWQ21
139
140 n_rules = 4096
141 ;n_flows gets round up to power of 2
142 n_flows = 1048576
143
144 traffic_type = 4 ; IPv4 Traffic
145 ;traffic_type = 6 ; IPv6 Traffic
146 ; tcp_time_wait controls timeout for closed connection, normally 120
147 tcp_time_wait = 10
148 tcp_be_liberal = 0
149 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
150 udp_unreplied = 180
151 udp_replied = 180
152
153 [PIPELINE11]
154 type = TXRX
155 core = s0c11
156 pktq_in  = SWQ18 SWQ19 SWQ20 SWQ21
157 pktq_out = TXQ1.1 TXQ3.1 TXQ1.2 TXQ3.2
158 pipeline_txrx_type = TXTX