Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: dsa: set name_assign_type to NET_NAME_ENUM for enumerated user p…
…orts When a user port does not have a label in device tree, and we thus fall back to the eth%d scheme, the proper constant to use is NET_NAME_ENUM. See also commit e9f656b ("net: ethernet: set default assignment identifier to NET_NAME_ENUM"), which in turn quoted commit 685343f ("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. Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
- Loading branch information