Skip to content
Commit e9f656b7 authored by Ian Wienand's avatar Ian Wienand Committed by Jakub Kicinski
Browse files

net: ethernet: set default assignment identifier to NET_NAME_ENUM

As noted in the original commit 685343fc

 ("net: add
name_assign_type netdev attribute")

  ... when the kernel has given the interface a name using global
  device enumeration based on order of discovery (ethX, wlanY, etc)
  ... are labelled NET_NAME_ENUM.

That describes this case, so set the default for the devices here to
NET_NAME_ENUM.  Current popular network setup tools like systemd use
this only to warn if you're setting static settings on interfaces that
might change, so it is expected this only leads to better user
information, but not changing of interfaces, etc.

Signed-off-by: default avatarIan Wienand <iwienand@redhat.com>
Link: https://lore.kernel.org/r/20220406093635.1601506-1-iwienand@redhat.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 15fcdf6a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment