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: |
||
---|---|---|
.. | ||
hw | ||
bcmfs_dev_msg.h | ||
bcmfs_device.c | ||
bcmfs_device.h | ||
bcmfs_hw_defs.h | ||
bcmfs_logs.c | ||
bcmfs_logs.h | ||
bcmfs_qp.c | ||
bcmfs_qp.h | ||
bcmfs_sym_capabilities.c | ||
bcmfs_sym_capabilities.h | ||
bcmfs_sym_defs.h | ||
bcmfs_sym_engine.c | ||
bcmfs_sym_engine.h | ||
bcmfs_sym_pmd.c | ||
bcmfs_sym_pmd.h | ||
bcmfs_sym_req.h | ||
bcmfs_sym_session.c | ||
bcmfs_sym_session.h | ||
bcmfs_sym.c | ||
bcmfs_vfio.c | ||
bcmfs_vfio.h | ||
meson.build | ||
version.map |