DPDK patches and discussions
 help / color / mirror / Atom feed
From: Chaoyong He <chaoyong.he@corigine.com>
To: dev@dpdk.org
Cc: oss-drivers@corigine.com, Chaoyong He <chaoyong.he@corigine.com>
Subject: [PATCH v2 00/11] Unify the PMD coding style
Date: Thu, 12 Oct 2023 09:26:53 +0800	[thread overview]
Message-ID: <20231012012704.483828-1-chaoyong.he@corigine.com> (raw)
In-Reply-To: <20231007023339.1546659-1-chaoyong.he@corigine.com>

This patch series aims to unify the coding style of NFP PMD, make the
logics following the same rules, to make it easier to understand and
extend.
Also prepare for the upcoming vDPA PMD patch series.

---
v2:
* Add some missing modification.
---

Chaoyong He (11):
  net/nfp: explicitly compare to null and 0
  net/nfp: unify the indent coding style
  net/nfp: unify the type of integer variable
  net/nfp: standard the local variable coding style
  net/nfp: adjust the log statement
  net/nfp: standard the comment style
  net/nfp: standard the blank character
  net/nfp: unify the guide line of header file
  net/nfp: rename some parameter and variable
  net/nfp: adjust logic to make it more readable
  net/nfp: refact the meson build file

 drivers/net/nfp/flower/nfp_conntrack.c        |   4 +-
 drivers/net/nfp/flower/nfp_flower.c           |  27 +-
 drivers/net/nfp/flower/nfp_flower.h           |  34 +-
 drivers/net/nfp/flower/nfp_flower_cmsg.c      |  18 +-
 drivers/net/nfp/flower/nfp_flower_cmsg.h      |  62 +-
 drivers/net/nfp/flower/nfp_flower_ctrl.c      |  46 +-
 drivers/net/nfp/flower/nfp_flower_ctrl.h      |   6 +-
 .../net/nfp/flower/nfp_flower_representor.c   |  46 +-
 .../net/nfp/flower/nfp_flower_representor.h   |   8 +-
 drivers/net/nfp/meson.build                   |  23 +-
 drivers/net/nfp/nfd3/nfp_nfd3.h               |  39 +-
 drivers/net/nfp/nfd3/nfp_nfd3_dp.c            |  34 +-
 drivers/net/nfp/nfdk/nfp_nfdk.h               |  49 +-
 drivers/net/nfp/nfdk/nfp_nfdk_dp.c            |  14 +-
 drivers/net/nfp/nfp_common.c                  | 775 +++++++++---------
 drivers/net/nfp/nfp_common.h                  | 169 ++--
 drivers/net/nfp/nfp_cpp_bridge.c              | 139 ++--
 drivers/net/nfp/nfp_cpp_bridge.h              |   8 +-
 drivers/net/nfp/nfp_ctrl.h                    |  46 +-
 drivers/net/nfp/nfp_ethdev.c                  | 325 ++++----
 drivers/net/nfp/nfp_ethdev_vf.c               | 195 ++---
 drivers/net/nfp/nfp_flow.c                    | 251 +++---
 drivers/net/nfp/nfp_flow.h                    |  23 +-
 drivers/net/nfp/nfp_ipsec.h                   |  12 +-
 drivers/net/nfp/nfp_logs.h                    |   7 +-
 drivers/net/nfp/nfp_rxtx.c                    | 303 +++----
 drivers/net/nfp/nfp_rxtx.h                    |  36 +-
 drivers/net/nfp/nfpcore/nfp_resource.h        |   2 +-
 28 files changed, 1313 insertions(+), 1388 deletions(-)

-- 
2.39.1


  parent reply	other threads:[~2023-10-12  1:27 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-07  2:33 [PATCH " Chaoyong He
2023-10-07  2:33 ` [PATCH 01/11] net/nfp: explicitly compare to null and 0 Chaoyong He
2023-10-07  2:33 ` [PATCH 02/11] net/nfp: unify the indent coding style Chaoyong He
2023-10-07  2:33 ` [PATCH 03/11] net/nfp: unify the type of integer variable Chaoyong He
2023-10-07  2:33 ` [PATCH 04/11] net/nfp: standard the local variable coding style Chaoyong He
2023-10-07  2:33 ` [PATCH 05/11] net/nfp: adjust the log statement Chaoyong He
2023-10-07  2:33 ` [PATCH 06/11] net/nfp: standard the comment style Chaoyong He
2023-10-07  2:33 ` [PATCH 07/11] net/nfp: standard the blank character Chaoyong He
2023-10-07  2:33 ` [PATCH 08/11] net/nfp: unify the guide line of header file Chaoyong He
2023-10-07  2:33 ` [PATCH 09/11] net/nfp: rename some parameter and variable Chaoyong He
2023-10-07  2:33 ` [PATCH 10/11] net/nfp: adjust logic to make it more readable Chaoyong He
2023-10-07  2:33 ` [PATCH 11/11] net/nfp: refact the meson build file Chaoyong He
2023-10-12  1:26 ` Chaoyong He [this message]
2023-10-12  1:26   ` [PATCH v2 01/11] net/nfp: explicitly compare to null and 0 Chaoyong He
2023-10-12  1:26   ` [PATCH v2 02/11] net/nfp: unify the indent coding style Chaoyong He
2023-10-12  1:26   ` [PATCH v2 03/11] net/nfp: unify the type of integer variable Chaoyong He
2023-10-12  1:26   ` [PATCH v2 04/11] net/nfp: standard the local variable coding style Chaoyong He
2023-10-12  1:26   ` [PATCH v2 05/11] net/nfp: adjust the log statement Chaoyong He
2023-10-12  1:38     ` Stephen Hemminger
2023-10-12  1:40       ` Chaoyong He
2023-10-12  1:26   ` [PATCH v2 06/11] net/nfp: standard the comment style Chaoyong He
2023-10-12  1:27   ` [PATCH v2 07/11] net/nfp: standard the blank character Chaoyong He
2023-10-12  1:27   ` [PATCH v2 08/11] net/nfp: unify the guide line of header file Chaoyong He
2023-10-12  1:27   ` [PATCH v2 09/11] net/nfp: rename some parameter and variable Chaoyong He
2023-10-12  1:27   ` [PATCH v2 10/11] net/nfp: adjust logic to make it more readable Chaoyong He
2023-10-12  1:27   ` [PATCH v2 11/11] net/nfp: refact the meson build file Chaoyong He
2023-10-13  6:06   ` [PATCH v3 00/11] Unify the PMD coding style Chaoyong He
2023-10-13  6:06     ` [PATCH v3 01/11] net/nfp: explicitly compare to null and 0 Chaoyong He
2023-10-13  6:06     ` [PATCH v3 02/11] net/nfp: unify the indent coding style Chaoyong He
2023-10-13  6:06     ` [PATCH v3 03/11] net/nfp: unify the type of integer variable Chaoyong He
2023-10-13  6:06     ` [PATCH v3 04/11] net/nfp: standard the local variable coding style Chaoyong He
2023-10-13  6:06     ` [PATCH v3 05/11] net/nfp: adjust the log statement Chaoyong He
2023-10-13  6:06     ` [PATCH v3 06/11] net/nfp: standard the comment style Chaoyong He
2023-10-13  6:06     ` [PATCH v3 07/11] net/nfp: standard the blank character Chaoyong He
2023-10-13  6:06     ` [PATCH v3 08/11] net/nfp: unify the guide line of header file Chaoyong He
2023-10-13  6:06     ` [PATCH v3 09/11] net/nfp: rename some parameter and variable Chaoyong He
2023-10-13  6:06     ` [PATCH v3 10/11] net/nfp: adjust logic to make it more readable Chaoyong He
2023-10-13  6:06     ` [PATCH v3 11/11] net/nfp: refact the meson build file Chaoyong He
2023-10-16 16:50       ` Ferruh Yigit
2023-10-16 16:50     ` [PATCH v3 00/11] Unify the PMD coding style Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231012012704.483828-1-chaoyong.he@corigine.com \
    --to=chaoyong.he@corigine.com \
    --cc=dev@dpdk.org \
    --cc=oss-drivers@corigine.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).