commit | 7026b8a6fbe1061863a25495d4dc1fa115c8708e | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Wed Feb 06 09:45:42 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 06 14:16:50 2019 -0800 |
tree | a1805dd3c5740c2b775ceeb984e0ce5c46d65e64 | |
parent | a5084bb71fa4cc2a70a3a5775ccd0447dbcb32f3 [diff] |
rocker: Implement ndo_get_port_parent_id() mlxsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>