Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
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()
A Dfs_core.c2450 int num_dest) in mlx5_add_flow_rules() argument
2464 return _mlx5_add_flow_rules(ft, spec, flow_act, dest, num_dest); in mlx5_add_flow_rules()
2476 gen_dest = kcalloc(num_dest + 1, sizeof(*dest), in mlx5_add_flow_rules()
2482 for (i = 0; i < num_dest; i++) in mlx5_add_flow_rules()
2488 num_dest++; in mlx5_add_flow_rules()
2492 handle = _mlx5_add_flow_rules(ft, spec, flow_act, dest, num_dest); in mlx5_add_flow_rules()
2496 if (list_empty(&handle->rule[num_dest - 1]->next_ft)) { in mlx5_add_flow_rules()
2498 list_add(&handle->rule[num_dest - 1]->next_ft, in mlx5_add_flow_rules()
2501 handle->rule[num_dest - 1]->sw_action = sw_action; in mlx5_add_flow_rules()
2502 handle->rule[num_dest - 1]->ft = ft; in mlx5_add_flow_rules()
A Deswitch.h471 int num_dest);
/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A Ddr_fw.c103 int num_dest, in mlx5dr_fw_create_md_tbl() argument
139 fte_info.dests_size = num_dest; in mlx5dr_fw_create_md_tbl()
A Ddr_types.h1560 int num_dest,
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
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()
A Daction.h171 size_t num_dest; member
A Dmlx5hws.h743 mlx5hws_action_create_dest_array(struct mlx5hws_context *ctx, size_t num_dest,

Completed in 36 milliseconds