Home
last modified time | relevance | path

Searched refs:termtbl (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c12 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()
93 tt->rule = mlx5_add_flow_rules(tt->termtbl, NULL, flow_act, in mlx5_eswitch_termtbl_create()
102 err = mlx5_destroy_flow_table(tt->termtbl); in mlx5_eswitch_termtbl_create()
172 mlx5_destroy_flow_table(tt->termtbl); in mlx5_eswitch_termtbl_put()
279 attr->dests[num_vport_dests].termtbl = tt; in mlx5_eswitch_add_termtbl_rule()
284 dest[i].ft = tt->termtbl; in mlx5_eswitch_add_termtbl_rule()
309 struct mlx5_termtbl_handle *tt = attr->dests[curr_dest].termtbl; in mlx5_eswitch_add_termtbl_rule()
311 attr->dests[curr_dest].termtbl = NULL; in mlx5_eswitch_add_termtbl_rule()
[all …]
Deswitch.h413 struct mlx5_termtbl_handle *termtbl; member
Deswitch_offloads.c529 if (esw_attr->dests[i].termtbl) in __mlx5_eswitch_del_rule()
530 mlx5_eswitch_termtbl_put(esw, esw_attr->dests[i].termtbl); in __mlx5_eswitch_del_rule()