Searched refs:num_dest (Results 1 – 8 of 8) sorted by relevance
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | eswitch_offloads_termtbl.c | 250 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 D | fs_core.c | 2450 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 D | eswitch.h | 471 int num_dest);
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| A D | dr_fw.c | 103 int num_dest, in mlx5dr_fw_create_md_tbl() argument 139 fte_info.dests_size = num_dest; in mlx5dr_fw_create_md_tbl()
|
| A D | dr_types.h | 1560 int num_dest,
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | action.c | 1361 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 D | action.h | 171 size_t num_dest; member
|
| A D | mlx5hws.h | 743 mlx5hws_action_create_dest_array(struct mlx5hws_context *ctx, size_t num_dest,
|
Completed in 36 milliseconds