DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] refactor the nfp log subsystem
@ 2023-02-17  2:45 Chaoyong He
  2023-02-17  2:45 ` [PATCH 1/3] net/nfp: add the log source file Chaoyong He
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Chaoyong He @ 2023-02-17  2:45 UTC (permalink / raw)
  To: dev; +Cc: oss-drivers, niklas.soderlund, Chaoyong He

Follow the advice from community reviewer, we get rid of the use of
RTE log level type and RTE_LOG_*() macro, and also wrap the rte_log()
with our own log macro.

Chaoyong He (3):
  net/nfp: add the log source file
  net/nfp: get rid of the usage of RTE log level type
  net/nfp: get rid of the usage of RTE log macro

 drivers/net/nfp/flower/nfp_flower.c        | 10 ++---
 drivers/net/nfp/flower/nfp_flower_ctrl.c   |  2 +-
 drivers/net/nfp/meson.build                |  1 +
 drivers/net/nfp/nfp_common.c               |  3 --
 drivers/net/nfp/nfp_cpp_bridge.c           | 48 ++++++++++------------
 drivers/net/nfp/nfp_ethdev.c               |  4 +-
 drivers/net/nfp/nfp_ethdev_vf.c            |  4 +-
 drivers/net/nfp/nfp_logs.c                 | 20 +++++++++
 drivers/net/nfp/nfp_logs.h                 |  8 +++-
 drivers/net/nfp/nfp_rxtx.c                 | 10 ++---
 drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c |  1 +
 11 files changed, 65 insertions(+), 46 deletions(-)
 create mode 100644 drivers/net/nfp/nfp_logs.c

-- 
2.29.3


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

end of thread, other threads:[~2023-02-20 16:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17  2:45 [PATCH 0/3] refactor the nfp log subsystem Chaoyong He
2023-02-17  2:45 ` [PATCH 1/3] net/nfp: add the log source file Chaoyong He
2023-02-17  2:45 ` [PATCH 2/3] net/nfp: get rid of the usage of RTE log level type Chaoyong He
2023-02-17 13:59   ` Ferruh Yigit
2023-02-20  1:36     ` Chaoyong He
2023-02-20 10:09       ` Ferruh Yigit
2023-02-20 16:16         ` Stephen Hemminger
2023-02-20 16:32           ` Ferruh Yigit
2023-02-17  2:45 ` [PATCH 3/3] net/nfp: get rid of the usage of RTE log macro Chaoyong He
2023-02-20 12:03 ` [PATCH 0/3] refactor the nfp log subsystem Ferruh Yigit

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).