]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/thread.h
maintainers: update pcap maintainers
[dpdk.git] / examples / ip_pipeline / thread.h
index dc877c0f061beee1beac782d206d5e2c0d2eae9a..e52b22e6745c961ac130eba34c18fa23dc97ed15 100644 (file)
@@ -40,6 +40,7 @@
 enum thread_msg_req_type {
        THREAD_MSG_REQ_PIPELINE_ENABLE = 0,
        THREAD_MSG_REQ_PIPELINE_DISABLE,
+       THREAD_MSG_REQ_HEADROOM_READ,
        THREAD_MSG_REQS
 };
 
@@ -81,4 +82,17 @@ struct thread_pipeline_disable_msg_rsp {
        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_ */