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)
56#define DAO_FLOW_ALG_CPT_EM DAO_BIT(2)
58#define DAO_FLOW_KEX_DEFAULT DAO_BIT(0)
59#define DAO_FLOW_KEX_OVS DAO_BIT(1)
60#define DAO_FLOW_KEX_CPT_EM DAO_BIT(2)
127 const struct rte_flow_item pattern[],
128 const struct rte_flow_action actions[],
129 struct rte_flow_error *error);
148 const struct rte_flow_item pattern[],
149 const struct rte_flow_action actions[],
150 struct rte_flow_error *error);
224 void *data,
struct rte_flow_error *error);
242 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_ctx_cache_warm(uint16_t port_id)
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)
bool cpt_ctx_cache_enable
char parse_profile[DAO_FLOW_PROFILE_NAME_MAX]
struct hw_offload_flow * hflow