summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-dnssec.c
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2017-03-31 16:32:09 +0200
committerLennart Poettering <lennart@poettering.net>2017-03-31 16:32:09 +0200
commit765a00b98d9176aeafc8a677a0e426edd2a20aab (patch)
tree56e9a50fccd84bea663d758dee51608d878841f4 /src/resolve/resolved-dns-dnssec.c
parent6554550f35a7976f9110aff94743d3576d5f02dd (diff)
udev: net_id - support predictable ifnames on vio buses (#5675)
For IBM PowerVM Virtual I/O network devices, we can build predictable names based on the slot number passed as part of the OF "reg" property. Valid slot numbers range between 2-32767, so we only need the bottom half of the unit address passed. For example: /proc/device-tree/vdevice/l-lan@30000002 /proc/device-tree/vdevice/vnic@30000005 would initially map to something like: /sys/devices/vio/30000002/net/eth0 /sys/devices/vio/30000005/net/eth1 and would then translate to env2 and env5 This patch ignores the bus number, as there should only ever be one bus, and then remove leading zeros.
Diffstat (limited to 'src/resolve/resolved-dns-dnssec.c')
0 files changed, 0 insertions, 0 deletions