DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 00/11] Fixing log levels for dynamically loaded drivers
@ 2019-08-19 11:41 David Marchand
  2019-08-19 11:41 ` [dpdk-dev] [PATCH 01/11] log: fix plugin level restore with patterns David Marchand
                   ` (11 more replies)
  0 siblings, 12 replies; 32+ messages in thread
From: David Marchand @ 2019-08-19 11:41 UTC (permalink / raw)
  To: dev

All (but the Solarflare net driver) drivers currently do not care about
the log level the user might have passed at init time.

Convert existing drivers from rte_log_register to a new wrapper
RTE_LOG_REGISTER that relies on rte_log_register_type_and_pick_level
that handles this issue.


-- 
David Marchand

David Marchand (11):
  log: fix plugin level restore with patterns
  log: define logtype register wrapper for drivers
  drivers/baseband: use new logtype wrapper
  drivers/bus: use new logtype wrapper
  drivers/common: use new logtype wrapper
  drivers/compress: use new logtype wrapper
  drivers/crypto: use new logtype wrapper
  drivers/event: use new logtype wrapper
  drivers/mempool: use new logtype wrapper
  drivers/net: use new logtype wrapper
  drivers/raw: use new logtype wrapper

 drivers/baseband/fpga_lte_fec/fpga_lte_fec.c       | 11 ++--
 drivers/baseband/null/bbdev_null.c                 |  8 +--
 drivers/baseband/turbo_sw/bbdev_turbo_software.c   |  8 +--
 drivers/bus/dpaa/dpaa_bus.c                        | 26 +++------
 drivers/bus/fslmc/fslmc_bus.c                      |  9 +---
 drivers/bus/ifpga/ifpga_bus.c                      |  8 +--
 drivers/bus/vdev/vdev.c                            |  8 +--
 drivers/bus/vmbus/vmbus_common.c                   |  8 +--
 drivers/common/dpaax/dpaax_iova_table.c            |  8 +--
 drivers/common/octeontx/octeontx_mbox.c            |  8 +--
 drivers/common/octeontx2/otx2_common.c             | 62 ++++++++--------------
 drivers/common/qat/qat_logs.c                      | 18 +++----
 drivers/compress/isal/isal_compress_pmd.c          |  8 +--
 drivers/compress/octeontx/otx_zip_pmd.c            |  8 +--
 drivers/compress/zlib/zlib_pmd.c                   |  8 +--
 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c           |  7 +--
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c         |  6 +--
 drivers/crypto/caam_jr/caam_jr.c                   |  8 +--
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c        |  9 +---
 drivers/crypto/dpaa_sec/dpaa_sec.c                 |  8 +--
 drivers/crypto/kasumi/rte_kasumi_pmd.c             |  6 +--
 drivers/crypto/mvsam/rte_mrvl_pmd.c                |  6 +--
 drivers/crypto/null/null_crypto_pmd.c              |  6 +--
 drivers/crypto/octeontx/otx_cryptodev.c            |  9 +---
 drivers/crypto/openssl/rte_openssl_pmd.c           |  6 +--
 drivers/crypto/scheduler/rte_cryptodev_scheduler.c |  6 +--
 drivers/crypto/snow3g/rte_snow3g_pmd.c             |  6 +--
 drivers/crypto/virtio/virtio_cryptodev.c           | 35 ++++--------
 drivers/crypto/zuc/rte_zuc_pmd.c                   |  6 +--
 drivers/event/dpaa2/dpaa2_eventdev.c               |  8 +--
 drivers/event/octeontx/ssovf_evdev.c               |  8 +--
 drivers/event/octeontx/timvf_evdev.c               |  8 +--
 drivers/event/opdl/opdl_evdev.c                    |  9 +---
 drivers/event/sw/sw_evdev.c                        |  8 +--
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c           |  8 +--
 drivers/mempool/octeontx/octeontx_fpavf.c          |  8 +--
 drivers/net/af_packet/rte_eth_af_packet.c          |  8 +--
 drivers/net/af_xdp/rte_eth_af_xdp.c                |  8 +--
 drivers/net/atlantic/atl_ethdev.c                  | 13 ++---
 drivers/net/avp/avp_ethdev.c                       |  8 +--
 drivers/net/axgbe/axgbe_ethdev.c                   | 13 ++---
 drivers/net/bnx2x/bnx2x_ethdev.c                   | 13 ++---
 drivers/net/bnxt/bnxt_ethdev.c                     |  8 +--
 drivers/net/bonding/rte_eth_bond_pmd.c             |  8 +--
 drivers/net/dpaa2/dpaa2_ethdev.c                   |  8 +--
 drivers/net/e1000/e1000_logs.c                     | 21 ++------
 drivers/net/e1000/e1000_logs.h                     |  4 --
 drivers/net/e1000/em_ethdev.c                      |  6 ---
 drivers/net/e1000/igb_ethdev.c                     |  6 ---
 drivers/net/ena/ena_ethdev.c                       | 13 ++---
 drivers/net/enetc/enetc_ethdev.c                   |  8 +--
 drivers/net/enic/enic_ethdev.c                     |  8 +--
 drivers/net/failsafe/failsafe.c                    |  8 +--
 drivers/net/fm10k/fm10k_ethdev.c                   | 13 ++---
 drivers/net/hinic/hinic_pmd_ethdev.c               |  8 +--
 drivers/net/i40e/i40e_ethdev.c                     | 13 ++---
 drivers/net/iavf/iavf_ethdev.c                     | 13 ++---
 drivers/net/ice/ice_ethdev.c                       | 13 ++---
 drivers/net/ifc/ifcvf_vdpa.c                       |  8 +--
 drivers/net/ipn3ke/ipn3ke_ethdev.c                 |  8 +--
 drivers/net/ixgbe/ixgbe_ethdev.c                   | 13 ++---
 drivers/net/kni/rte_eth_kni.c                      |  8 +--
 drivers/net/liquidio/lio_ethdev.c                  | 13 ++---
 drivers/net/memif/rte_eth_memif.c                  |  8 +--
 drivers/net/mlx4/mlx4.c                            |  8 ++-
 drivers/net/mlx5/mlx5.c                            |  8 ++-
 drivers/net/mvneta/mvneta_ethdev.c                 |  8 +--
 drivers/net/mvpp2/mrvl_ethdev.c                    |  8 +--
 drivers/net/netvsc/hn_ethdev.c                     | 13 ++---
 drivers/net/nfp/nfp_net.c                          | 13 ++---
 drivers/net/null/rte_eth_null.c                    |  8 +--
 drivers/net/octeontx/octeontx_ethdev.c             | 20 +++----
 drivers/net/pcap/rte_eth_pcap.c                    |  8 +--
 drivers/net/qede/qede_ethdev.c                     | 13 ++---
 drivers/net/ring/rte_eth_ring.c                    |  8 +--
 drivers/net/softnic/rte_eth_softnic.c              |  9 +---
 drivers/net/szedata2/rte_eth_szedata2.c            | 13 ++---
 drivers/net/tap/rte_eth_tap.c                      |  8 +--
 drivers/net/thunderx/nicvf_ethdev.c                | 20 +++----
 drivers/net/vdev_netvsc/vdev_netvsc.c              |  9 +---
 drivers/net/vhost/rte_eth_vhost.c                  |  8 +--
 drivers/net/virtio/virtio_ethdev.c                 | 13 ++---
 drivers/net/vmxnet3/vmxnet3_ethdev.c               | 13 ++---
 drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c              |  8 +--
 drivers/raw/dpaa2_qdma/dpaa2_qdma.c                |  8 +--
 drivers/raw/ifpga/ifpga_rawdev.c                   |  8 +--
 drivers/raw/ioat/ioat_rawdev.c                     |  8 +--
 drivers/raw/ntb/ntb.c                              |  8 +--
 drivers/raw/skeleton/skeleton_rawdev.c             |  8 +--
 lib/librte_eal/common/eal_common_log.c             |  2 +-
 lib/librte_eal/common/include/rte_log.h            | 12 +++--
 lib/librte_eal/rte_eal_version.map                 |  8 ++-
 92 files changed, 273 insertions(+), 671 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2019-09-05  7:45 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 11:41 [dpdk-dev] [PATCH 00/11] Fixing log levels for dynamically loaded drivers David Marchand
2019-08-19 11:41 ` [dpdk-dev] [PATCH 01/11] log: fix plugin level restore with patterns David Marchand
2019-08-19 12:30   ` Andrew Rybchenko
2019-08-19 11:41 ` [dpdk-dev] [PATCH 02/11] log: define logtype register wrapper for drivers David Marchand
2019-08-19 12:27   ` Andrew Rybchenko
2019-09-02 14:29   ` Ferruh Yigit
2019-09-03  8:06     ` David Marchand
2019-09-03  8:47       ` Ferruh Yigit
2019-09-04 17:45         ` Thomas Monjalon
2019-09-04 19:21           ` Andrew Rybchenko
2019-09-04 19:41             ` Thomas Monjalon
2019-09-04 19:58               ` Andrew Rybchenko
2019-09-04 20:44                 ` Thomas Monjalon
2019-09-05  6:29                   ` Andrew Rybchenko
2019-09-05  7:13                     ` David Marchand
2019-09-05  7:45                     ` Thomas Monjalon
2019-08-19 11:41 ` [dpdk-dev] [PATCH 03/11] drivers/baseband: use new logtype wrapper David Marchand
2019-08-19 15:39   ` Chautru, Nicolas
2019-08-19 11:41 ` [dpdk-dev] [PATCH 04/11] drivers/bus: " David Marchand
2019-08-19 11:41 ` [dpdk-dev] [PATCH 05/11] drivers/common: " David Marchand
2019-08-19 11:41 ` [dpdk-dev] [PATCH 06/11] drivers/compress: " David Marchand
2019-08-19 11:41 ` [dpdk-dev] [PATCH 07/11] drivers/crypto: " David Marchand
2019-08-19 11:41 ` [dpdk-dev] [PATCH 08/11] drivers/event: " David Marchand
2019-08-19 11:41 ` [dpdk-dev] [PATCH 09/11] drivers/mempool: " David Marchand
2019-08-19 11:41 ` [dpdk-dev] [PATCH 10/11] drivers/net: " David Marchand
2019-08-19 14:55   ` Legacy, Allain
2019-09-02 16:11   ` Ferruh Yigit
2019-09-03  8:06     ` David Marchand
2019-09-03 15:03       ` Stephen Hemminger
2019-08-19 11:41 ` [dpdk-dev] [PATCH 11/11] drivers/raw: " David Marchand
2019-09-02 14:17 ` [dpdk-dev] [PATCH 00/11] Fixing log levels for dynamically loaded drivers Ferruh Yigit
2019-09-03  8:06   ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).