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

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

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

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