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-4ports.cfg. The difference is that on each of the interfaces, only
20 ; one queue is used. Use-cases for this configuration include running in a
21 ; virtualized environment using SRIOV.
25 -n=4 ; force number of memory channels
26 no-output=no ; disable DPDK debug output
41 ;$wk=3s0,3s0h; 2 workers
42 ;$wk=3s0-4s0,3s0h-4s0h; 4 workers
43 ;$wk=3s0-5s0,3s0h-5s0h; 6 workers
44 $wk=5s0-8s0,5s0h-8s0h; 8 workers
45 ;$wk=3s0-7s0,3s0h-7s0h; 10 workers
46 ;$wk=3s0-8s0,3s0h-8s0h; 12 workers
48 lpm4 = dofile("ipv4.lua")
49 user_table = dofile("user_table-65K-bng.lua")
60 ;*****************************************************************************************
61 ;##### Load Balancing receiving from CPE and from Internet ####
71 tx cores=(${wk})t0 proto=ipv4
72 tx cores=(${wk})t0p proto=arp
84 tx cores=(${wk})t1 proto=ipv4
95 tx cores=(${wk})t0 proto=ipv4
96 tx cores=(${wk})t0p proto=arp
108 tx cores=(${wk})t1 proto=ipv4
110 ;*****************************************************************************************
111 ;#### Workers receiving from LB
112 ;#### Task 0: QinQ decapsulation + gre encapsulation + routing
114 ;#### Task 2: GRE depcapsulation + QinQ encapsulation + use learned mac
120 tx cores from routing table=2s0,4s0
122 local ipv4=21.22.23.24
123 user table=user_table
129 user table=user_table
130 tx cores from cpe table=1s0,3s0 remap=cpe0,cpe1