Home
last modified time | relevance | path

Searched refs:num_dest (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads_termtbl.c250 int num_dest) in mlx5_eswitch_add_termtbl_rule() argument
261 for (i = 0; i < num_dest; i++) { in mlx5_eswitch_add_termtbl_rule()
300 rule = mlx5_add_flow_rules(fdb, spec, flow_act, dest, num_dest); in mlx5_eswitch_add_termtbl_rule()
320 for (i = 0; i < num_dest; i++) { in mlx5_eswitch_add_termtbl_rule()
332 rule = mlx5_add_flow_rules(fdb, spec, flow_act, dest, num_dest); in mlx5_eswitch_add_termtbl_rule()
H A Dfs_core.c2448 int num_dest) in mlx5_add_flow_rules() argument
2462 return _mlx5_add_flow_rules(ft, spec, flow_act, dest, num_dest); in mlx5_add_flow_rules()
2474 gen_dest = kcalloc(num_dest + 1, sizeof(*dest), in mlx5_add_flow_rules()
2480 for (i = 0; i < num_dest; i++) in mlx5_add_flow_rules()
2486 num_dest++; in mlx5_add_flow_rules()
2490 handle = _mlx5_add_flow_rules(ft, spec, flow_act, dest, num_dest); in mlx5_add_flow_rules()
2494 if (list_empty(&handle->rule[num_dest - 1]->next_ft)) { in mlx5_add_flow_rules()
2496 list_add(&handle->rule[num_dest - 1]->next_ft, in mlx5_add_flow_rules()
2499 handle->rule[num_dest - 1]->sw_action = sw_action; in mlx5_add_flow_rules()
2500 handle->rule[num_dest - 1]->ft = ft; in mlx5_add_flow_rules()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c1361 mlx5hws_action_create_dest_array(struct mlx5hws_context *ctx, size_t num_dest, in mlx5hws_action_create_dest_array() argument
1373 if (num_dest <= 1) { in mlx5hws_action_create_dest_array()
1386 dest_list = kcalloc(num_dest, sizeof(*dest_list), GFP_KERNEL); in mlx5hws_action_create_dest_array()
1390 for (i = 0; i < num_dest; i++) { in mlx5hws_action_create_dest_array()
1427 swap(dest_list[last_dest_idx], dest_list[num_dest - 1]); in mlx5hws_action_create_dest_array()
1429 fte_attr.dests_num = num_dest; in mlx5hws_action_create_dest_array()
1445 action->dest_array.num_dest = num_dest; in mlx5hws_action_create_dest_array()
1455 for (i = 0; i < num_dest; i++) { in mlx5hws_action_create_dest_array()
1948 for (i = 0; i < action->dest_array.num_dest; i++) { in hws_action_destroy_hws()
H A Dmlx5hws.h743 mlx5hws_action_create_dest_array(struct mlx5hws_context *ctx, size_t num_dest,
/linux/include/linux/mlx5/
H A Dfs.h320 int num_dest);
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_types.h1560 int num_dest,