[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190327151958.2649-11-jiri@resnulli.us>
Date: Wed, 27 Mar 2019 16:19:56 +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 v3 10/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 f19ed79c59eb..d8781d7cd7b8 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