4 #ifndef __INCLUDE_RTE_SWX_TABLE_SELECTOR_H__ 5 #define __INCLUDE_RTE_SWX_TABLE_SELECTOR_H__ 16 #include <rte_compat.h> 73 struct rte_swx_table_selector_member_list members;
184 uint8_t **group_id_buffer,
185 uint8_t **selector_buffer,
186 uint8_t **member_id_buffer);
__rte_experimental int rte_swx_table_selector_select(void *table, void *mailbox, uint8_t **group_id_buffer, uint8_t **selector_buffer, uint8_t **member_id_buffer)
__rte_experimental int rte_swx_table_selector_group_set(void *table, uint32_t group_id, struct rte_swx_table_selector_group *group)
uint32_t member_id_offset
uint32_t n_members_per_group_max
__rte_experimental uint64_t rte_swx_table_selector_footprint_get(uint32_t n_groups_max, uint32_t n_members_per_group_max)
__rte_experimental uint64_t rte_swx_table_selector_mailbox_size_get(void)
__rte_experimental void rte_swx_table_selector_free(void *table)
RTE_TAILQ_HEAD(rte_swx_table_selector_member_list, rte_swx_table_selector_member)
__rte_experimental void * rte_swx_table_selector_create(struct rte_swx_table_selector_params *params, struct rte_swx_table_selector_group **groups, int numa_node)