4 #ifndef __INCLUDE_RTE_SWX_TABLE_LEARNER_H__ 5 #define __INCLUDE_RTE_SWX_TABLE_LEARNER_H__ 51 #include <rte_compat.h> 54 #ifndef RTE_SWX_TABLE_LEARNER_N_KEY_TIMEOUTS_MAX 55 #define RTE_SWX_TABLE_LEARNER_N_KEY_TIMEOUTS_MAX 16 151 uint32_t key_timeout_id,
198 uint8_t **action_data,
229 uint8_t *action_data,
230 uint32_t key_timeout_id);
271 uint32_t key_timeout_id);
__rte_experimental int rte_swx_table_learner_timeout_update(void *table, uint32_t key_timeout_id, uint32_t key_timeout)
__rte_experimental uint64_t rte_swx_table_learner_mailbox_size_get(void)
uint32_t action_data_size
__rte_experimental void rte_swx_table_learner_delete(void *table, void *mailbox)
__rte_experimental void * rte_swx_table_learner_create(struct rte_swx_table_learner_params *params, int numa_node)
__rte_experimental void rte_swx_table_learner_free(void *table)
__rte_experimental int rte_swx_table_learner_lookup(void *table, void *mailbox, uint64_t time, uint8_t **key, uint64_t *action_id, uint8_t **action_data, int *hit)
__rte_experimental void rte_swx_table_learner_rearm_new(void *table, void *mailbox, uint64_t time, uint32_t key_timeout_id)
__rte_experimental uint32_t rte_swx_table_learner_add(void *table, void *mailbox, uint64_t time, uint64_t action_id, uint8_t *action_data, uint32_t key_timeout_id)
__rte_experimental uint64_t rte_swx_table_learner_footprint_get(struct rte_swx_table_learner_params *params)
__rte_experimental void rte_swx_table_learner_rearm(void *table, void *mailbox, uint64_t time)