git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maintainers: update pcap maintainers
[dpdk.git]
/
examples
/
ip_pipeline
/
thread.h
diff --git
a/examples/ip_pipeline/thread.h
b/examples/ip_pipeline/thread.h
index
dc877c0
..
e52b22e
100644
(file)
--- a/
examples/ip_pipeline/thread.h
+++ b/
examples/ip_pipeline/thread.h
@@
-40,6
+40,7
@@
enum thread_msg_req_type {
THREAD_MSG_REQ_PIPELINE_ENABLE = 0,
THREAD_MSG_REQ_PIPELINE_DISABLE,
enum thread_msg_req_type {
THREAD_MSG_REQ_PIPELINE_ENABLE = 0,
THREAD_MSG_REQ_PIPELINE_DISABLE,
+ THREAD_MSG_REQ_HEADROOM_READ,
THREAD_MSG_REQS
};
THREAD_MSG_REQS
};
@@
-81,4
+82,17
@@
struct thread_pipeline_disable_msg_rsp {
int status;
};
int status;
};
+/*
+ * THREAD HEADROOM
+ */
+struct thread_headroom_read_msg_req {
+ enum thread_msg_req_type type;
+};
+
+struct thread_headroom_read_msg_rsp {
+ int status;
+
+ double headroom_ratio;
+};
+
#endif /* THREAD_H_ */
#endif /* THREAD_H_ */