On 3/21/2018 11:28 AM, Andrew Rybchenko wrote:
> From: Ivan Malov <ivan.ma...@oktetlabs.ru>
> 
> Dynamic log types are registered on RTE_INIT() step.
> This allows one to set log levels by EAL options on
> application launch. However, this does not allow to
> manage log types if they are created during runtime.
> 
> EAL does not store log levels and types passed from
> the command line. Thus, they cannot be picked later.
> This is an obvious flaw since it would be better to
> be able to pick levels for dynamic types registered
> for runtime-determined facilities such as NIC ports.
> 
> This patch provides a mechanism to store log levels
> passed from EAL options and adds an API to register
> log types and pick levels from the internal storage.
> 
> Signed-off-by: Ivan Malov <ivan.ma...@oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybche...@solarflare.com>
> Reviewed-by: Andy Moreton <amore...@solarflare.com>

Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>

Reply via email to