commit | e58df56c8564b701491236381fc1e75202952736 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Wed Feb 06 09:45:43 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 06 14:17:03 2019 -0800 |
tree | 20090a36c3d816623fa9625a33767ede5571dda6 | |
parent | 7026b8a6fbe1061863a25495d4dc1fa115c8708e [diff] |
netdevsim: Implement ndo_get_port_parent_id() netdevsim only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a great candidate to be converted to use the ndo_get_port_parent_id() NDO instead of implementing switchdev_port_attr_get(). 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>