34 "gbp-learn-ip4", sw_if_index, 1, 0, 0);
36 "gbp-learn-ip6", sw_if_index, 1, 0, 0);
50 "gbp-learn-ip4", sw_if_index, 0, 0, 0);
52 "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
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_enable(u32 sw_if_index, gbb_learn_mode_t mode)
vlib_thread_main_t vlib_thread_main
enum gbp_learn_mode_t_ gbb_learn_mode_t
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.
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)
vl_api_vxlan_gbp_api_tunnel_mode_t mode
throttle_t gl_l2_throttle
throttles for the DP leanring
void gbp_learn_disable(u32 sw_if_index, gbb_learn_mode_t mode)
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)