Searched refs:bwc_rules (Results 1 – 1 of 1) sorted by relevance
563 struct mlx5hws_bwc_rule **bwc_rules; in hws_bwc_matcher_move_all_simple() local576 bwc_rules = kcalloc(bwc_queues, sizeof(*bwc_rules), GFP_KERNEL); in hws_bwc_matcher_move_all_simple()577 if (!bwc_rules) { in hws_bwc_matcher_move_all_simple()584 bwc_rules[i] = NULL; in hws_bwc_matcher_move_all_simple()586 bwc_rules[i] = list_first_entry(&bwc_matcher->rules[i], in hws_bwc_matcher_move_all_simple()598 for (j = 0; j < burst_th && bwc_rules[i]; j++) { in hws_bwc_matcher_move_all_simple()601 bwc_rules[i]->rule, in hws_bwc_matcher_move_all_simple()612 bwc_rules[i] = list_is_last(&bwc_rules[i]->list_node, in hws_bwc_matcher_move_all_simple()614 NULL : list_next_entry(bwc_rules[i], list_node); in hws_bwc_matcher_move_all_simple()638 kfree(bwc_rules); in hws_bwc_matcher_move_all_simple()