Lines Matching refs:rule
29 struct flow_rule *rule, in ksz9477_flower_parse_key_l2() argument
40 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in ksz9477_flower_parse_key_l2()
43 flow_rule_match_basic(rule, &match); in ksz9477_flower_parse_key_l2()
56 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in ksz9477_flower_parse_key_l2()
57 flow_rule_match_eth_addrs(rule, &ematch); in ksz9477_flower_parse_key_l2()
112 struct flow_rule *rule, in ksz9477_flower_parse_key() argument
115 struct flow_dissector *dissector = rule->match.dissector; in ksz9477_flower_parse_key()
127 if (flow_rule_match_has_control_flags(rule, extack)) in ksz9477_flower_parse_key()
130 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC) || in ksz9477_flower_parse_key()
131 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in ksz9477_flower_parse_key()
132 ret = ksz9477_flower_parse_key_l2(dev, port, extack, rule, in ksz9477_flower_parse_key()
162 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in ksz9477_flower_parse_action() local
175 flow_action_for_each(i, act, &rule->action) { in ksz9477_flower_parse_action()
218 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in ksz9477_cls_flower_add() local
237 ret = ksz9477_flower_parse_key(dev, port, extack, rule, cls->cookie, in ksz9477_cls_flower_add()