diff options
author | Patrice Buriez <patrice.buriez@intel.com> | 2018-12-23 15:28:33 +0100 |
---|---|---|
committer | Patrice Buriez <patrice.buriez@intel.com> | 2018-12-23 15:34:55 +0100 |
commit | b9f1a02af52b9c0805967f37f86b813396e5ea12 (patch) | |
tree | 43dd7a35f6c14a3ad529aa92dd7f21d95f5518a0 /samples | |
parent | f6a9585e5c4e49970574ab7f885a5f2b88228f5b (diff) |
Fix latency configuration for PROX testcases
JIRA: YARDSTICK-1460
Change-Id: Id6a633873a9b6fc8829d5282596200610cec5426
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
Diffstat (limited to 'samples')
8 files changed, 65 insertions, 26 deletions
diff --git a/samples/vnf_samples/nsut/prox/configs/gen_all-2.cfg b/samples/vnf_samples/nsut/prox/configs/gen_all-2.cfg index 1ca3f7791..8708d562e 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_all-2.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_all-2.cfg @@ -20,11 +20,11 @@ no-output=no ; disable DPDK debug output [port 0] name=p0 mac=hardware + [port 1] name=p1 mac=hardware - [defaults] mempool size=4K @@ -46,7 +46,8 @@ mode=gen tx port=p0 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d 00 00 00 01 00 00 00 02 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d 00 00 00 01 00 00 00 02 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 2] name=gen 1 @@ -55,7 +56,8 @@ mode=gen tx port=p1 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d 00 00 00 01 00 00 00 03 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d 00 00 00 01 00 00 00 03 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 3] task=0 diff --git a/samples/vnf_samples/nsut/prox/configs/gen_buffering-1.cfg b/samples/vnf_samples/nsut/prox/configs/gen_buffering-1.cfg index 6deefa82f..925ff0fb4 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_buffering-1.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_buffering-1.cfg @@ -42,7 +42,8 @@ mode=gen tx port=p0 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 2] name=P1 diff --git a/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_multiflow-2.cfg b/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_multiflow-2.cfg index fb2584e91..d344d3a48 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_multiflow-2.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_multiflow-2.cfg @@ -104,4 +104,4 @@ mode=lat rx port=p1 lat pos=42 signature pos=46 -signature=0xcafedeca
\ No newline at end of file +signature=0xcafedeca diff --git a/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_pktTouch-2.cfg b/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_pktTouch-2.cfg index 016a6b29c..e20edc199 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_pktTouch-2.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_pktTouch-2.cfg @@ -21,6 +21,7 @@ no-output=no ; disable DPDK debug output [port 0] name=p0 mac=hardware + [port 1] name=p1 mac=hardware @@ -46,7 +47,8 @@ mode=gen tx port=p0 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 2] name=p1 @@ -55,7 +57,8 @@ mode=gen tx port=p1 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 3] task=0 diff --git a/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_pktTouch-4.cfg b/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_pktTouch-4.cfg index cb52d6c87..8dc4716bc 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_pktTouch-4.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_l2fwd_pktTouch-4.cfg @@ -21,12 +21,15 @@ no-output=no ; disable DPDK debug output [port 0] name=p0 mac=hardware + [port 1] name=p1 mac=hardware + [port 2] name=p2 mac=hardware + [port 3] name=p3 mac=hardware @@ -54,7 +57,8 @@ mode=gen tx port=p0 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 2] name=p1 @@ -63,7 +67,8 @@ mode=gen tx port=p1 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 3] name=p2 @@ -72,7 +77,8 @@ mode=gen tx port=p2 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac2} 70 00 00 00 00 03 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac2} 70 00 00 00 00 03 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 4] name=p3 @@ -81,7 +87,8 @@ mode=gen tx port=p3 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac3} 70 00 00 00 00 04 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac3} 70 00 00 00 00 04 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 0c 55 7b 42 43 44 45 +lat pos=42 [core 5] task=0 diff --git a/samples/vnf_samples/nsut/prox/configs/gen_lw_aftr-4.cfg b/samples/vnf_samples/nsut/prox/configs/gen_lw_aftr-4.cfg index dba589590..085c41b9c 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_lw_aftr-4.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_lw_aftr-4.cfg @@ -60,7 +60,7 @@ mode=gen tx port=lwB4_0 bps=1250000000 ; Ethernet + IPv6 + IPv4 + UDP -pkt inline=${sut_mac1} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 1c 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 1c 34 85 00 00 20 11 00 00 ab cd 01 01 ab cd 02 01 00 00 66 66 00 08 00 00 +pkt inline=${sut_mac1} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 20 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 20 34 85 00 00 20 11 00 00 ab cd 01 01 ab cd 02 01 00 00 66 66 00 0c 00 00 82 83 84 85 ; src_ipv6: fe80::200:ff:0:[0000..ffff] random=XXXXXXXXXXXXXXXX rand_offset=36 @@ -70,6 +70,7 @@ rand_offset=68 ; src_port: 64*[0..63] random=0000XXXXXX000000 rand_offset=74 +lat pos=82 [core 2] name=tun_0b @@ -78,16 +79,17 @@ mode=gen tx port=lwB4_0 bps=1250000000 ; Ethernet + IPv6 + IPv4 + UDP -pkt inline=${sut_mac1} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 1c 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 1c 34 85 00 00 20 11 00 00 ab cd 01 02 ab cd 02 02 00 00 66 66 00 08 00 00 +pkt inline=${sut_mac1} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 20 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 20 34 85 00 00 20 11 00 00 ab cd 01 02 ab cd 02 02 00 00 66 66 00 0c 00 00 82 83 84 85 ; src_ipv6: fe80::200:ff:0:[0000..ffff] random=XXXXXXXXXXXXXXXX rand_offset=36 ; src_ipv4: 171.205.[0..3].[0..255] random=000000XXXXXXXXXX rand_offset=68 -; src_port: 64*[0..63] +; src_port: 64*[0..63] random=0000XXXXXX000000 rand_offset=74 +lat pos=82 [core 3] name=inet_0a @@ -96,13 +98,14 @@ mode=gen tx port=inet_0 bps=1250000000 ; Ethernet + IPv4 + UDP -pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 0c 55 7b 42 43 44 45 ; dst_ipv4: 171.205.[0..3].[0..255] random=000000XXXXXXXXXX rand_offset=32 ; dst_port: 64*[0..63] random=0000XXXXXX000000 rand_offset=36 +lat pos=42 [core 4] name=inet_0b @@ -111,13 +114,14 @@ mode=gen tx port=inet_0 bps=1250000000 ; Ethernet + IPv4 + UDP -pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 08 55 7b +pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 0c 55 7b 42 43 44 45 ; dst_ipv4: 171.205.[0..3].[0..255] random=000000XXXXXXXXXX rand_offset=32 ; dst_port: 64*[0..63] random=0000XXXXXX000000 rand_offset=36 +lat pos=42 [core 5] name=tun_1a @@ -125,7 +129,8 @@ task=0 mode=gen tx port=lwB4_1 bps=1250000000 -pkt inline=${sut_mac3} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 1c 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 1c 34 85 00 00 20 11 00 00 ab cd 00 00 ab cd 03 02 00 00 66 66 00 08 00 00 +; Ethernet + IPv6 + IPv4 + UDP +pkt inline=${sut_mac3} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 20 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 20 34 85 00 00 20 11 00 00 ab cd 00 00 ab cd 03 02 00 00 66 66 00 0c 00 00 82 83 84 85 ; src_ipv6: fe80::200:ff:0:[0000..ffff] random=XXXXXXXXXXXXXXXX rand_offset=36 @@ -135,6 +140,7 @@ rand_offset=68 ; src_port: 64*[0..63] random=0000XXXXXX000000 rand_offset=74 +lat pos=82 [core 10] name=tun_1b @@ -142,7 +148,8 @@ task=0 mode=gen tx port=lwB4_1 bps=1250000000 -pkt inline=${sut_mac3} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 1c 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 1c 34 85 00 00 20 11 00 00 ab cd 00 00 ab cd 03 01 00 00 66 66 00 08 00 00 +; Ethernet + IPv6 + IPv4 + UDP +pkt inline=${sut_mac3} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 20 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 20 34 85 00 00 20 11 00 00 ab cd 00 00 ab cd 03 01 00 00 66 66 00 0c 00 00 82 83 84 85 ; src_ipv6: fe80::200:ff:0:[0000..ffff] random=XXXXXXXXXXXXXXXX rand_offset=36 @@ -152,6 +159,7 @@ rand_offset=68 ; src_port: 64*[0..63] random=0000XXXXXX000000 rand_offset=74 +lat pos=82 [core 11] name=inet_2a @@ -159,13 +167,15 @@ task=0 mode=gen tx port=inet_1 bps=1250000000 -pkt inline=${sut_mac2} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 08 55 7b +; Ethernet + IPv4 + UDP +pkt inline=${sut_mac2} 70 00 00 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 0c 55 7b 42 43 44 45 ; dst_ipv4: 171.205.[0..3].[0..255] random=000000XXXXXXXXXX rand_offset=32 ; dst_port: 64*[0..63] random=0000XXXXXX000000 rand_offset=36 +lat pos=42 [core 16] name=inet_2b @@ -173,34 +183,40 @@ task=0 mode=gen tx port=inet_1 bps=1250000000 -pkt inline=${sut_mac2} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 08 55 7b +; Ethernet + IPv4 + UDP +pkt inline=${sut_mac2} 70 00 00 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 0c 55 7b 42 43 44 45 ; dst_ipv4: 171.205.[0..3].[0..255] random=000000XXXXXXXXXX rand_offset=32 ; dst_port: 64*[0..63] random=0000XXXXXX000000 rand_offset=36 +lat pos=42 [core 17] name=lat_in0 task=0 mode=lat rx port=inet_0 +lat pos=42 [core 18] name=lat_tun0 task=0 mode=lat rx port=lwB4_0 +lat pos=82 [core 19] name=lat_in1 task=0 mode=lat rx port=inet_1 +lat pos=42 [core 20] name=lat_tun1 task=0 mode=lat rx port=lwB4_1 +lat pos=82 diff --git a/samples/vnf_samples/nsut/prox/configs/gen_mpls_tag_untag-2.cfg b/samples/vnf_samples/nsut/prox/configs/gen_mpls_tag_untag-2.cfg index d9c742983..9fcbbacc9 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_mpls_tag_untag-2.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_mpls_tag_untag-2.cfg @@ -21,6 +21,7 @@ no-output=no ; disable DPDK debug output [port 0] name=taggd1 mac=hardware + [port 1] name=plain1 mac=hardware @@ -47,7 +48,8 @@ mode=gen tx port=taggd1 bps=1250000000 ; Ethernet + MPLS + IP + UDP -pkt inline=${sut_mac0} 70 00 00 00 00 01 88 47 00 00 31 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21 FFFFFFFF +pkt inline=${sut_mac0} 70 00 00 00 00 01 88 47 00 00 31 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 46 47 48 49 +lat pos=46 [core 2] name=udp1 @@ -56,7 +58,8 @@ mode=gen tx port=plain1 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21 FFFFFFFF +pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 42 43 44 45 +lat pos=42 [core 3] task=0 diff --git a/samples/vnf_samples/nsut/prox/configs/gen_mpls_tag_untag-4.cfg b/samples/vnf_samples/nsut/prox/configs/gen_mpls_tag_untag-4.cfg index 20b373882..1e89d9dd7 100644 --- a/samples/vnf_samples/nsut/prox/configs/gen_mpls_tag_untag-4.cfg +++ b/samples/vnf_samples/nsut/prox/configs/gen_mpls_tag_untag-4.cfg @@ -21,12 +21,15 @@ no-output=no ; disable DPDK debug output [port 0] name=taggd1 mac=hardware + [port 1] name=plain1 mac=hardware + [port 2] name=plain2 mac=hardware + [port 3] name=taggd2 mac=hardware @@ -55,7 +58,8 @@ mode=gen tx port=taggd1 bps=1250000000 ; Ethernet + MPLS + IP + UDP -pkt inline=${sut_mac0} 70 00 00 00 00 01 88 47 00 00 31 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21 FFFFFFFF +pkt inline=${sut_mac0} 70 00 00 00 00 01 88 47 00 00 31 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 46 47 48 49 +lat pos=46 [core 2] name=udp1 @@ -64,7 +68,8 @@ mode=gen tx port=plain1 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21 FFFFFFFF +pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 42 43 44 45 +lat pos=42 [core 3] name=udp2 @@ -73,7 +78,8 @@ mode=gen tx port=plain2 bps=1250000000 ; Ethernet + IP + UDP -pkt inline=${sut_mac2} 70 00 00 00 00 03 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21 FFFFFFFF +pkt inline=${sut_mac2} 70 00 00 00 00 03 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 42 43 44 45 +lat pos=42 [core 4] name=tag2 @@ -82,7 +88,8 @@ mode=gen tx port=taggd2 bps=1250000000 ; Ethernet + MPLS + IP + UDP -pkt inline=${sut_mac3} 70 00 00 00 00 04 88 47 00 00 31 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21 FFFFFFFF +pkt inline=${sut_mac3} 70 00 00 00 00 04 88 47 00 00 31 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 46 47 48 49 +lat pos=46 [core 5] task=0 |