[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190523.091224.738906988263788675.davem@davemloft.net>
Date: Thu, 23 May 2019 09:12:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, mlxsw@...lanox.com,
jakub.kicinski@...ronome.com
Subject: Re: [patch net-next v2] devlink: add warning in case driver does
not set port type
From: Jiri Pirko <jiri@...nulli.us>
Date: Thu, 23 May 2019 10:43:35 +0200
> From: Jiri Pirko <jiri@...lanox.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 <jiri@...lanox.com>
> ---
> v1->v2:
> - Don't warn on DSA and CPU ports.
Applied.
Powered by blists - more mailing lists