28 "gbp-learn-ip4", sw_if_index, 1, 0, 0);
30 "gbp-learn-ip6", sw_if_index, 1, 0, 0);
37 "gbp-learn-ip4", sw_if_index, 0, 0, 0);
39 "gbp-learn-ip6", sw_if_index, 0, 0, 0);
vlib_log_class_t vlib_log_register_class(char *class, char *subclass)
void throttle_init(throttle_t *t, u32 n_threads, f64 time)
Grouping of global data for the GBP source EPG classification feature.
gbp_learn_main_t gbp_learn_main
throttle_t gl_l3_throttle
vl_api_interface_index_t sw_if_index
vlib_log_class_t gl_logger
logger - VLIB log class
#define VLIB_INIT_FUNCTION(x)
u32 gl_l2_input_feat_next[32]
Next nodes for L2 output features.
#define GBP_ENDPOINT_HASH_LEARN_RATE
The maximum learning rate per-hashed EP.
void gbp_learn_disable(u32 sw_if_index)
vlib_thread_main_t vlib_thread_main
static void feat_bitmap_init_next_nodes(vlib_main_t *vm, u32 node_index, u32 num_features, char **feat_names, u32 *next_nodes)
Initialize the feature next-node indexes of a graph node.
void gbp_learn_enable(u32 sw_if_index)
static clib_error_t * gbp_learn_init(vlib_main_t *vm)
vlib_node_t * vlib_get_node_by_name(vlib_main_t *vm, u8 *name)
vlib_main_t vlib_node_runtime_t * node
throttle_t gl_l2_throttle
throttles for the DP leanring
int vnet_feature_enable_disable(const char *arc_name, const char *node_name, u32 sw_if_index, int enable_disable, void *feature_config, u32 n_feature_config_bytes)