Lines Matching refs:mru
384 struct sparx5_wildcard_rule *mru; in sparx5_tc_select_protocol_keyset() local
420 mru = &multi->rule[kinfo->sw_per_item]; in sparx5_tc_select_protocol_keyset()
421 if (!mru->selected) { in sparx5_tc_select_protocol_keyset()
422 mru->selected = true; in sparx5_tc_select_protocol_keyset()
423 mru->keyset = portkeysetlist.keysets[idx]; in sparx5_tc_select_protocol_keyset()
424 mru->value = kinfo->type_id; in sparx5_tc_select_protocol_keyset()
426 mru->value &= kinfo->type_id; in sparx5_tc_select_protocol_keyset()
427 mru->mask |= kinfo->type_id; in sparx5_tc_select_protocol_keyset()
438 mru = &multi->rule[idx]; in sparx5_tc_select_protocol_keyset()
439 if (!mru->selected) in sparx5_tc_select_protocol_keyset()
443 mru->mask ^= mru->value; in sparx5_tc_select_protocol_keyset()
450 mru = &multi->rule[idx]; in sparx5_tc_select_protocol_keyset()
451 if (!mru->selected) in sparx5_tc_select_protocol_keyset()
454 vcap_set_rule_set_keyset(vrule, mru->keyset); in sparx5_tc_select_protocol_keyset()
458 mru->value, in sparx5_tc_select_protocol_keyset()
459 ~mru->mask); in sparx5_tc_select_protocol_keyset()
460 mru->selected = false; /* mark as done */ in sparx5_tc_select_protocol_keyset()