summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/config/ipv6.cfg
blob: 6ad4725a67bacbf81b2fd400b67f43cc22ea0fba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
;;
;; Copyright (c) 2020 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=6 ; force number of memory channels
no-output=no ; disable DPDK debug output

[port 0]
name=p0

[port 2]
name=p1

[defaults]
mempool size=8K

[global]
start time=5
name=Basic IPv6

[variables]
$loc_gen_hex_ip1=fe 80 00 00 00 00 00 00 00 00 00 00 00 00 00 01
$loc_swp_hex_ip1=fe 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02
$glob_gen_hex_ip1=20 01 db 80 00 00 00 00 00 00 00 00 00 00 00 01
$glob_swp_hex_ip1=20 01 db 80 00 00 00 00 00 00 00 00 00 00 00 02
$loc_gen_ip1=fe80::0001
$glob_gen_ip1=2001:db80::0001
$loc_swp_ip1=fe80::0002
$glob_swp_ip1=2001:db80::0002

[core 0s0]
mode=master

; 84 bytes packet to include latency related data.
; for 64 bytes packets, comment out lat pos, packet id pos, signature pos, accuracy pos; set pkt size to 60 and
; set payload & udp length to 8 (bytes 19 and 59 changed from 1a to 08)
[core 1s0]
name=TX0
task=0
mode=gen
sub mode=ndp
local ipv6=${loc_gen_ip1}
global ipv6=${glob_gen_ip1}
tx port=p0
bps=1000
pkt inline=00 00 01 00 00 01 00 00 02 00 00 02 86 dd 60 00 00 00 00 1a 11 40 ${glob_gen_hex_ip1} ${glob_swp_hex_ip1} 13 88 13 88 00 1a 55 7b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
lat pos=62
packet id pos=66
signature pos=72
accuracy pos=76
pkt size=80

task=1
mode=lat
sub mode=ndp
rx port=p0
local ipv6=${loc_gen_ip1}
global ipv6=${glob_gen_ip1}
lat pos=62
packet id pos=66
signature pos=72
accuracy pos=76

[core 2s0]
name=SWAP
task=0
mode=swap
sub mode=ndp
rx port=p1
tx port=p1
local ipv6=${loc_swp_ip1}
global ipv6=${glob_swp_ip1}