/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 29 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_compile_tci() 99 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in nfp_flower_compile_mac() 124 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) { in nfp_flower_compile_mpls() 155 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_flower_compile_mpls() 192 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in nfp_flower_compile_tport() 212 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in nfp_flower_compile_ip_ext() 220 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in nfp_flower_compile_ip_ext() 235 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) { in nfp_flower_compile_ip_ext() 269 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in nfp_flower_compile_ip_ext() 324 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_compile_vlan() [all …]
|
D | offload.c | 141 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) || in nfp_flower_check_higher_than_mac() 142 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS) || in nfp_flower_check_higher_than_mac() 143 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS) || in nfp_flower_check_higher_than_mac() 144 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP); in nfp_flower_check_higher_than_mac() 149 return flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS) || in nfp_flower_check_higher_than_l3() 150 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP); in nfp_flower_check_higher_than_l3() 273 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS) || in nfp_flower_calculate_key_layers() 274 flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) { in nfp_flower_calculate_key_layers() 279 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in nfp_flower_calculate_key_layers() 297 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { in nfp_flower_calculate_key_layers() [all …]
|
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz9477_tc_flower.c | 40 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in ksz9477_flower_parse_key_l2() 56 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in ksz9477_flower_parse_key_l2() 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()
|
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flower.c | 221 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_META)) { in prestera_flower_parse() 227 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_CONTROL)) { in prestera_flower_parse() 238 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_BASIC)) { in prestera_flower_parse() 258 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in prestera_flower_parse() 298 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_PORTS)) { in prestera_flower_parse() 317 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_PORTS_RANGE)) { in prestera_flower_parse() 340 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_VLAN)) { in prestera_flower_parse() 357 if (flow_rule_match_key(f_rule, FLOW_DISSECTOR_KEY_ICMP)) { in prestera_flower_parse()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 344 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) in mlxsw_sp_flower_parse_meta() 412 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) in mlxsw_sp_flower_parse_ports() 440 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS_RANGE)) in mlxsw_sp_flower_parse_ports_range() 501 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) in mlxsw_sp_flower_parse_tcp() 532 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) in mlxsw_sp_flower_parse_ip() 593 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in mlxsw_sp_flower_parse() 604 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in mlxsw_sp_flower_parse() 626 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in mlxsw_sp_flower_parse() 648 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in mlxsw_sp_flower_parse()
|
/linux-6.12.1/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() 333 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in cxgb4_validate_flow_match() 341 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in cxgb4_validate_flow_match()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_vxlan.c | 26 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS)) in mlx5e_tc_tun_check_udp_dport_vxlan() 171 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) in mlx5e_tc_tun_parse_vxlan() 179 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_OPTS)) { in mlx5e_tc_tun_parse_vxlan()
|
D | tc_tun_mplsoudp.c | 70 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) in parse_tunnel() 73 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS)) in parse_tunnel()
|
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() 136 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) in mlx5e_tc_tun_parse_geneve_vni() 175 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_OPTS)) in mlx5e_tc_tun_parse_geneve_options()
|
D | tc_tun_gre.c | 77 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in mlx5e_tc_tun_parse_gretap()
|
D | tc_ct.h | 159 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CT)) in mlx5_tc_ct_match_add()
|
D | tc_ct.c | 267 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in mlx5_tc_ct_rule_to_tuple() 387 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in mlx5_tc_ct_set_tuple_match() 401 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in mlx5_tc_ct_set_tuple_match() 445 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in mlx5_tc_ct_set_tuple_match() 478 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_TCP)) { in mlx5_tc_ct_set_tuple_match() 488 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) { in mlx5_tc_ct_set_tuple_match() 1463 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CT)) in mlx5_tc_ct_match_add()
|
D | tc_tun.c | 839 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_CONTROL)) { in mlx5e_tc_tun_parse() 909 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IP)) { in mlx5e_tc_tun_parse() 961 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS)) { in mlx5e_tc_tun_parse_udp_ports()
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 263 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) { in mtk_flow_offload_replace() 282 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in mtk_flow_offload_replace() 295 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in mtk_flow_offload_replace() 307 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in mtk_flow_offload_replace() 317 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in mtk_flow_offload_replace() 383 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in mtk_flow_offload_replace()
|
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | tc_conntrack.c | 100 if (flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_CONTROL)) { in efx_tc_ct_parse_match() 137 if (flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_BASIC)) { in efx_tc_ct_parse_match() 180 if (ipv == 4 && flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in efx_tc_ct_parse_match() 198 } else if (ipv == 6 && flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in efx_tc_ct_parse_match() 222 if (flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_PORTS)) { in efx_tc_ct_parse_match() 245 if (flow_rule_match_key(fr, FLOW_DISSECTOR_KEY_TCP)) { in efx_tc_ct_parse_match()
|
D | tc.c | 226 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_##_name)) { \ 252 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in efx_tc_flower_parse_match() 321 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in efx_tc_flower_parse_match() 335 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { in efx_tc_flower_parse_match() 349 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in efx_tc_flower_parse_match() 386 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_CONTROL)) { in efx_tc_flower_parse_match() 435 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CT)) { in efx_tc_flower_parse_match()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_tc.c | 656 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in otx2_tc_prepare_flow() 698 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in otx2_tc_prepare_flow() 726 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in otx2_tc_prepare_flow() 743 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPSEC)) { in otx2_tc_prepare_flow() 763 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in otx2_tc_prepare_flow() 781 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in otx2_tc_prepare_flow() 789 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { in otx2_tc_prepare_flow() 797 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in otx2_tc_prepare_flow() 809 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in otx2_tc_prepare_flow() 842 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in otx2_tc_prepare_flow() [all …]
|
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch-flower.c | 39 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in dpaa2_switch_flower_parse_key() 49 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in dpaa2_switch_flower_parse_key() 59 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in dpaa2_switch_flower_parse_key() 74 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in dpaa2_switch_flower_parse_key() 84 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in dpaa2_switch_flower_parse_key() 94 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in dpaa2_switch_flower_parse_key() 557 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in dpaa2_switch_flower_parse_mirror_key()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.c | 1373 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in ice_parse_tunnel_attr() 1406 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IP)) { in ice_parse_tunnel_attr() 1413 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_PORTS) && in ice_parse_tunnel_attr() 1428 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_OPTS) && in ice_parse_tunnel_attr() 1443 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_OPTS) && in ice_parse_tunnel_attr() 1537 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in ice_parse_cls_flower() 1559 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in ice_parse_cls_flower() 1581 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN) || in ice_parse_cls_flower() 1623 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { in ice_parse_cls_flower() 1654 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PPPOE)) { in ice_parse_cls_flower() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 595 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) { in ocelot_flower_parse_key() 615 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in ocelot_flower_parse_key() 627 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in ocelot_flower_parse_key() 670 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in ocelot_flower_parse_key() 704 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) && in ocelot_flower_parse_key() 737 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS) && in ocelot_flower_parse_key() 742 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in ocelot_flower_parse_key()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 387 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in bnxt_tc_parse_flow() 401 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in bnxt_tc_parse_flow() 412 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in bnxt_tc_parse_flow() 427 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in bnxt_tc_parse_flow() 436 } else if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in bnxt_tc_parse_flow() 447 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in bnxt_tc_parse_flow() 458 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ICMP)) { in bnxt_tc_parse_flow() 469 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS)) { in bnxt_tc_parse_flow() 478 } else if (flow_rule_match_key(rule, in bnxt_tc_parse_flow() 483 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in bnxt_tc_parse_flow() [all …]
|
/linux-6.12.1/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 220 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in sja1105_flower_parse_key() 231 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in sja1105_flower_parse_key() 255 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) { in sja1105_flower_parse_key()
|
/linux-6.12.1/include/net/ |
D | flow_offload.h | 446 static inline bool flow_rule_match_key(const struct flow_rule *rule, in flow_rule_match_key() function 534 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) in flow_rule_match_has_control_flags()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 2446 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_IP)) { in mlx5e_tc_verify_tunnel_ecn() 2452 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IP)) { in mlx5e_tc_verify_tunnel_ecn() 2643 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) in mlx5e_flower_parse_meta() 2779 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC) && in __parse_cls_flower() 2791 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN) || in __parse_cls_flower() 2835 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN) && in __parse_cls_flower() 2855 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { in __parse_cls_flower() 2895 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) { in __parse_cls_flower() 2918 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) { in __parse_cls_flower() 2942 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in __parse_cls_flower() [all …]
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1707 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) { in qede_flow_parse_ports() 1736 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS)) { in qede_flow_parse_v6_common() 1767 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS)) { in qede_flow_parse_v4_common() 1861 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) { in qede_parse_flow_attr()
|