Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/6] Refactor for including headers
@ 2019-01-15  3:28 ogawa.yasufumi
  2019-01-15  3:28 ` [spp] [PATCH 1/6] shared: fix include error of add_port libs ogawa.yasufumi
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ogawa.yasufumi @ 2019-01-15  3:28 UTC (permalink / raw)
  To: ferruh.yigit, spp, ogawa.yasufumi

From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>

This series of update is to refactor for including functions and
definitions appropriately.

* Change libs for adding ports in `shared/secondary` from inline to
  ordinary to avoid `not used` error during compilation. This libs are
  not used for packet forwarding and no need to be inline function.

* Remove definition of RTE_LOGTYPE_APP from `common.h` because tag of
  log message should not be `APP` but the name of process, for instance,
  `SPP_PRI`, `SPP_NFV` or so.

* Add definition of `RTE_LOGTYPE_*` for each of secondary processes.

* Update makefiles in each of secondaries to change include path from 
  `-I$(SRCDIR)/../shared` to `-I$(SRCDIR)/../`. It is because for
  including explicitly from `shared` directory in each of codes.

Yasufumi Ogawa (6):
  shared: fix include error of add_port libs
  spp_nfv: update to use common app_port libs
  spp_vf/common: add RTE_LOGTYPE in each of files
  spp_vf/common: change name of func of adding port
  spp_vf: update makefile
  spp_mirror: update makefile

 src/mirror/Makefile             |   3 +-
 src/mirror/spp_mirror.c         |   4 +-
 src/nfv/Makefile                |   3 +-
 src/nfv/commands.h              |   1 +
 src/shared/secondary/add_port.c | 336 +++++++++++++++++++++++++++
 src/shared/secondary/add_port.h | 386 ++++++--------------------------
 src/vf/Makefile                 |   3 +-
 src/vf/common/command_dec.c     |   1 +
 src/vf/common/command_proc.c    |   1 +
 src/vf/common/spp_proc.c        |  11 +-
 src/vf/common/spp_proc.h        |   6 +-
 src/vf/spp_vf.h                 |   4 +-
 12 files changed, 426 insertions(+), 333 deletions(-)
 create mode 100644 src/shared/secondary/add_port.c

-- 
2.17.1

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

end of thread, other threads:[~2019-01-15  3:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15  3:28 [spp] [PATCH 0/6] Refactor for including headers ogawa.yasufumi
2019-01-15  3:28 ` [spp] [PATCH 1/6] shared: fix include error of add_port libs ogawa.yasufumi
2019-01-15  3:28 ` [spp] [PATCH 2/6] spp_nfv: update to use common app_port libs ogawa.yasufumi
2019-01-15  3:28 ` [spp] [PATCH 3/6] spp_vf/common: add RTE_LOGTYPE in each of files ogawa.yasufumi
2019-01-15  3:28 ` [spp] [PATCH 4/6] spp_vf/common: change name of func of adding port ogawa.yasufumi
2019-01-15  3:28 ` [spp] [PATCH 5/6] spp_vf: update makefile ogawa.yasufumi
2019-01-15  3:28 ` [spp] [PATCH 6/6] spp_mirror: " ogawa.yasufumi

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