On Mon, 31 Oct 2022 13:42:35 +0100 Jiri Pirko wrote: > Currently, the info about linkage from netdev to the related > devlink_port instance is done using ndo_get_devlink_port(). > This is not sufficient, as it is up to the driver to implement it and > some of them don't do that. Also it leads to a lot of unnecessary > boilerplate code in all the drivers. Sorry about the late nit picks, the other patches look good. Nice cleanup!