/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 27 if (!qinq_sup && flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_compile_meta_tci() 85 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in nfp_flower_compile_mac() 96 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) { in nfp_flower_compile_mac() 125 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_flower_compile_mac() 151 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in nfp_flower_compile_tport() 166 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_flower_compile_ip_ext() 174 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in nfp_flower_compile_ip_ext() 184 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) { in nfp_flower_compile_ip_ext() 218 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in nfp_flower_compile_ip_ext() 265 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_compile_vlan() [all …]
|
D | offload.c | 140 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) || in nfp_flower_check_higher_than_mac() 141 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS) || in nfp_flower_check_higher_than_mac() 142 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS) || in nfp_flower_check_higher_than_mac() 143 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP); in nfp_flower_check_higher_than_mac() 150 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS) || in nfp_flower_check_higher_than_l3() 151 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP); in nfp_flower_check_higher_than_l3() 275 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS) || in nfp_flower_calculate_key_layers() 276 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) { in nfp_flower_calculate_key_layers() 281 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_calculate_key_layers() 299 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { in nfp_flower_calculate_key_layers() [all …]
|
D | action.c | 799 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_fl_commit_mangle()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 225 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) in mlxsw_sp_flower_parse_meta() 315 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) in mlxsw_sp_flower_parse_ports() 342 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) in mlxsw_sp_flower_parse_tcp() 373 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) in mlxsw_sp_flower_parse_ip() 433 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in mlxsw_sp_flower_parse() 440 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in mlxsw_sp_flower_parse() 462 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in mlxsw_sp_flower_parse() 484 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in mlxsw_sp_flower_parse()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 465 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in ocelot_flower_parse_key() 471 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in ocelot_flower_parse_key() 514 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in ocelot_flower_parse_key() 548 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) && in ocelot_flower_parse_key() 581 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS) && in ocelot_flower_parse_key() 586 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in ocelot_flower_parse_key() 603 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in ocelot_flower_parse_key()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_flower.c | 168 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in cxgb4_process_flow_match() 173 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in cxgb4_process_flow_match() 175 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in cxgb4_process_flow_match() 179 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in cxgb4_process_flow_match() 237 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in cxgb4_process_flow_match() 251 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in cxgb4_process_flow_match() 259 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in cxgb4_process_flow_match() 271 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in cxgb4_process_flow_match() 329 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in cxgb4_validate_flow_match() 337 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in cxgb4_validate_flow_match()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_mplsoudp.c | 73 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) in parse_tunnel() 76 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) in parse_tunnel()
|
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() 117 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_ct.h | 160 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CT)) in mlx5_tc_ct_match_add()
|
D | tc_tun.c | 534 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_CONTROL)) { in mlx5e_tc_tun_parse() 598 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IP)) { in mlx5e_tc_tun_parse() 658 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS)) { in mlx5e_tc_tun_parse_udp_ports()
|
D | tc_ct.c | 238 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in mlx5_tc_ct_rule_to_tuple() 331 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in mlx5_tc_ct_set_tuple_match() 346 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in mlx5_tc_ct_set_tuple_match() 390 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in mlx5_tc_ct_set_tuple_match() 423 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) { in mlx5_tc_ct_set_tuple_match() 1242 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CT)) in mlx5_tc_ct_match_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 382 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in bnxt_tc_parse_flow() 396 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in bnxt_tc_parse_flow() 407 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in bnxt_tc_parse_flow() 422 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in bnxt_tc_parse_flow() 431 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in bnxt_tc_parse_flow() 442 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in bnxt_tc_parse_flow() 453 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP)) { in bnxt_tc_parse_flow() 464 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS)) { in bnxt_tc_parse_flow() 473 } else if (flow_rule_match_key(rule, in bnxt_tc_parse_flow() 478 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in bnxt_tc_parse_flow() [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 216 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in sja1105_flower_parse_key() 227 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in sja1105_flower_parse_key() 251 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in sja1105_flower_parse_key()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 2230 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) in mlx5e_flower_parse_meta() 2350 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC) && in __parse_cls_flower() 2362 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN) || in __parse_cls_flower() 2406 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN) && in __parse_cls_flower() 2426 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { in __parse_cls_flower() 2466 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in __parse_cls_flower() 2489 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in __parse_cls_flower() 2513 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in __parse_cls_flower() 2572 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in __parse_cls_flower() 2605 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in __parse_cls_flower() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1715 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in qede_flow_parse_ports() 1741 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in qede_flow_parse_v6_common() 1768 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in qede_flow_parse_v4_common() 1855 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in qede_parse_flow_attr()
|
/kernel/linux/linux-5.10/include/net/ |
D | flow_offload.h | 384 static inline bool flow_rule_match_key(const struct flow_rule *rule, in flow_rule_match_key() function
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_main.c | 2783 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in iavf_parse_cls_flower() 2791 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in iavf_parse_cls_flower() 2816 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in iavf_parse_cls_flower() 2863 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in iavf_parse_cls_flower() 2880 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in iavf_parse_cls_flower() 2959 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in iavf_parse_cls_flower()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 1245 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_VLAN)) { in mvpp2_cls_c2_build_match() 1279 if (flow_rule_match_key(flow, FLOW_DISSECTOR_KEY_PORTS)) { in mvpp2_cls_c2_build_match()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc_qos.c | 1120 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in enetc_psfp_parse_clsflower() 1160 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in enetc_psfp_parse_clsflower()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 8028 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in i40e_parse_cls_flower() 8038 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in i40e_parse_cls_flower() 8053 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in i40e_parse_cls_flower() 8082 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in i40e_parse_cls_flower() 8100 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in i40e_parse_cls_flower() 8163 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in i40e_parse_cls_flower()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 2605 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in igb_parse_cls_flower() 2632 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in igb_parse_cls_flower() 2647 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in igb_parse_cls_flower()
|