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 00/13] improve the modularization of NFP PMD
Date: Wed, 20 Sep 2023 19:34:41 +0800	[thread overview]
Message-ID: <20230920113454.739356-1-chaoyong.he@corigine.com> (raw)

This patch series aims to improve the modularization of NFP PMD through:
* Make the header files self-containing by adding the correct include
  statement.
* Try to keep the interface of modules as small as possible.
* Remove the unneeded include statements to make sure a clean dependent
  relations among modules.

Chaoyong He (13):
  net/nfp: make sure header file is self-containing
  net/nfp: improve modularazation of rxtx module
  net/nfp: improve modularazation of nfd3 module
  net/nfp: improve modularazation of nfdk module
  net/nfp: improve modularazation of common module
  net/nfp: improve modularazation of flower module
  net/nfp: improve modularazation of flower representor module
  net/nfp: improve modularazation of flower ctrl module
  net/nfp: improve modularazation of flower cmsg module
  net/nfp: improve modularazation of flow module
  net/nfp: improve modularazation of meter module
  net/nfp: improve modularazation of CPP bridge module
  net/nfp: cleanup the include statement of PMD

 drivers/net/nfp/flower/nfp_flower.c           |  22 +--
 drivers/net/nfp/flower/nfp_flower.h           |   2 +
 drivers/net/nfp/flower/nfp_flower_cmsg.c      |  11 +-
 drivers/net/nfp/flower/nfp_flower_cmsg.h      |  77 +++++++-
 drivers/net/nfp/flower/nfp_flower_ctrl.c      |  13 +-
 drivers/net/nfp/flower/nfp_flower_ctrl.h      |   2 +
 .../net/nfp/flower/nfp_flower_representor.c   |  29 +--
 .../net/nfp/flower/nfp_flower_representor.h   |  14 --
 drivers/net/nfp/nfd3/nfp_nfd3.h               |  89 +--------
 drivers/net/nfp/nfd3/nfp_nfd3_dp.c            |  96 +++++++++-
 drivers/net/nfp/nfdk/nfp_nfdk.h               |  71 +------
 drivers/net/nfp/nfdk/nfp_nfdk_dp.c            |  81 +++++++-
 drivers/net/nfp/nfp_common.c                  |  51 ++---
 drivers/net/nfp/nfp_common.h                  |  34 +---
 drivers/net/nfp/nfp_cpp_bridge.c              |  14 +-
 drivers/net/nfp/nfp_cpp_bridge.h              |   8 -
 drivers/net/nfp/nfp_ctrl.h                    |   2 +
 drivers/net/nfp/nfp_ethdev.c                  |  25 +--
 drivers/net/nfp/nfp_ethdev_vf.c               |   9 +-
 drivers/net/nfp/nfp_flow.c                    |  88 ++++++++-
 drivers/net/nfp/nfp_flow.h                    |  78 +-------
 drivers/net/nfp/nfp_mtr.c                     |  16 +-
 drivers/net/nfp/nfp_mtr.h                     |  70 +------
 drivers/net/nfp/nfp_rxtx.c                    | 174 +++++++++++++++++-
 drivers/net/nfp/nfp_rxtx.h                    | 168 +----------------
 drivers/net/nfp/nfpcore/nfp_platform.h        |   2 +
 26 files changed, 579 insertions(+), 667 deletions(-)

-- 
2.39.1


             reply	other threads:[~2023-09-20 11:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20 11:34 Chaoyong He [this message]
2023-09-20 11:34 ` [PATCH 01/13] net/nfp: make sure header file is self-containing Chaoyong He
2023-09-20 11:34 ` [PATCH 02/13] net/nfp: improve modularazation of rxtx module Chaoyong He
2023-09-20 11:34 ` [PATCH 03/13] net/nfp: improve modularazation of nfd3 module Chaoyong He
2023-09-20 11:34 ` [PATCH 04/13] net/nfp: improve modularazation of nfdk module Chaoyong He
2023-09-20 11:34 ` [PATCH 05/13] net/nfp: improve modularazation of common module Chaoyong He
2023-09-20 11:34 ` [PATCH 06/13] net/nfp: improve modularazation of flower module Chaoyong He
2023-09-20 11:34 ` [PATCH 07/13] net/nfp: improve modularazation of flower representor module Chaoyong He
2023-09-20 11:34 ` [PATCH 08/13] net/nfp: improve modularazation of flower ctrl module Chaoyong He
2023-09-20 11:34 ` [PATCH 09/13] net/nfp: improve modularazation of flower cmsg module Chaoyong He
2023-09-20 11:34 ` [PATCH 10/13] net/nfp: improve modularazation of flow module Chaoyong He
2023-09-20 11:34 ` [PATCH 11/13] net/nfp: improve modularazation of meter module Chaoyong He
2023-09-20 11:34 ` [PATCH 12/13] net/nfp: improve modularazation of CPP bridge module Chaoyong He
2023-09-20 11:34 ` [PATCH 13/13] net/nfp: cleanup the include statement of PMD Chaoyong He
2023-09-22 11:23 ` [PATCH 00/13] improve the modularization of NFP PMD Ferruh Yigit
2023-09-25  1:34   ` Chaoyong He

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