Do not set seeds in -rnd profiles 56/26456/3
authorVratko Polak <vrpolak@cisco.com>
Thu, 9 Apr 2020 15:00:56 +0000 (17:00 +0200)
committerPeter Mikus <pmikus@cisco.com>
Thu, 16 Apr 2020 05:24:32 +0000 (05:24 +0000)
commitdaa48bd849e20b1452928b561398d23bad5bcc6b
treeb9b1210a0e2e9b3b44c9d9468926b75c41d03c0f
parent68ad5eab0fe4aacde4a813cd052a34aab25adc07
Do not set seeds in -rnd profiles

From trending it seems like TRex threads use thread-local PRNGs,
resulting in multiple packets (one from each thread) for the same flow.
Hopefully, without a seed set, each thread will pick a different seed.

We are risking some threads will still pick the same seed occasionally,
but I doubt TRex API has a better way to prevent this issue.

Change-Id: Ie6ed42669d6e2463627760f89d2426d4e6bf0155
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/traffic_profiles/trex/trex-sl-2n-ethip4-ip4dst-rnd10000.py
resources/traffic_profiles/trex/trex-sl-2n-ethip4-ip4dst-rnd100000.py
resources/traffic_profiles/trex/trex-sl-2n-ethip4-ip4dst-rnd1000000.py