summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/config
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/DPPD-PROX/config')
-rw-r--r--VNFs/DPPD-PROX/config/ipv6.cfg85
1 files changed, 85 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/config/ipv6.cfg b/VNFs/DPPD-PROX/config/ipv6.cfg
new file mode 100644
index 00000000..6ad4725a
--- /dev/null
+++ b/VNFs/DPPD-PROX/config/ipv6.cfg
@@ -0,0 +1,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}