From: Jiri Pirko <j...@resnulli.us> Date: Thu, 23 May 2019 10:43:35 +0200
> 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> > --- > v1->v2: > - Don't warn on DSA and CPU ports. Applied.