5#ifndef __DAO_FLOW_OFFLOAD_H__
6#define __DAO_FLOW_OFFLOAD_H__
17#define DAO_FLOW_PROFILE_NAME_MAX 60
42 uint32_t hw_offload_flow;
49#define DAO_FLOW_HW_OFFLOAD_ENABLE RTE_BIT64(0)
114 const struct rte_flow_item pattern[],
115 const struct rte_flow_action actions[],
116 struct rte_flow_error *error);
135 const struct rte_flow_item pattern[],
136 const struct rte_flow_action actions[],
137 struct rte_flow_error *error);
211 void *data,
struct rte_flow_error *error);
229 struct rte_flow_error *error);
#define DAO_FLOW_PROFILE_NAME_MAX
int dao_flow_info(uint16_t port_id, FILE *file, struct rte_flow_error *error)
int dao_flow_fini(uint16_t port_id)
int dao_flow_dev_dump(uint16_t port_id, struct dao_flow *flow, FILE *file, struct rte_flow_error *error)
int dao_flow_init(uint16_t port_id, struct dao_flow_offload_config *config)
struct dao_flow * dao_flow_hw_install(uint16_t port_id, const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_flow_error *error)
int dao_flow_destroy(uint16_t port_id, struct dao_flow *flow, struct rte_flow_error *error)
struct dao_flow * dao_flow_create(uint16_t port_id, const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_flow_error *error)
int dao_flow_flush(uint16_t port_id, struct rte_flow_error *error)
int dao_flow_lookup(uint16_t port_id, struct rte_mbuf **objs, uint16_t nb_objs)
int dao_flow_hw_uninstall(uint16_t port_id, struct dao_flow *flow, struct rte_flow_error *error)
int dao_flow_query(uint16_t port_id, struct dao_flow *flow, const struct rte_flow_action *action, void *data, struct rte_flow_error *error)
char parse_profile[DAO_FLOW_PROFILE_NAME_MAX]
struct acl_rule_data * arule
struct hw_offload_flow * hflow