dpdkstat plugin rework
authorKrzysztof Matczak <krzysztofx.matczak@intel.com>
Thu, 24 Nov 2016 10:19:05 +0000 (10:19 +0000)
committerKrzysztof Matczak <krzysztofx.matczak@intel.com>
Sat, 31 Dec 2016 16:29:53 +0000 (16:29 +0000)
commit1e8a95944f39cf4d552f2afed8e26b93febd50ec
tree8ddc918a41320bca61476e4e5316ecd745c71aa0
parentee3387a7e491b9ad671fda500debc9637104dc96
dpdkstat plugin rework

This patch contains rework of existing dpdkstat plugin. Changes are focused on
extracting common dpdk related features into utils file that could be reused by
other DPDK plugins. Also some related structural changes are introduced.

List of changes:
- introduction of new utils_dpdk.c that handles child process spawning,
  and terminating, messaging between parent and child, DPDK configuration
  and initialization and DPDK commands execution
- DPDK EAL specific options put into separate subsection of
  dpdkstat configuration
- documentation update

Those changes are preparatory steps for upstreaming dpdkevent plugin
that is going to collect DPDK ports and logical cores status info.

Signed-off-by: Krzysztof Matczak <krzysztofx.matczak@intel.com>
Makefile.am
configure.ac
docs/BUILD.dpdkstat.md
src/collectd.conf.in
src/collectd.conf.pod
src/dpdkstat.c
src/utils_dpdk.c [new file with mode: 0644]
src/utils_dpdk.h [new file with mode: 0644]