Searched refs:termtbl (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads_termtbl.c | 12 struct mlx5_flow_table *termtbl; member 87 tt->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); in mlx5_eswitch_termtbl_create() 88 if (IS_ERR(tt->termtbl)) { in mlx5_eswitch_termtbl_create() 89 err = PTR_ERR(tt->termtbl); in mlx5_eswitch_termtbl_create() 90 esw_warn(dev, "Failed to create termination table, err %pe\n", 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() [all …]
|
D | eswitch.h | 534 struct mlx5_termtbl_handle *termtbl; member
|
D | eswitch_offloads.c | 896 if (esw_attr->dests[i].termtbl) in __mlx5_eswitch_del_rule() 897 mlx5_eswitch_termtbl_put(esw, esw_attr->dests[i].termtbl); in __mlx5_eswitch_del_rule()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | sample.c | 25 struct mlx5_flow_table *termtbl; member 87 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()
|