1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2017,2019 NXP
5 #ifndef __DPAA_FLOW_H__
6 #define __DPAA_FLOW_H__
8 int dpaa_fm_init(void);
9 int dpaa_fm_term(void);
10 int dpaa_fm_config(struct rte_eth_dev *dev, uint64_t req_dist_set);
11 int dpaa_fm_deconfig(struct dpaa_if *dpaa_intf, struct fman_if *fif);
12 void dpaa_write_fm_config_to_file(void);
13 int dpaa_port_vsp_update(struct dpaa_if *dpaa_intf,
14 bool fmc_mode, uint8_t vsp_id, uint32_t bpid, struct fman_if *fif);
15 int dpaa_port_vsp_cleanup(struct dpaa_if *dpaa_intf, struct fman_if *fif);
16 int dpaa_port_fmc_init(struct fman_if *fif,
17 uint32_t *fqids, int8_t *vspids, int max_nb_rxq);