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

- From: Ido Schimmel \<hidden\>
- Date: 2019-02-06 07:51:47 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/02/5504927
- Thread: https://ratatoskr.run/netdev/2019/02/5504782/t.md

```text
On Tue, Feb 05, 2019 at 03:53:14PM -0800, Florian Fainelli wrote:
> Hi all,
> 
> Based on discussion with Ido and feedback from Jakub there are clearly
> two classes of users that implement SWITCHDEV_ATTR_ID_PORT_PARENT_ID:
> 
> - PF/VF drivers which typically only implement return the port's parent
>   ID, yet have to implement switchdev_port_attr_get() just for that
> 
> - Ethernet switch drivers: mlxsw, ocelot, DSA, etc. which implement more
>   attributes which we want to be able to eventually veto in the context
>   of the caller, thus making them candidates for using a blocking notifier
>   chain

Florian, patches look good to me. I'm going to build a kernel with these
patches and run some tests. Will report later today.

Thanks
```
