Tue, Feb 26, 2019 at 04:34:03AM CET, [email protected] wrote: >Instead of iterating over all devlink ports add a NDO which >will return the devlink instance from the driver. > >v2: add the netdev_to_devlink() helper (Michal) >v3: check that devlink has ops (Florian) >v4: hold devlink_mutex (Jiri) > >Suggested-by: Jiri Pirko <[email protected]> >Signed-off-by: Jakub Kicinski <[email protected]> >Reviewed-by: Florian Fainelli <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
