f-stack/dpdk/drivers/net/cnxk/cn10k_flow.h

22 lines
730 B
C
Raw Normal View History

2022-09-06 04:00:10 +00:00
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2020 Marvell.
*/
#ifndef __CN10K_RTE_FLOW_H__
#define __CN10K_RTE_FLOW_H__
#include <rte_flow_driver.h>
2025-01-10 11:50:43 +00:00
struct rte_flow *cn10k_flow_create(struct rte_eth_dev *dev, const struct rte_flow_attr *attr,
2022-09-06 04:00:10 +00:00
const struct rte_flow_item pattern[],
const struct rte_flow_action actions[],
struct rte_flow_error *error);
int cn10k_flow_destroy(struct rte_eth_dev *dev, struct rte_flow *flow,
struct rte_flow_error *error);
2025-01-10 11:50:43 +00:00
int cn10k_flow_info_get(struct rte_eth_dev *dev, struct rte_flow_port_info *port_info,
struct rte_flow_queue_info *queue_info, struct rte_flow_error *err);
#define CN10K_NPC_COUNTERS_MAX 512
2022-09-06 04:00:10 +00:00
#endif /* __CN10K_RTE_FLOW_H__ */