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
Also in
bridge, linux-rdma, lkml
Reply to
Florian Fainelli, 2019-02-05
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
Thread (27 messages) 27 messages, 4 authors, last reply 2019-02-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help