5#ifndef __DAO_FLOW_OFFLOAD_H__
6#define __DAO_FLOW_OFFLOAD_H__
19#define DAO_FLOW_PROFILE_NAME_MAX 60
44 uint32_t hw_offload_flow;
52#define DAO_FLOW_HW_OFFLOAD_ENABLE DAO_BIT(0)
54#define DAO_FLOW_ALG_EM DAO_BIT(0)
55#define DAO_FLOW_ALG_ACL DAO_BIT(1)
57#define DAO_FLOW_KEX_DEFAULT DAO_BIT(0)
58#define DAO_FLOW_KEX_OVS DAO_BIT(1)
121 const struct rte_flow_item pattern[],
122 const struct rte_flow_action actions[],
123 struct rte_flow_error *error);
142 const struct rte_flow_item pattern[],
143 const struct rte_flow_action actions[],
144 struct rte_flow_error *error);
218 void *data,
struct rte_flow_error *error);
236 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 hw_offload_flow * hflow