Skip to content
Commit 1571e2fd authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'net-call-for-phys_port_name-into-devlink-directly-if-possible'



Jiri Pirko says:

===================
net: call for phys_port_name into devlink directly if possible

phys_port_name may be assembled by a helper in devlink. It is currently
the case only for mlxsw driver. Benefit from the get_devlink_port ndo
and call into devlink directly from dev_get_phys_port_name(). That saves
the trip to the driver, simplifies the code and makes it similar to
recently introduced ethtool-devlink compat helpers.

Move bnxt, partly nfp and dsa to let devlink core generate the name too.
===================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents ede1fd18 746364f2
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