2 ;; Copyright (c) 2010-2017 Intel Corporation
4 ;; Licensed under the Apache License, Version 2.0 (the "License");
5 ;; you may not use this file except in compliance with the License.
6 ;; You may obtain a copy of the License at
8 ;; http://www.apache.org/licenses/LICENSE-2.0
10 ;; Unless required by applicable law or agreed to in writing, software
11 ;; distributed under the License is distributed on an "AS IS" BASIS,
12 ;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ;; See the License for the specific language governing permissions and
14 ;; limitations under the License.
18 ; This configuration sets up a system that handles the same workload as
19 ; config/bng-qos-4ports.cfg, but on 8 ports instead of 4 and on CPU socket 1
20 ; instead of socket 0.
24 -n=6 ; force number of memory channels
25 no-output=no ; disable DPDK debug output
31 promiscuous=$promiscuous
38 promiscuous=$promiscuous
44 promiscuous=$promiscuous
51 promiscuous=$promiscuous
58 promiscuous=$promiscuous
64 promiscuous=$promiscuous
70 promiscuous=$promiscuous
77 promiscuous=$promiscuous
80 $wk=9s0-24s0,9s0h-24s0h
94 lpm4 = dofile("ipv4-4ports.lua")
95 user_table = dofile("user_table-131K-bng.lua")
99 unique mempool per socket=yes
106 ;*****************************************************************************************
107 ;##### Load Balancing receiving from CPE and from Internet ####
113 tx cores=(${wk})t0 proto=ipv4
114 tx cores=(${wk})t0p proto=arp
124 tx cores=(${wk})t0 proto=ipv4
125 tx cores=(${wk})t0p proto=arp
135 tx cores=(${wk})t0 proto=ipv4
136 tx cores=(${wk})t0p proto=arp
146 tx cores=(${wk})t0 proto=ipv4
147 tx cores=(${wk})t0p proto=arp
158 tx cores=(${wk})t1 proto=ipv4
169 tx cores=(${wk})t1 proto=ipv4
180 tx cores=(${wk})t1 proto=ipv4
191 tx cores=(${wk})t1 proto=ipv4
196 ;*****************************************************************************************
197 ;#### Workers receiving from LB
198 ;#### Task 0: QinQ decapsulation + gre encapsulation + routing
200 ;#### Task 2: GRE depcapsulation + QinQ encapsulation + use learned mac
206 tx ports from routing table=inet0,inet1,inet2,inet3
208 local ipv4=21.22.23.24
211 cpe table timeout ms=15000000
212 ctrl path polling frequency=10000
213 user table=user_table
218 tx ports from cpe table=cpe0,cpe1,cpe2,cpe3
220 ctrl path polling frequency=10000
221 user table=user_table