5 #ifndef __INCLUDE_RTE_PORT_IN_ACTION_H__ 6 #define __INCLUDE_RTE_PORT_IN_ACTION_H__ 51 #include <rte_compat.h> 73 #define RTE_PORT_IN_ACTION_FLTR_KEY_SIZE 16 113 #define RTE_PORT_IN_ACTION_LB_KEY_SIZE_MIN 8 116 #define RTE_PORT_IN_ACTION_LB_KEY_SIZE_MAX 64 119 #define RTE_PORT_IN_ACTION_LB_TABLE_SIZE 16 165 struct rte_port_in_action_profile;
176 struct rte_port_in_action_profile *
210 struct rte_port_in_action_profile *profile,
212 void *action_config);
237 struct rte_port_in_action;
254 struct rte_port_in_action *
305 void *action_params);
__rte_experimental int rte_port_in_action_profile_free(struct rte_port_in_action_profile *profile)
uint8_t key[RTE_PORT_IN_ACTION_FLTR_KEY_SIZE]
__rte_experimental int rte_port_in_action_params_get(struct rte_port_in_action *action, struct rte_pipeline_port_in_params *params)
uint8_t key_mask[RTE_PORT_IN_ACTION_FLTR_KEY_SIZE]
__rte_experimental int rte_port_in_action_free(struct rte_port_in_action *action)
__rte_experimental struct rte_port_in_action * rte_port_in_action_create(struct rte_port_in_action_profile *profile, uint32_t socket_id)
#define RTE_PORT_IN_ACTION_LB_KEY_SIZE_MAX
rte_table_hash_op_hash f_hash
uint64_t(* rte_table_hash_op_hash)(void *key, void *key_mask, uint32_t key_size, uint64_t seed)
#define RTE_PORT_IN_ACTION_LB_TABLE_SIZE
__rte_experimental int rte_port_in_action_apply(struct rte_port_in_action *action, enum rte_port_in_action_type type, void *action_params)
__rte_experimental int rte_port_in_action_profile_freeze(struct rte_port_in_action_profile *profile)
__rte_experimental int rte_port_in_action_profile_action_register(struct rte_port_in_action_profile *profile, enum rte_port_in_action_type type, void *action_config)
__rte_experimental struct rte_port_in_action_profile * rte_port_in_action_profile_create(uint32_t socket_id)
#define RTE_PORT_IN_ACTION_FLTR_KEY_SIZE