]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfp: do not handle nn->port defined case in nfp_net_get_phys_port_name()
authorJiri Pirko <jiri@mellanox.com>
Thu, 28 Mar 2019 12:56:45 +0000 (13:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Mar 2019 19:55:31 +0000 (12:55 -0700)
commitf1fa719cfd552dccdfe80e6f81be8d15503dfcce
treef3113935094627e1296903091701d70e5876d582
parentd484210bf745ee6d8269b7d747bc5b94c4416ff1
nfp: do not handle nn->port defined case in nfp_net_get_phys_port_name()

If nn->port is defined it means that devlink_port has been registered
for this port as well. Devlink core is handling the port name
formatting.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c