From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH 0/6] Refactor common libs
Date: Tue, 15 Jan 2019 12:27:55 +0900 [thread overview]
Message-ID: <1547522881-10105-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
SPP's common libraries under `src/shared` are not organized well. For
example, functions used only by spp_primary is included in
`shared/common.c`, but it should be moved under `primary/`.
This series of patches is to refactor file structure of SPP.
* Move functions for spp_primary to `src/primary`.
* Move functions for spp_nfv to `src/nfv`.
* Add common libs for secondary processes in `src/shared/secondary/`.
Yasufumi Ogawa (6):
spp_primary: refactor common for primary
shared: refactor common for SPP secondaries
spp_nfv: refactor common for spp_nfv
shared: refactor common functions
shared: refactor libs of SPP secondary
spp_nfv: refactor file structure
src/Makefile | 2 +-
src/nfv/Makefile | 5 +-
src/nfv/commands.h | 72 +--
src/nfv/init.h | 44 ++
src/nfv/main.c | 31 +-
src/nfv/nfv.h | 13 -
src/nfv/nfv_status.c | 249 +++++++++
src/nfv/nfv_status.h | 24 +
src/nfv/nfv_utils.h | 118 ++++
src/nfv/params.h | 9 +-
src/primary/args.c | 48 +-
src/primary/args.h | 10 +-
src/primary/init.c | 137 ++++-
src/primary/init.h | 16 +-
src/primary/main.c | 52 +-
src/primary/primary.h | 10 +
src/shared/common.c | 526 +-----------------
src/shared/common.h | 141 +----
.../secondary/add_port.h} | 194 ++-----
src/shared/secondary/utils.c | 119 ++++
src/shared/secondary/utils.h | 39 ++
21 files changed, 961 insertions(+), 898 deletions(-)
create mode 100644 src/nfv/init.h
delete mode 100644 src/nfv/nfv.h
create mode 100644 src/nfv/nfv_status.c
create mode 100644 src/nfv/nfv_status.h
create mode 100644 src/nfv/nfv_utils.h
create mode 100644 src/primary/primary.h
rename src/{nfv/command_utils.h => shared/secondary/add_port.h} (61%)
create mode 100644 src/shared/secondary/utils.c
create mode 100644 src/shared/secondary/utils.h
--
2.17.1
next reply other threads:[~2019-01-15 3:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-15 3:27 ogawa.yasufumi [this message]
2019-01-15 3:27 ` [spp] [PATCH 1/6] spp_primary: refactor common for primary ogawa.yasufumi
2019-01-15 3:27 ` [spp] [PATCH 2/6] shared: refactor common for SPP secondaries ogawa.yasufumi
2019-01-15 3:27 ` [spp] [PATCH 3/6] spp_nfv: refactor common for spp_nfv ogawa.yasufumi
2019-01-15 3:27 ` [spp] [PATCH 4/6] shared: refactor common functions ogawa.yasufumi
2019-01-15 3:28 ` [spp] [PATCH 5/6] shared: refactor libs of SPP secondary ogawa.yasufumi
2019-01-15 3:28 ` [spp] [PATCH 6/6] spp_nfv: refactor file structure ogawa.yasufumi
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=1547522881-10105-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
/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).