summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-04-25 15:59:51 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-26 01:52:02 -0400
commit514cf64cc5353929fbfb82ed1bda24588acaf96a (patch)
treec78e85f2d5866a512c239fa140cee835a8f51de2 /tools/testing/selftests
parentd514f41e793d2cbc737ba107d7ae26f387f5eecf (diff)
downloadtalos-op-linux-514cf64cc5353929fbfb82ed1bda24588acaf96a.tar.gz
talos-op-linux-514cf64cc5353929fbfb82ed1bda24588acaf96a.zip
netdevsim: generate random switch id instead of using dev id
Current implementation of parent_id/switch_id does not follow the original idea of being unique. The values are "0", "1", etc. Instead of that, generate 32 random bytes. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud