1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2021 Marvell.
4 #ifndef __CNXK_RTE_FLOW_H__
5 #define __CNXK_RTE_FLOW_H__
7 #include <rte_flow_driver.h>
8 #include <rte_malloc.h>
10 #include "cnxk_ethdev.h"
12 #include "roc_npc_priv.h"
14 struct cnxk_rte_flow_term_info {
19 struct roc_npc_flow *cnxk_flow_create(struct rte_eth_dev *dev,
20 const struct rte_flow_attr *attr,
21 const struct rte_flow_item pattern[],
22 const struct rte_flow_action actions[],
23 struct rte_flow_error *error);
24 int cnxk_flow_destroy(struct rte_eth_dev *dev, struct roc_npc_flow *flow,
25 struct rte_flow_error *error);
27 #endif /* __CNXK_RTE_FLOW_H__ */