From 969b1e55783dd65b837e61656818b7b470667d0e Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Fri, 31 May 2024 14:23:38 +0200 Subject: feat(profiles): Do not share seeds between streams Avoiding any predictable memory access patterns is more important than similarity between 2p and 6p profiles. + Seed values now match parts of IP source address. Change-Id: Ib1830cf9d3e7b329e54de19a92ecea77c8baeeb5 Signed-off-by: Vratko Polak (cherry picked from commit 3151535b07b7602e73925224250670af9449db68) --- .../trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py') diff --git a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py index 34ca59fe84..58363b9811 100644 --- a/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py +++ b/GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Cisco and/or its affiliates. +# Copyright (c) 2024 Cisco and/or its affiliates. # # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later # @@ -54,14 +54,14 @@ class TrafficStreams(TrafficStreamsScaleClass): "src_start_ip": "30.0.0.1", "dst_start_ip": "40.0.0.0", "dst_end_ip": "40.0.39.15", - "seed": 2 + "seed": 3 }, # Direction W --> E: { "src_start_ip": "50.0.0.1", "dst_start_ip": "60.0.0.0", "dst_end_ip": "60.0.39.15", - "seed": 1 + "seed": 5 }, # Direction E --> W: { @@ -75,14 +75,14 @@ class TrafficStreams(TrafficStreamsScaleClass): "src_start_ip": "40.0.0.1", "dst_start_ip": "30.0.0.0", "dst_end_ip": "30.0.39.15", - "seed": 1 + "seed": 4 }, # Direction E --> W: { "src_start_ip": "60.0.0.1", "dst_start_ip": "50.0.0.0", "dst_end_ip": "50.0.39.15", - "seed": 2 + "seed": 6 } ] self.pkt_base = [] -- cgit 1.2.3-korg