3be42081ba
When compiled as a shared object, and loaded at runtime as a plugin, the drivers should get the log level set earlier at EAL init by the user through --log-level option. The function for applying the log level setting is rte_log_register_type_and_pick_level(). It is called by most drivers via RTE_LOG_REGISTER(). The drivers common/mlx5, bcmfs and e1000 were missing, so the user-specified log level was not applied when those drivers were loaded as plugins. The macro RTE_LOG_REGISTER() is used for those drivers. The unnecessary protection for double registration is removed from e1000. Fixes: |
||
---|---|---|
.. | ||
linux | ||
windows | ||
meson.build | ||
mlx5_common_devx.c | ||
mlx5_common_devx.h | ||
mlx5_common_mp.c | ||
mlx5_common_mp.h | ||
mlx5_common_mr.c | ||
mlx5_common_mr.h | ||
mlx5_common_pci.c | ||
mlx5_common_pci.h | ||
mlx5_common_utils.h | ||
mlx5_common.c | ||
mlx5_common.h | ||
mlx5_devx_cmds.c | ||
mlx5_devx_cmds.h | ||
mlx5_malloc.c | ||
mlx5_malloc.h | ||
mlx5_prm.h | ||
version.map |