On Fri, 3 May 2019 13:31:53 +0200, Jiri Pirko wrote: > From: Jiri Pirko <j...@mellanox.com> > > Prevent misbehavior of drivers who would not set port type for longer > period of time. Drivers should always set port type. Do WARN if that > happens. > > Note that it is perfectly fine to temporarily not have the type set, > during initialization and port type change. > > Signed-off-by: Jiri Pirko <j...@mellanox.com>
Looks useful and I have no better idea on how to implement it, so: Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com>