remove unneeded tests for NULL when freeing
[dpdk.git] / examples / ip_pipeline / pipeline / pipeline_passthrough_be.h
index 9d5e3db..03756a1 100644 (file)
 
 #include "pipeline_common_be.h"
 
+#define PIPELINE_PASSTHROUGH_DMA_SIZE_MAX                             64
+
+struct pipeline_passthrough_params {
+       uint32_t dma_enabled;
+       uint32_t dma_dst_offset;
+       uint32_t dma_src_offset;
+       uint8_t dma_src_mask[PIPELINE_PASSTHROUGH_DMA_SIZE_MAX];
+       uint32_t dma_size;
+
+       uint32_t dma_hash_enabled;
+       uint32_t dma_hash_offset;
+};
+
+int
+pipeline_passthrough_parse_args(struct pipeline_passthrough_params *p,
+       struct pipeline_params *params);
+
 extern struct pipeline_be_ops pipeline_passthrough_be_ops;
 
 #endif