projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2290 from BrandonArp/snmp_agent_rpm
[collectd.git]
/
src
/
utils_dpdk.h
diff --git
a/src/utils_dpdk.h
b/src/utils_dpdk.h
index
a4731d0
..
f97a6b5
100644
(file)
--- a/
src/utils_dpdk.h
+++ b/
src/utils_dpdk.h
@@
-37,15
+37,6
@@
#define ERR_BUF_SIZE 1024
#define ERR_BUF_SIZE 1024
-#if RTE_VER_RELEASE == 16 && RTE_VER_MINOR == 0
-#if RTE_VER_MONTH == 4
-#define DPDK_VER_16_04 RTE_VERSION_NUM(16, 4, 0, 16)
-#endif
-#if RTE_VER_MONTH == 7
-#define DPDK_VER_16_07 RTE_VERSION_NUM(16, 7, 0, 16)
-#endif
-#endif
-
enum DPDK_CMD {
DPDK_CMD_NONE = 0,
DPDK_CMD_QUIT,
enum DPDK_CMD {
DPDK_CMD_NONE = 0,
DPDK_CMD_QUIT,
@@
-82,6
+73,7
@@
int dpdk_helper_command(dpdk_helper_ctx_t *phc, enum DPDK_CMD cmd, int *result,
cdtime_t cmd_wait_time);
void *dpdk_helper_priv_get(dpdk_helper_ctx_t *phc);
int dpdk_helper_data_size_get(dpdk_helper_ctx_t *phc);
cdtime_t cmd_wait_time);
void *dpdk_helper_priv_get(dpdk_helper_ctx_t *phc);
int dpdk_helper_data_size_get(dpdk_helper_ctx_t *phc);
+uint8_t dpdk_helper_eth_dev_count();
/* forward declaration of handler function that is called by helper from
* child process. not implemented in helper. must be provided by client. */
/* forward declaration of handler function that is called by helper from
* child process. not implemented in helper. must be provided by client. */