Searched refs:termtbl (Results 1 – 4 of 4) sorted by relevance
12 struct mlx5_flow_table *termtbl; member88 if (IS_ERR(tt->termtbl)) { in mlx5_eswitch_termtbl_create()89 err = PTR_ERR(tt->termtbl); in mlx5_eswitch_termtbl_create()94 tt->rule = mlx5_add_flow_rules(tt->termtbl, NULL, flow_act, in mlx5_eswitch_termtbl_create()104 err2 = mlx5_destroy_flow_table(tt->termtbl); in mlx5_eswitch_termtbl_create()173 mlx5_destroy_flow_table(tt->termtbl); in mlx5_eswitch_termtbl_put()283 attr->dests[num_vport_dests].termtbl = tt; in mlx5_eswitch_add_termtbl_rule()288 dest[i].ft = tt->termtbl; in mlx5_eswitch_add_termtbl_rule()313 struct mlx5_termtbl_handle *tt = attr->dests[curr_dest].termtbl; in mlx5_eswitch_add_termtbl_rule()315 attr->dests[curr_dest].termtbl = NULL; in mlx5_eswitch_add_termtbl_rule()[all …]
533 struct mlx5_termtbl_handle *termtbl; member
885 if (esw_attr->dests[i].termtbl) in __mlx5_eswitch_del_rule()886 mlx5_eswitch_termtbl_put(esw, esw_attr->dests[i].termtbl); in __mlx5_eswitch_del_rule()
25 struct mlx5_flow_table *termtbl; member87 tc_psample->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); in sampler_termtbl_create()88 if (IS_ERR(tc_psample->termtbl)) { in sampler_termtbl_create()89 err = PTR_ERR(tc_psample->termtbl); in sampler_termtbl_create()97 tc_psample->termtbl_rule = mlx5_add_flow_rules(tc_psample->termtbl, NULL, &act, &dest, 1); in sampler_termtbl_create()101 mlx5_destroy_flow_table(tc_psample->termtbl); in sampler_termtbl_create()112 mlx5_destroy_flow_table(tc_psample->termtbl); in sampler_termtbl_destroy()192 sampler->sample_table_id = tc_psample->termtbl->id; in sampler_get()