diff options
author | David S. Miller <davem@davemloft.net> | 2019-03-28 12:55:31 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-28 12:55:31 -0700 |
commit | 1571e2fdac902c25d7ba47cd6a3258c55fa9afa9 (patch) | |
tree | 3a4d5031f135209c4db0a6027e7b983e45caca40 /drivers/s390/net | |
parent | Merge tag 'batadv-next-for-davem-20190328' of git://git.open-mesh.org/linux-merge (diff) | |
parent | net: devlink: add warning for ndo_get_phys_port_name set when not needed (diff) | |
download | linux-dev-1571e2fdac902c25d7ba47cd6a3258c55fa9afa9.tar.xz linux-dev-1571e2fdac902c25d7ba47cd6a3258c55fa9afa9.zip |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
0 files changed, 0 insertions, 0 deletions