2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/net/netdevsim
Jiri Pirko 514cf64cc5 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>
2019-04-26 01:52:02 -04:00
..
bpf.c netdevsim: merge sdev into dev 2019-04-26 01:52:02 -04:00
bus.c netdevsim: add bus attributes to add new and delete devices 2019-04-26 01:52:02 -04:00
dev.c netdevsim: generate random switch id instead of using dev id 2019-04-26 01:52:02 -04:00
fib.c netdevsim: create devlink instance per netdevsim instance 2019-04-26 01:52:02 -04:00
ipsec.c drivers: net: netdevsim: use skb_sec_path helper 2018-12-19 11:21:37 -08:00
Makefile netdevsim: merge sdev into dev 2019-04-26 01:52:02 -04:00
netdev.c netdevsim: generate random switch id instead of using dev id 2019-04-26 01:52:02 -04:00
netdevsim.h netdevsim: generate random switch id instead of using dev id 2019-04-26 01:52:02 -04:00
sdev.c netdevsim: move shared dev creation and destruction into separate file 2019-04-12 16:49:54 -07:00