Lines Matching refs:rule

365  * @list: list of advance rule elements
366 * @rule_info: pointer to information about rule
806 * results into order of switch rule evaluation.
1033 dev_dbg(dev, "add switch rule for TC:%u vsi_idx:%u, lkups_cnt:%u\n",
1043 dev_dbg(dev, "add switch rule action to forward to queue:%u (HW queue %u), lkups_cnt:%u\n",
1091 dev_dbg(dev, "added switch rule (lkups_cnt %u, flags 0x%x), action is forward to TC %u, rid %u, rule_id %u, vsi_idx %u\n",
1097 dev_dbg(dev, "added switch rule (lkups_cnt %u, flags 0x%x), action is forward to queue: %u (HW queue %u) , rid %u, rule_id %u\n",
1103 dev_dbg(dev, "added switch rule (lkups_cnt %u, flags 0x%x), action is drop, rid %u, rule_id %u\n",
1300 ice_get_tunnel_device(struct net_device *dev, struct flow_rule *rule)
1308 flow_action_for_each(i, act, &rule->action) {
1352 ice_parse_tunnel_attr(struct net_device *dev, struct flow_rule *rule,
1361 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) {
1364 flow_rule_match_enc_keyid(rule, &enc_keyid);
1374 flow_rule_match_enc_control(rule, &enc_control);
1379 flow_rule_match_enc_ipv4_addrs(rule, &match);
1386 flow_rule_match_enc_ipv6_addrs(rule, &match);
1391 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IP)) {
1394 flow_rule_match_enc_ip(rule, &match);
1398 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS) &&
1402 flow_rule_match_enc_ports(rule, &match);
1413 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_OPTS) &&
1417 flow_rule_match_enc_opts(rule, &match);
1428 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_OPTS) &&
1432 flow_rule_match_enc_opts(rule, &match);
1458 struct flow_rule *rule = flow_cls_offload_flow_rule(f);
1463 dissector = rule->match.dissector;
1488 tunnel_dev = ice_get_tunnel_device(filter_dev, rule);
1494 err = ice_parse_tunnel_attr(filter_dev, rule, fltr);
1522 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) {
1525 flow_rule_match_basic(rule, &match);
1544 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) {
1547 flow_rule_match_eth_addrs(rule, &match);
1566 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN) ||
1580 flow_rule_match_vlan(rule, &match);
1608 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) {
1616 flow_rule_match_cvlan(rule, &match);
1639 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PPPOE)) {
1642 flow_rule_match_pppoe(rule, &match);
1655 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) {
1658 flow_rule_match_control(rule, &match);
1670 flow_rule_match_ipv4_addrs(rule, &match);
1678 flow_rule_match_ipv6_addrs(rule, &match);
1683 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) {
1686 flow_rule_match_ip(rule, &match);
1690 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_L2TPV3)) {
1693 flow_rule_match_l2tpv3(rule, &match);
1699 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) {
1702 flow_rule_match_ports(rule, &match);
1891 struct flow_rule *rule = flow_cls_offload_flow_rule(cls_flower);
1892 struct flow_action *flow_action = &rule->action;
2052 * devices get an instance of rule from higher level device.