diff options
author | Vratko Polak <vrpolak@cisco.com> | 2024-05-31 14:23:38 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2024-05-31 13:46:46 +0000 |
commit | 969b1e55783dd65b837e61656818b7b470667d0e (patch) | |
tree | b178b9350e09482884e661cde1d97c934b62386b /GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py | |
parent | 7506df12a11f6d73a8b6291fba9a5bbf72bea47a (diff) |
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 <vrpolak@cisco.com>
(cherry picked from commit 3151535b07b7602e73925224250670af9449db68)
Diffstat (limited to 'GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py')
-rw-r--r-- | GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000-6p.py | 10 |
1 files changed, 5 insertions, 5 deletions
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 = [] |