1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2015 Intel Corporation
5 #include "pipeline_passthrough.h"
6 #include "pipeline_passthrough_be.h"
9 app_pipeline_passthrough_track(struct pipeline_params *p,
13 struct pipeline_passthrough_params pp;
16 /* Check input arguments */
18 (port_in >= p->n_ports_in) ||
22 status = pipeline_passthrough_parse_args(&pp, p);
26 if (pp.dma_hash_lb_enabled)
29 *port_out = port_in / (p->n_ports_in / p->n_ports_out);
33 static struct pipeline_fe_ops pipeline_passthrough_fe_ops = {
37 .f_track = app_pipeline_passthrough_track,
41 struct pipeline_type pipeline_passthrough = {
42 .name = "PASS-THROUGH",
43 .be_ops = &pipeline_passthrough_be_ops,
44 .fe_ops = &pipeline_passthrough_fe_ops,