Skip to content
Commit 4072d97d authored by François Michel's avatar François Michel Committed by Jakub Kicinski
Browse files

netem: add prng attribute to netem_sched_data



Add prng attribute to struct netem_sched_data and
allows setting the seed of the PRNG through netlink
using the new TCA_NETEM_PRNG_SEED attribute.
The PRNG attribute is not actually used yet.

Signed-off-by: default avatarFrançois Michel <francois.michel@uclouvain.be>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Acked-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Link: https://lore.kernel.org/r/20230815092348.1449179-2-francois.michel@uclouvain.be


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a5e5b2cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment