| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
| D | match.c | 28 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_compile_meta_tci() 88 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in nfp_flower_compile_mac() 99 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) { in nfp_flower_compile_mac() 114 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_flower_compile_mac() 140 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in nfp_flower_compile_tport() 158 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_flower_compile_ip_ext() 166 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in nfp_flower_compile_ip_ext() 176 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) { in nfp_flower_compile_ip_ext() 210 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in nfp_flower_compile_ip_ext() 236 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in nfp_flower_compile_ipv4() [all …]
|
| D | offload.c | 133 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) || in nfp_flower_check_higher_than_mac() 134 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS) || in nfp_flower_check_higher_than_mac() 135 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS) || in nfp_flower_check_higher_than_mac() 136 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP); in nfp_flower_check_higher_than_mac() 143 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS) || in nfp_flower_check_higher_than_l3() 144 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP); in nfp_flower_check_higher_than_l3() 251 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS) || in nfp_flower_calculate_key_layers() 252 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) { in nfp_flower_calculate_key_layers() 257 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_calculate_key_layers() 268 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_CONTROL)) { in nfp_flower_calculate_key_layers() [all …]
|
| D | action.c | 770 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_fl_commit_mangle()
|
| /Linux-v5.4/drivers/net/ethernet/mscc/ |
| D | ocelot_flower.c | 58 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in ocelot_flower_parse() 64 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in ocelot_flower_parse() 99 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in ocelot_flower_parse() 119 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) && in ocelot_flower_parse() 138 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS) && in ocelot_flower_parse() 143 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in ocelot_flower_parse() 153 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in ocelot_flower_parse()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_flower.c | 148 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) in mlxsw_sp_flower_parse_meta() 238 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) in mlxsw_sp_flower_parse_ports() 265 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) in mlxsw_sp_flower_parse_tcp() 296 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) in mlxsw_sp_flower_parse_ip() 356 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in mlxsw_sp_flower_parse() 363 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in mlxsw_sp_flower_parse() 385 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in mlxsw_sp_flower_parse() 407 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in mlxsw_sp_flower_parse()
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_tc_flower.c | 90 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in cxgb4_process_flow_match() 97 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in cxgb4_process_flow_match() 155 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in cxgb4_process_flow_match() 169 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in cxgb4_process_flow_match() 177 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in cxgb4_process_flow_match() 189 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in cxgb4_process_flow_match() 248 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in cxgb4_validate_flow_match() 256 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in cxgb4_validate_flow_match()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_tun_vxlan.c | 25 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS)) in mlx5e_tc_tun_check_udp_dport_vxlan() 115 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) in mlx5e_tc_tun_parse_vxlan()
|
| D | tc_tun_geneve.c | 29 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS)) in mlx5e_tc_tun_check_udp_dport_geneve() 135 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) in mlx5e_tc_tun_parse_geneve_vni() 174 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_OPTS)) in mlx5e_tc_tun_parse_geneve_options()
|
| D | tc_tun_gre.c | 73 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in mlx5e_tc_tun_parse_gretap()
|
| D | tc_tun.c | 522 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS)) { in mlx5e_tc_tun_parse_udp_ports()
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_tc.c | 187 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in bnxt_tc_parse_flow() 201 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in bnxt_tc_parse_flow() 212 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in bnxt_tc_parse_flow() 227 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in bnxt_tc_parse_flow() 236 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in bnxt_tc_parse_flow() 247 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in bnxt_tc_parse_flow() 258 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP)) { in bnxt_tc_parse_flow() 269 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS)) { in bnxt_tc_parse_flow() 278 } else if (flow_rule_match_key(rule, in bnxt_tc_parse_flow() 283 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in bnxt_tc_parse_flow() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_tc.c | 1670 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_CONTROL)) { in parse_tunnel_attr() 1729 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IP)) { in parse_tunnel_attr() 1857 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in __parse_cls_flower() 1869 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN) || in __parse_cls_flower() 1922 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { in __parse_cls_flower() 1954 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in __parse_cls_flower() 1977 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in __parse_cls_flower() 2001 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in __parse_cls_flower() 2060 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in __parse_cls_flower() 2093 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in __parse_cls_flower() [all …]
|
| /Linux-v5.4/include/net/ |
| D | flow_offload.h | 250 static inline bool flow_rule_match_key(const struct flow_rule *rule, in flow_rule_match_key() function
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
| D | qede_filter.c | 1784 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in qede_flow_parse_ports() 1810 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in qede_flow_parse_v6_common() 1837 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in qede_flow_parse_v4_common() 1924 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in qede_parse_flow_attr()
|
| /Linux-v5.4/drivers/net/ethernet/intel/iavf/ |
| D | iavf_main.c | 2706 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in iavf_parse_cls_flower() 2714 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in iavf_parse_cls_flower() 2739 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in iavf_parse_cls_flower() 2786 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in iavf_parse_cls_flower() 2803 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in iavf_parse_cls_flower() 2882 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in iavf_parse_cls_flower()
|
| /Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/ |
| D | mvpp2_cls.c | 1242 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_VLAN)) { in mvpp2_cls_c2_build_match() 1276 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_PORTS)) { in mvpp2_cls_c2_build_match()
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_main.c | 7765 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in i40e_parse_cls_flower() 7775 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in i40e_parse_cls_flower() 7790 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in i40e_parse_cls_flower() 7819 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in i40e_parse_cls_flower() 7837 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in i40e_parse_cls_flower() 7900 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in i40e_parse_cls_flower()
|
| /Linux-v5.4/drivers/net/ethernet/intel/igb/ |
| D | igb_main.c | 2601 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in igb_parse_cls_flower() 2628 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in igb_parse_cls_flower() 2643 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in igb_parse_cls_flower()
|