Lines Matching refs:mru
376 struct sparx5_wildcard_rule *mru; in sparx5_tc_select_protocol_keyset() local
412 mru = &multi->rule[kinfo->sw_per_item]; in sparx5_tc_select_protocol_keyset()
413 if (!mru->selected) { in sparx5_tc_select_protocol_keyset()
414 mru->selected = true; in sparx5_tc_select_protocol_keyset()
415 mru->keyset = portkeysetlist.keysets[idx]; in sparx5_tc_select_protocol_keyset()
416 mru->value = kinfo->type_id; in sparx5_tc_select_protocol_keyset()
418 mru->value &= kinfo->type_id; in sparx5_tc_select_protocol_keyset()
419 mru->mask |= kinfo->type_id; in sparx5_tc_select_protocol_keyset()
430 mru = &multi->rule[idx]; in sparx5_tc_select_protocol_keyset()
431 if (!mru->selected) in sparx5_tc_select_protocol_keyset()
435 mru->mask ^= mru->value; in sparx5_tc_select_protocol_keyset()
442 mru = &multi->rule[idx]; in sparx5_tc_select_protocol_keyset()
443 if (!mru->selected) in sparx5_tc_select_protocol_keyset()
446 vcap_set_rule_set_keyset(vrule, mru->keyset); in sparx5_tc_select_protocol_keyset()
450 mru->value, in sparx5_tc_select_protocol_keyset()
451 ~mru->mask); in sparx5_tc_select_protocol_keyset()
452 mru->selected = false; /* mark as done */ in sparx5_tc_select_protocol_keyset()