Lines Matching refs:rule
719 NL_SET_ERR_MSG_MOD(extack, "No support for encap rule ID matches");
801 NL_SET_ERR_MSG_MOD(extack, "Unexpected encap match in LHS rule");
825 /* Checks that the fields needed for encap-rule matches are supported by the
1690 struct efx_tc_lhs_rule *rule, u32 prio)
1702 rc = efx_mae_populate_lhs_match_criteria(match_crit, &rule->match);
1707 act = &rule->lhs_act;
1733 rule->fw_id = MCDI_DWORD(outbuf, MAE_OUTER_RULE_INSERT_OUT_OR_ID);
1737 int efx_mae_insert_lhs_rule(struct efx_nic *efx, struct efx_tc_lhs_rule *rule,
1740 return efx_mae_insert_lhs_outer_rule(efx, rule, prio);
1744 struct efx_tc_lhs_rule *rule)
1751 MCDI_SET_DWORD(inbuf, MAE_OUTER_RULE_REMOVE_IN_OR_ID, rule->fw_id);
1762 if (WARN_ON(MCDI_DWORD(outbuf, MAE_OUTER_RULE_REMOVE_OUT_REMOVED_OR_ID) != rule->fw_id))
1764 /* We're probably about to free @rule, but let's just make sure its
1767 rule->fw_id = MC_CMD_MAE_OUTER_RULE_INSERT_OUT_OUTER_RULE_ID_NULL;
1771 int efx_mae_remove_lhs_rule(struct efx_nic *efx, struct efx_tc_lhs_rule *rule)
1773 return efx_mae_remove_lhs_outer_rule(efx, rule);
2168 /* No enc-keys should appear in a rule without an encap_match */