]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pipeline/rte_swx_pipeline.h
pipeline: add SWX pipeline flush
[dpdk.git] / lib / librte_pipeline / rte_swx_pipeline.h
index a1534b043b099a398222fee8313fc8ae56c601e3..7b131b0de60a66e6538468f150c9b734e53afe49 100644 (file)
@@ -656,6 +656,18 @@ void
 rte_swx_pipeline_run(struct rte_swx_pipeline *p,
                     uint32_t n_instructions);
 
+/**
+ * Pipeline flush
+ *
+ * Flush all output ports of the pipeline.
+ *
+ * @param[in] p
+ *   Pipeline handle.
+ */
+__rte_experimental
+void
+rte_swx_pipeline_flush(struct rte_swx_pipeline *p);
+
 /**
  * Pipeline free
  *