26 #ifndef COMMON_FLOW_PIPES_MANAGER_H_
27 #define COMMON_FLOW_PIPES_MANAGER_H_
32 struct doca_flow_pipe *
pipe;
71 struct doca_flow_pipe *pipe,
85 struct doca_flow_pipe_entry *
entry,
109 struct doca_flow_pipe_entry **
entry);
static struct doca_flow_pipe_entry * entry[MAX_ENTRIES]
doca_error_t pipes_manager_pipe_add_entry(struct flow_pipes_manager *manager, struct doca_flow_pipe_entry *entry, uint64_t pipe_id, uint64_t *entry_id)
doca_error_t pipes_manager_pipe_destroy(struct flow_pipes_manager *manager, uint64_t pipe_id)
doca_error_t pipes_manager_get_pipe(struct flow_pipes_manager *manager, uint64_t pipe_id, struct doca_flow_pipe **pipe)
doca_error_t create_pipes_manager(struct flow_pipes_manager **pipes_manager)
void destroy_pipes_manager(struct flow_pipes_manager *manager)
doca_error_t pipes_manager_pipe_create(struct flow_pipes_manager *manager, struct doca_flow_pipe *pipe, uint16_t port_id, uint64_t *pipe_id)
doca_error_t pipes_manager_get_entry(struct flow_pipes_manager *manager, uint64_t entry_id, struct doca_flow_pipe_entry **entry)
doca_error_t pipes_manager_pipe_rm_entry(struct flow_pipes_manager *manager, uint64_t entry_id)
doca_error_t pipes_manager_pipes_flush(struct flow_pipes_manager *manager, uint16_t port_id)
enum doca_error doca_error_t
DOCA API return codes.
struct rte_hash * pipe_id_to_pipe_info_table
struct rte_hash * port_id_to_pipes_id_table
struct rte_hash * entry_id_to_pipe_id_table
struct rte_hash * port_id_to_pipes_table
struct rte_hash * entries_table
struct doca_flow_pipe * pipe
static struct flow_pipes_manager * pipes_manager