diff options
| author | Julian Wiedmann <[email protected]> | 2018-04-26 09:42:24 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-04-27 13:38:49 -0400 |
| commit | 21b1702af12eb62bb40d994c9c1546ecacfc8456 (patch) | |
| tree | 2460b89b2784dc55193c876c0398b863400324da /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | d7e6ed97b534e8b5706f4ef6d51c44f13608333c (diff) | |
s390/qeth: improve fallback to random MAC address
If READ MAC fails to fetch a valid MAC address, allow some more device
types (IQD and z/VM OSD) to fall back to a random address.
Also use eth_hw_addr_random(), for indicating to userspace that the
address type is NET_ADDR_RANDOM.
Note that while z/VM has various protection schemes to prohibit
custom addresses on its NICs, they are all optional. So we should at
least give it a try.
Signed-off-by: Julian Wiedmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions