Lines Matching refs:rule

25 		       struct flow_rule *rule)
29 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) {
32 flow_rule_match_vlan(rule, &match);
54 struct flow_rule *rule, u8 key_type, bool qinq_sup)
62 nfp_flower_compile_tci(ext, msk, rule);
97 struct flow_rule *rule)
99 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) {
104 flow_rule_match_eth_addrs(rule, &match);
121 struct flow_rule *rule,
124 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) {
128 flow_rule_match_mpls(rule, &match);
155 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) {
162 flow_rule_match_basic(rule, &match);
176 struct flow_rule *rule,
182 nfp_flower_compile_mac(ext, msk, rule);
184 return nfp_flower_compile_mpls(ext, msk, rule, extack);
190 struct flow_rule *rule)
192 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) {
196 flow_rule_match_ports(rule, &match);
210 struct nfp_flower_ip_ext *msk, struct flow_rule *rule)
212 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) {
215 flow_rule_match_basic(rule, &match);
220 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) {
224 flow_rule_match_ip(rule, &match);
235 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) {
239 flow_rule_match_tcp(rule, &match);
269 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) {
272 flow_rule_match_control(rule, &match);
320 struct flow_rule *rule)
324 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) {
325 flow_rule_match_vlan(rule, &match);
328 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) {
329 flow_rule_match_cvlan(rule, &match);
336 struct nfp_flower_ipv4 *msk, struct flow_rule *rule)
338 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) {
342 flow_rule_match_ipv4_addrs(rule, &match);
353 nfp_flower_compile_ip_ext(&ext->ip_ext, &msk->ip_ext, rule);
358 struct nfp_flower_ipv6 *msk, struct flow_rule *rule)
360 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) {
365 flow_rule_match_ipv6_addrs(rule, &match);
381 nfp_flower_compile_ip_ext(&ext->ip_ext, &msk->ip_ext, rule);
385 nfp_flower_compile_geneve_opt(u8 *ext, u8 *msk, struct flow_rule *rule)
390 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_OPTS)) {
391 flow_rule_match_enc_opts(rule, &match);
403 struct flow_rule *rule)
405 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS)) {
408 flow_rule_match_enc_ipv4_addrs(rule, &match);
419 struct flow_rule *rule)
421 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IPV6_ADDRS)) {
425 flow_rule_match_enc_ipv6_addrs(rule, &match);
440 struct flow_rule *rule)
442 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IP)) {
445 flow_rule_match_enc_ip(rule, &match);
455 struct flow_rule *rule)
457 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) {
461 flow_rule_match_enc_keyid(rule, &match);
472 __be16 *flags_msk, struct flow_rule *rule)
474 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) {
477 flow_rule_match_enc_keyid(rule, &match);
489 struct flow_rule *rule)
495 nfp_flower_compile_tun_ipv4_addrs(&ext->ipv4, &msk->ipv4, rule);
496 nfp_flower_compile_tun_ip_ext(&ext->ip_ext, &msk->ip_ext, rule);
498 &ext->tun_flags, &msk->tun_flags, rule);
504 struct flow_rule *rule)
506 nfp_flower_compile_tun_ipv4_addrs(&ext->ipv4, &msk->ipv4, rule);
507 nfp_flower_compile_tun_ip_ext(&ext->ip_ext, &msk->ip_ext, rule);
508 nfp_flower_compile_tun_udp_key(&ext->tun_id, &msk->tun_id, rule);
514 struct flow_rule *rule)
516 nfp_flower_compile_tun_ipv6_addrs(&ext->ipv6, &msk->ipv6, rule);
517 nfp_flower_compile_tun_ip_ext(&ext->ip_ext, &msk->ip_ext, rule);
518 nfp_flower_compile_tun_udp_key(&ext->tun_id, &msk->tun_id, rule);
524 struct flow_rule *rule)
530 nfp_flower_compile_tun_ipv6_addrs(&ext->ipv6, &msk->ipv6, rule);
531 nfp_flower_compile_tun_ip_ext(&ext->ip_ext, &msk->ip_ext, rule);
533 &ext->tun_flags, &msk->tun_flags, rule);
537 struct flow_rule *rule,
564 rule, key_ls->key_layer, qinq_sup);
596 rule, extack);
607 rule);
615 rule);
623 rule);
631 rule);
643 (void *)msk, rule);
658 (void *)msk, rule);
663 /* Store the tunnel destination in the rule data.
679 (void *)msk, rule);
694 (void *)msk, rule);
699 /* Store the tunnel destination in the rule data.
707 nfp_flower_compile_geneve_opt(ext, msk, rule);