Preparation for packet mis-ordering stats
[samplevnf.git] / VNFs / DPPD-PROX / config / ipv6.cfg
1 ;;
2 ;; Copyright (c) 2020 Intel Corporation
3 ;;
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
7 ;;
8 ;;     http://www.apache.org/licenses/LICENSE-2.0
9 ;;
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.
15 ;;
16
17 [eal options]
18 -n=6 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
20
21 [port 0]
22 name=p0
23
24 [port 2]
25 name=p1
26
27 [defaults]
28 mempool size=8K
29
30 [global]
31 start time=5
32 name=Basic IPv6
33
34 [variables]
35 $loc_gen_hex_ip1=fe 80 00 00 00 00 00 00 00 00 00 00 00 00 00 01
36 $loc_swp_hex_ip1=fe 80 00 00 00 00 00 00 00 00 00 00 00 00 00 02
37 $glob_gen_hex_ip1=20 01 db 80 00 00 00 00 00 00 00 00 00 00 00 01
38 $glob_swp_hex_ip1=20 01 db 80 00 00 00 00 00 00 00 00 00 00 00 02
39 $loc_gen_ip1=fe80::0001
40 $glob_gen_ip1=2001:db80::0001
41 $loc_swp_ip1=fe80::0002
42 $glob_swp_ip1=2001:db80::0002
43
44 [core 0s0]
45 mode=master
46
47 ; 84 bytes packet to include latency related data.
48 ; for 64 bytes packets, comment out lat pos, packet id pos, signature pos, accuracy pos; set pkt size to 60 and
49 ; set payload & udp length to 8 (bytes 19 and 59 changed from 1a to 08)
50 [core 1s0]
51 name=TX0
52 task=0
53 mode=gen
54 sub mode=ndp
55 local ipv6=${loc_gen_ip1}
56 global ipv6=${glob_gen_ip1}
57 tx port=p0
58 bps=1000
59 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
60 lat pos=62
61 packet id pos=66
62 signature pos=72
63 accuracy pos=76
64 pkt size=80
65
66 task=1
67 mode=lat
68 sub mode=ndp
69 rx port=p0
70 local ipv6=${loc_gen_ip1}
71 global ipv6=${glob_gen_ip1}
72 lat pos=62
73 packet id pos=66
74 signature pos=72
75 accuracy pos=76
76
77 [core 2s0]
78 name=SWAP
79 task=0
80 mode=swap
81 sub mode=ndp
82 rx port=p1
83 tx port=p1
84 local ipv6=${loc_swp_ip1}
85 global ipv6=${glob_swp_ip1}