# Re: \[PATCH net-next v3 11/12\] net: dsa: Implement ndo\_get\_port\_parent\_id()

- From: Jiri Pirko \<jiri@resnulli.us\>
- Date: 2019-02-06 13:36:22 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/02/5505249
- Thread: https://ratatoskr.run/netdev/2019/02/5504782/t.md

```text
Wed, Feb 06, 2019 at 12:53:25AM CET, f.fainelli@gmail.com wrote:
>DSA 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.
>
>Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Acked-by: Jiri Pirko <redacted>
```
