1 # Copyright (c) 2016-2017 Intel Corporation
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 lpm4 = dofile("ipv4_bng.lua")
18 user_table = dofile("gre_table.lua")
21 -n=4 ; $sut_memory_channels
22 no-output=no ; disable DPDK debug output
30 $core_workers =13-14,15-16,17-18,19-20
71 ;*****************************************************************************************
72 ;##### Load Balancing receiving from CPE and from Internet ####
78 tx cores=(${core_workers})t0 proto=ipv4
79 tx cores=(${core_workers})t0 proto=arp
88 tx cores=(${core_workers})t1 proto=ipv4
96 tx cores=(${core_workers})t0 proto=ipv4
97 tx cores=(${core_workers})t0 proto=arp
106 tx cores=(${core_workers})t1 proto=ipv4
117 [core $core_tx_inet0]
133 [core $core_tx_inet1]
142 ;*****************************************************************************************
143 ;#### Workers receiving from LB
144 ;#### Task 0: QinQ decapsulation + gre encapsulation + routing
146 ;#### Task 2: GRE depcapsulation + QinQ encapsulation + use learned mac
152 tx cores from routing table=${core_tx_inet0},${core_tx_inet1}
155 local ipv4=21.22.23.24
157 user table=user_table
158 fast path handle arp=yes
162 rx ring=yes ; gre received from internal queue
163 tx cores from cpe table=${core_tx_cpe0},${core_tx_cpe1} remap=cpe0,cpe1
165 user table=user_table