Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c27 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 …]
Doffload.c140 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 …]
Daction.c799 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/
Dspectrum_flower.c225 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/
Docelot_flower.c465 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/
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()
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/
Dtc_tun_mplsoudp.c73 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()
Dtc_tun_vxlan.c25 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()
Dtc_tun_geneve.c29 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()
Dtc_tun_gre.c73 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ENC_KEYID)) { in mlx5e_tc_tun_parse_gretap()
Dtc_ct.h160 if (!flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CT)) in mlx5_tc_ct_match_add()
Dtc_tun.c534 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()
Dtc_ct.c238 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/
Dbnxt_tc.c382 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/
Dsja1105_flower.c216 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/
Den_tc.c2230 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/
Dqede_filter.c1715 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/
Dflow_offload.h384 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/
Diavf_main.c2783 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/
Dmvpp2_cls.c1245 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/
Denetc_qos.c1120 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/
Di40e_main.c8028 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/
Digb_main.c2605 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()