;;
;; Copyright (c) 2010-2017 Intel Corporation
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;;     http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.
;;

[eal options]
-n=4 ; force number of memory channels
no-output=no ; disable DPDK debug output

[port 0]
name=cpe0
mac=00:00:00:00:00:01
[port 1]
name=inet0
mac=00:00:00:00:00:02
[port 2]
name=cpe1
mac=00:00:00:00:00:03
[port 3]
name=inet1
mac=00:00:00:00:00:04


[port 4]
name=cpe2
mac=00:00:00:00:00:01
[port 5]
name=inet2
mac=00:00:00:00:00:02
[port 6]
name=cpe3
mac=00:00:00:00:00:03
[port 7]
name=inet3
mac=00:00:00:00:00:04

[variables]
$up_size=60
$dn_size=60
[defaults]
mempool size=4K

[global]
start time=5
name=PE gen
[core 0s1]
mode=master

[core 1s1,1s1h]
name=cpe0
task=0
mode=gen
tx port=cpe0
bps=625000000
pkt inline=ff ff ff ff ff ff 00 00 00 00 00 00 88 a8 00 01 81 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 79 c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 1d
random=000000000000000X
rand_offset=14

random=00000000XXXXXXXX
rand_offset=18

random=11000000101010000000XXXXXXXXXXXX
rand_offset=34

random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
rand_offset=38

random=XXXXXX00
rand_offset=23

random=000000000000XXX0
rand_offset=42

random=0000000XXXXXXXXX
rand_offset=44

pkt size=$up_size
lat pos=50


[core 2s1,2s1h]
name=cpe1
task=0
mode=gen
tx port=cpe1
bps=625000000
pkt inline=ff ff ff ff ff ff 00 00 00 00 00 00 88 a8 00 01 81 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 79 c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 1d

random=000000000010000X
rand_offset=14

random=00000000XXXXXXXX
rand_offset=18

random=11000000101010000010XXXXXXXXXXXX
rand_offset=34

random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
rand_offset=38

random=XXXXXX00
rand_offset=23

random=000000000000XXX0
rand_offset=42

random=0000000XXXXXXXXX
rand_offset=44


pkt size=$up_size
lat pos=50

[core 3s1,3s1h]
name=inet0
task=0
mode=gen
tx port=inet0
bps=625000000
pkt inline=ff ff ff ff ff ff 00 00 00 00 00 00 88 47 00 00 31 00 45 00 00 20 00 01 00 00 40 11 77 fa c0 a8 80 80 c0 a8 01 01 00 35 00 35 00 08 fc 9d

random=110000001010100000XXXXXXXXXXXXXX
rand_offset=34

random=XXXXXX00
rand_offset=19


pkt size=$dn_size
lat pos=46

[core 4s1,4s1h]
name=inet1
task=0
mode=gen
tx port=inet1
bps=625000000
pkt inline=ff ff ff ff ff ff 00 00 00 00 00 00 88 47 00 00 31 00 45 00 00 20 00 01 00 00 40 11 77 fa c0 a8 80 80 c0 a8 01 01 00 35 00 35 00 08 fc 9d

random=110000001010100000XXXXXXXXXXXXXX
rand_offset=34

random=XXXXXX00
rand_offset=19

pkt size=$dn_size
lat pos=46

[core 5s1]
name=none
task=0
mode=lat
rx port=cpe0
lat pos=50

[core 5s1h]
name=none
task=0
mode=lat
rx port=cpe1
lat pos=50

[core 6s1]
name=none
task=0
mode=lat
rx port=inet0
lat pos=46

[core 6s1h]
name=none
task=0
mode=lat
rx port=inet1
lat pos=46

[core 1s0,1s0h]
name=cpe2
task=0
mode=gen
tx port=cpe2
bps=625000000

pkt inline=ff ff ff ff ff ff 00 00 00 00 00 00 88 a8 00 01 81 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 79 c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 1d

random=000000000001000X
rand_offset=14

random=00000000XXXXXXXX
rand_offset=18

random=11000000101010000001XXXXXXXXXXXX
rand_offset=34

random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
rand_offset=38

random=XXXXXX00
rand_offset=23

random=000000000000XXX0
rand_offset=42

random=0000000XXXXXXXXX
rand_offset=44


pkt size=$up_size
lat pos=50

[core 2s0,2s0h]
name=cpe3
task=0
mode=gen
tx port=cpe3
bps=625000000
pkt inline=ff ff ff ff ff ff 00 00 00 00 00 00 88 a8 00 01 81 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 79 c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 1d

random=000000000011000X
rand_offset=14

random=00000000XXXXXXXX
rand_offset=18

random=11000000101010000011XXXXXXXXXXXX
rand_offset=34

random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
rand_offset=38

random=XXXXXX00
rand_offset=23

random=000000000000XXX0
rand_offset=42

random=0000000XXXXXXXXX
rand_offset=44

pkt size=$up_size
lat pos=50

[core 3s0,3s0h]
name=inet2
task=0
mode=gen
tx port=inet2
bps=625000000
pkt inline=ff ff ff ff ff ff 00 00 00 00 00 00 88 47 00 00 31 00 45 00 00 20 00 01 00 00 40 11 77 fa c0 a8 80 80 c0 a8 01 01 00 35 00 35 00 08 fc 9d

random=110000001010100000XXXXXXXXXXXXXX
rand_offset=34

random=XXXXXX00
rand_offset=19

pkt size=$dn_size
lat pos=46

[core 4s0,4s0h]
name=inet3
task=0
mode=gen
tx port=inet3
bps=625000000
pkt inline=ff ff ff ff ff ff 00 00 00 00 00 00 88 47 00 00 31 00 45 00 00 20 00 01 00 00 40 11 77 fa c0 a8 80 80 c0 a8 01 01 00 35 00 35 00 08 fc 9d

random=110000001010100000XXXXXXXXXXXXXX
rand_offset=34

random=XXXXXX00
rand_offset=19

pkt size=$dn_size
lat pos=46

[core 5s0]
name=none
task=0
mode=lat
rx port=cpe2
lat pos=50

[core 5s0h]
name=none
task=0
mode=lat
rx port=cpe3
lat pos=50

[core 6s0]
name=none
task=0
mode=lat
rx port=inet2
lat pos=46

[core 6s0h]
name=none
task=0
mode=lat
rx port=inet3
lat pos=46