[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190326120307.2953-10-jiri@resnulli.us>
Date: Tue, 26 Mar 2019 13:03:04 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, mlxsw@...lanox.com, idosch@...lanox.com,
jakub.kicinski@...ronome.com, f.fainelli@...il.com, andrew@...n.ch,
vivien.didelot@...il.com, michael.chan@...adcom.com
Subject: [patch net-next v2 09/12] dsa: don't fill-up remove ndo_get_phys_port_name for slaves
From: Jiri Pirko <jiri@...lanox.com>
Leave it only for legacy. But since each slave has its own devlink port
instance correctly set, rely on devlink core to generate correct phys
port name.
Signed-off-by: Jiri Pirko <jiri@...lanox.com>
---
v1->v2:
- new patch
---
net/dsa/slave.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index 46c98cb8a2b5..75bcac39a326 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -1145,7 +1145,6 @@ static const struct net_device_ops dsa_slave_netdev_ops = {
.ndo_netpoll_cleanup = dsa_slave_netpoll_cleanup,
.ndo_poll_controller = dsa_slave_poll_controller,
#endif
- .ndo_get_phys_port_name = dsa_slave_get_phys_port_name,
.ndo_setup_tc = dsa_slave_setup_tc,
.ndo_get_stats64 = dsa_slave_get_stats64,
.ndo_get_port_parent_id = dsa_slave_get_port_parent_id,
--
2.17.2
Powered by blists - more mailing lists