5#ifndef __INCLUDE_RTE_PIPELINE_H__
6#define __INCLUDE_RTE_PIPELINE_H__
200#define RTE_PIPELINE_TABLE_MAX 64
256 struct rte_pipeline *p,
292 struct rte_pipeline *p,
531#define RTE_PIPELINE_PORT_IN_MAX 64
556 struct rte_pipeline *p,
662#define RTE_PIPELINE_PORT_OUT_MAX 64
688 struct rte_pipeline *p,
774#define rte_pipeline_ah_port_out_packet_insert \
775 rte_pipeline_port_out_packet_insert
int rte_pipeline_table_entry_add(struct rte_pipeline *p, uint32_t table_id, void *key, struct rte_pipeline_table_entry *entry, int *key_found, struct rte_pipeline_table_entry **entry_ptr)
int rte_pipeline_table_entry_delete_bulk(struct rte_pipeline *p, uint32_t table_id, void **keys, uint32_t n_keys, int *key_found, struct rte_pipeline_table_entry **entries)
int rte_pipeline_port_out_create(struct rte_pipeline *p, struct rte_pipeline_port_out_params *params, uint32_t *port_id)
int rte_pipeline_ah_packet_drop(struct rte_pipeline *p, uint64_t pkts_mask)
int rte_pipeline_port_out_packet_insert(struct rte_pipeline *p, uint32_t port_id, struct rte_mbuf *pkt)
int rte_pipeline_table_stats_read(struct rte_pipeline *p, uint32_t table_id, struct rte_pipeline_table_stats *stats, int clear)
int rte_pipeline_run(struct rte_pipeline *p)
int(* rte_pipeline_table_action_handler_miss)(struct rte_pipeline *p, struct rte_mbuf **pkts, uint64_t pkts_mask, struct rte_pipeline_table_entry *entry, void *arg)
@ RTE_PIPELINE_ACTION_PORT_META
@ RTE_PIPELINE_ACTION_TABLE
@ RTE_PIPELINE_ACTION_PORT
@ RTE_PIPELINE_ACTION_DROP
int rte_pipeline_port_in_disable(struct rte_pipeline *p, uint32_t port_id)
int rte_pipeline_port_in_stats_read(struct rte_pipeline *p, uint32_t port_id, struct rte_pipeline_port_in_stats *stats, int clear)
int rte_pipeline_free(struct rte_pipeline *p)
int rte_pipeline_table_default_entry_add(struct rte_pipeline *p, uint32_t table_id, struct rte_pipeline_table_entry *default_entry, struct rte_pipeline_table_entry **default_entry_ptr)
int rte_pipeline_table_entry_delete(struct rte_pipeline *p, uint32_t table_id, void *key, int *key_found, struct rte_pipeline_table_entry *entry)
int rte_pipeline_table_entry_add_bulk(struct rte_pipeline *p, uint32_t table_id, void **keys, struct rte_pipeline_table_entry **entries, uint32_t n_keys, int *key_found, struct rte_pipeline_table_entry **entries_ptr)
struct rte_pipeline * rte_pipeline_create(struct rte_pipeline_params *params)
int(* rte_pipeline_table_action_handler_hit)(struct rte_pipeline *p, struct rte_mbuf **pkts, uint64_t pkts_mask, struct rte_pipeline_table_entry **entries, void *arg)
int rte_pipeline_port_in_create(struct rte_pipeline *p, struct rte_pipeline_port_in_params *params, uint32_t *port_id)
int rte_pipeline_port_out_stats_read(struct rte_pipeline *p, uint32_t port_id, struct rte_pipeline_port_out_stats *stats, int clear)
int(* rte_pipeline_port_out_action_handler)(struct rte_pipeline *p, struct rte_mbuf **pkts, uint64_t pkts_mask, void *arg)
int rte_pipeline_flush(struct rte_pipeline *p)
int rte_pipeline_table_default_entry_delete(struct rte_pipeline *p, uint32_t table_id, struct rte_pipeline_table_entry *entry)
int rte_pipeline_check(struct rte_pipeline *p)
int rte_pipeline_port_in_connect_to_table(struct rte_pipeline *p, uint32_t port_id, uint32_t table_id)
int(* rte_pipeline_port_in_action_handler)(struct rte_pipeline *p, struct rte_mbuf **pkts, uint32_t n, void *arg)
int rte_pipeline_ah_packet_hijack(struct rte_pipeline *p, uint64_t pkts_mask)
int rte_pipeline_table_create(struct rte_pipeline *p, struct rte_pipeline_table_params *params, uint32_t *table_id)
int rte_pipeline_port_in_enable(struct rte_pipeline *p, uint32_t port_id)
rte_pipeline_port_in_action_handler f_action
struct rte_port_in_ops * ops
struct rte_port_in_stats stats
uint64_t n_pkts_dropped_by_ah
rte_pipeline_port_out_action_handler f_action
struct rte_port_out_ops * ops
uint64_t n_pkts_dropped_by_ah
struct rte_port_out_stats stats
enum rte_pipeline_action action
uint32_t action_data_size
rte_pipeline_table_action_handler_miss f_action_miss
rte_pipeline_table_action_handler_hit f_action_hit
struct rte_table_ops * ops
uint64_t n_pkts_dropped_by_lkp_hit_ah
struct rte_table_stats stats
uint64_t n_pkts_dropped_lkp_hit
uint64_t n_pkts_dropped_by_lkp_miss_ah
uint64_t n_pkts_dropped_lkp_miss