Searched refs:num_of_dests (Results 1 – 2 of 2) sorted by relevance
103 u32 num_of_dests,
1176 u32 num_of_dests, in mlx5dr_action_create_mult_dest_tbl() argument1197 hw_dests = kcalloc(num_of_dests, sizeof(*hw_dests), GFP_KERNEL); in mlx5dr_action_create_mult_dest_tbl()1201 if (unlikely(check_mul_overflow(num_of_dests, 2u, &ref_act_cnt))) in mlx5dr_action_create_mult_dest_tbl()1208 for (i = 0; i < num_of_dests; i++) { in mlx5dr_action_create_mult_dest_tbl()1259 swap(hw_dests[last_dest], hw_dests[num_of_dests - 1]); in mlx5dr_action_create_mult_dest_tbl()1267 num_of_dests, in mlx5dr_action_create_mult_dest_tbl()