DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] cleanup the PMD
@ 2023-02-06  7:05 Chaoyong He
  2023-02-06  7:05 ` [PATCH 1/3] net/nfp: remove usage of print statements Chaoyong He
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Chaoyong He @ 2023-02-06  7:05 UTC (permalink / raw)
  To: dev; +Cc: oss-drivers, niklas.soderlund, Chaoyong He

This patch series aims to better align the PMD with
the preferred DPDK coding style.
- Remove the usage of 'printf()'
- Remove the unneeded header file includes
- Explicitly compare pointer with NULL
- Explicitly compare integer with 0

James Hershaw (3):
  net/nfp: remove usage of print statements
  net/nfp: remove unnecessary include
  net/nfp: explicitly compare to null and 0

 drivers/net/nfp/nfp_common.c               | 25 +++---
 drivers/net/nfp/nfp_cpp_bridge.c           |  4 +-
 drivers/net/nfp/nfp_ethdev.c               |  2 +-
 drivers/net/nfp/nfp_ethdev_vf.c            |  2 +-
 drivers/net/nfp/nfp_rxtx.c                 | 14 ++--
 drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c | 88 +++++++++-------------
 drivers/net/nfp/nfpcore/nfp_cppcore.c      | 31 ++++----
 drivers/net/nfp/nfpcore/nfp_hwinfo.c       | 23 +++---
 drivers/net/nfp/nfpcore/nfp_mip.c          | 16 ++--
 drivers/net/nfp/nfpcore/nfp_mutex.c        | 14 ++--
 drivers/net/nfp/nfpcore/nfp_nffw.c         | 10 +--
 drivers/net/nfp/nfpcore/nfp_nsp.c          | 36 +++++----
 drivers/net/nfp/nfpcore/nfp_nsp_cmds.c     | 10 +--
 drivers/net/nfp/nfpcore/nfp_nsp_eth.c      | 38 +++++-----
 drivers/net/nfp/nfpcore/nfp_resource.c     | 15 ++--
 drivers/net/nfp/nfpcore/nfp_rtsym.c        | 48 +++++-------
 drivers/net/nfp/nfpcore/nfp_target.h       |  2 +-
 17 files changed, 176 insertions(+), 202 deletions(-)

-- 
2.29.3


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

end of thread, other threads:[~2023-02-08  1:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06  7:05 [PATCH 0/3] cleanup the PMD Chaoyong He
2023-02-06  7:05 ` [PATCH 1/3] net/nfp: remove usage of print statements Chaoyong He
2023-02-06  7:05 ` [PATCH 2/3] net/nfp: remove unnecessary include Chaoyong He
2023-02-06  7:05 ` [PATCH 3/3] net/nfp: explicitly compare to null and 0 Chaoyong He
2023-02-06 16:28 ` [PATCH 0/3] cleanup the PMD Stephen Hemminger
2023-02-07  2:17   ` Chaoyong He
2023-02-08  1:56     ` Ferruh Yigit
2023-02-08  1:55 ` 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).