Home
last modified time | relevance | path

Searched refs:flow_rule_match_key (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c29 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 …]
Doffload.c141 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/
Dksz9477_tc_flower.c40 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/
Dprestera_flower.c221 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/
Dspectrum_flower.c344 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/
Dcxgb4_tc_flower.c168 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/
Dtc_tun_vxlan.c26 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()
Dtc_tun_mplsoudp.c70 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()
Dtc_tun_geneve.c29 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()
Dtc_tun_gre.c77 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in mlx5e_tc_tun_parse_gretap()
Dtc_ct.h159 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CT)) in mlx5_tc_ct_match_add()
Dtc_ct.c267 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()
Dtc_tun.c839 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/
Dmtk_ppe_offload.c263 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/
Dtc_conntrack.c100 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()
Dtc.c226 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/
Dotx2_tc.c656 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/
Ddpaa2-switch-flower.c39 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/
Dice_tc_lib.c1373 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/
Docelot_flower.c595 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/
Dbnxt_tc.c387 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/
Dsja1105_flower.c220 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/
Dflow_offload.h446 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/
Den_tc.c2446 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/
Dqede_filter.c1707 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()

12