mbox series

[v3,0/3] cleanup drivers log registration

Message ID 20210406132204.1818522-1-thomas@monjalon.net (mailing list archive)
Headers
Series cleanup drivers log registration |

Message

Thomas Monjalon April 6, 2021, 1:22 p.m. UTC
  After working on the option "--log-level help",
it became clear that few adjustments were required
for the log registration of some drivers.

v3:
   - rename pmd.afu.ipn3ke log type to pmd.net.ipn3ke
v2:
   - align bonding and af_packet
   - make explicit the RTE_LOGTYPE_EAL default

Thomas Monjalon (3):
  log: choose EAL log type on registration failure
  drivers: fix log level after loading
  drivers: align log names

 doc/guides/cryptodevs/qat.rst             | 10 ++---
 drivers/common/mlx5/mlx5_common.c         |  9 +----
 drivers/common/qat/qat_logs.c             |  4 +-
 drivers/crypto/bcmfs/bcmfs_logs.c         | 17 +-------
 drivers/net/af_packet/rte_eth_af_packet.c |  2 +-
 drivers/net/bonding/rte_eth_bond_pmd.c    |  2 +-
 drivers/net/e1000/e1000_logs.c            | 49 +++--------------------
 drivers/net/e1000/em_ethdev.c             |  6 ---
 drivers/net/e1000/igb_ethdev.c            |  6 ---
 drivers/net/ipn3ke/ipn3ke_ethdev.c        |  2 +-
 drivers/raw/ifpga/ifpga_rawdev.c          |  2 +-
 drivers/raw/ioat/ioat_rawdev.c            |  2 +-
 drivers/raw/skeleton/skeleton_rawdev.c    |  2 +-
 drivers/vdpa/ifc/ifcvf_vdpa.c             |  2 +-
 lib/librte_eal/include/rte_log.h          |  2 +
 15 files changed, 24 insertions(+), 93 deletions(-)
  

Comments

David Marchand April 8, 2021, 4:43 p.m. UTC | #1
On Tue, Apr 6, 2021 at 3:22 PM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> After working on the option "--log-level help",
> it became clear that few adjustments were required
> for the log registration of some drivers.
>
> v3:
>    - rename pmd.afu.ipn3ke log type to pmd.net.ipn3ke
> v2:
>    - align bonding and af_packet
>    - make explicit the RTE_LOGTYPE_EAL default

Series applied, thanks.