numam-dpdk/drivers/crypto/bcmfs
Thomas Monjalon 3be42081ba drivers: fix log level after loading
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: 9c99878aa1 ("log: introduce logtype register macro")
Fixes: c8e79da7c6 ("crypto/bcmfs: introduce BCMFS driver")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2021-04-08 18:32:31 +02:00
..
hw crypto/bcmfs: add HW queue pair operations 2020-10-14 22:22:06 +02:00
bcmfs_dev_msg.h crypto/bcmfs: add HW queue pair operations 2020-10-14 22:22:06 +02:00
bcmfs_device.c crypto/bcmfs: create a symmetric cryptodev 2020-10-14 22:22:06 +02:00
bcmfs_device.h crypto/bcmfs: create a symmetric cryptodev 2020-10-14 22:22:06 +02:00
bcmfs_hw_defs.h crypto/bcmfs: add queue pair management 2020-10-14 22:22:06 +02:00
bcmfs_logs.c drivers: fix log level after loading 2021-04-08 18:32:31 +02:00
bcmfs_logs.h crypto/bcmfs: introduce BCMFS driver 2020-10-14 21:42:57 +02:00
bcmfs_qp.c crypto/bcmfs: create a symmetric cryptodev 2020-10-14 22:22:06 +02:00
bcmfs_qp.h crypto/bcmfs: create a symmetric cryptodev 2020-10-14 22:22:06 +02:00
bcmfs_sym_capabilities.c crypto/bcmfs: add session handling and capabilities 2020-10-14 22:22:06 +02:00
bcmfs_sym_capabilities.h crypto/bcmfs: add session handling and capabilities 2020-10-14 22:22:06 +02:00
bcmfs_sym_defs.h crypto/bcmfs: optimize crypto request processing 2020-10-14 22:24:41 +02:00
bcmfs_sym_engine.c crypto/bcmfs: optimize crypto request processing 2020-10-14 22:24:41 +02:00
bcmfs_sym_engine.h crypto/bcmfs: add crypto HW module 2020-10-14 22:22:06 +02:00
bcmfs_sym_pmd.c crypto/bcmfs: optimize crypto request processing 2020-10-14 22:24:41 +02:00
bcmfs_sym_pmd.h crypto/bcmfs: create a symmetric cryptodev 2020-10-14 22:22:06 +02:00
bcmfs_sym_req.h crypto/bcmfs: optimize crypto request processing 2020-10-14 22:24:41 +02:00
bcmfs_sym_session.c crypto/bcmfs: add session handling and capabilities 2020-10-14 22:22:06 +02:00
bcmfs_sym_session.h crypto/bcmfs: add session handling and capabilities 2020-10-14 22:22:06 +02:00
bcmfs_sym.c crypto/bcmfs: add crypto HW module 2020-10-14 22:22:06 +02:00
bcmfs_vfio.c crypto/bcmfs: support VFIO 2020-10-14 22:22:06 +02:00
bcmfs_vfio.h crypto/bcmfs: support VFIO 2020-10-14 22:22:06 +02:00
meson.build crypto/bcmfs: add crypto HW module 2020-10-14 22:22:06 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00