/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_flow_table_offload.c | 166 flow_action_entry_next(struct nf_flow_rule *flow_rule) in flow_action_entry_next() argument 168 int i = flow_rule->rule->action.num_entries++; in flow_action_entry_next() 170 return &flow_rule->rule->action.entries[i]; in flow_action_entry_next() 176 struct nf_flow_rule *flow_rule) in flow_offload_eth_src() argument 179 struct flow_action_entry *entry0 = flow_action_entry_next(flow_rule); in flow_offload_eth_src() 180 struct flow_action_entry *entry1 = flow_action_entry_next(flow_rule); in flow_offload_eth_src() 207 struct nf_flow_rule *flow_rule) in flow_offload_eth_dst() argument 209 struct flow_action_entry *entry0 = flow_action_entry_next(flow_rule); in flow_offload_eth_dst() 210 struct flow_action_entry *entry1 = flow_action_entry_next(flow_rule); in flow_offload_eth_dst() 252 struct nf_flow_rule *flow_rule) in flow_offload_ipv4_snat() argument [all …]
|
D | nf_flow_table_inet.c | 27 struct nf_flow_rule *flow_rule) in nf_flow_rule_route_inet() argument 34 err = nf_flow_rule_route_ipv4(net, flow, dir, flow_rule); in nf_flow_rule_route_inet() 37 err = nf_flow_rule_route_ipv6(net, flow, dir, flow_rule); in nf_flow_rule_route_inet()
|
/kernel/linux/linux-5.10/include/net/ |
D | flow_offload.h | 75 struct flow_rule; 77 void flow_rule_match_meta(const struct flow_rule *rule, 79 void flow_rule_match_basic(const struct flow_rule *rule, 81 void flow_rule_match_control(const struct flow_rule *rule, 83 void flow_rule_match_eth_addrs(const struct flow_rule *rule, 85 void flow_rule_match_vlan(const struct flow_rule *rule, 87 void flow_rule_match_cvlan(const struct flow_rule *rule, 89 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, 91 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, 93 void flow_rule_match_ip(const struct flow_rule *rule, [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | flow_offload.c | 9 struct flow_rule *flow_rule_alloc(unsigned int num_actions) in flow_rule_alloc() 11 struct flow_rule *rule; in flow_rule_alloc() 37 void flow_rule_match_meta(const struct flow_rule *rule, in flow_rule_match_meta() 44 void flow_rule_match_basic(const struct flow_rule *rule, in flow_rule_match_basic() 51 void flow_rule_match_control(const struct flow_rule *rule, in flow_rule_match_control() 58 void flow_rule_match_eth_addrs(const struct flow_rule *rule, in flow_rule_match_eth_addrs() 65 void flow_rule_match_vlan(const struct flow_rule *rule, in flow_rule_match_vlan() 72 void flow_rule_match_cvlan(const struct flow_rule *rule, in flow_rule_match_cvlan() 79 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, in flow_rule_match_ipv4_addrs() 86 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, in flow_rule_match_ipv6_addrs() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 13 struct flow_rule *rule, u8 key_type, bool qinq_sup) in nfp_flower_compile_meta_tci() 79 struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, in nfp_flower_compile_mac() 146 struct flow_rule *rule) in nfp_flower_compile_tport() 164 struct nfp_flower_ip_ext *msk, struct flow_rule *rule) in nfp_flower_compile_ip_ext() 258 struct flow_rule *rule) in nfp_flower_compile_vlan() 279 struct nfp_flower_ipv4 *msk, struct flow_rule *rule) in nfp_flower_compile_ipv4() 299 struct nfp_flower_ipv6 *msk, struct flow_rule *rule) in nfp_flower_compile_ipv6() 318 nfp_flower_compile_geneve_opt(void *ext, void *msk, struct flow_rule *rule) in nfp_flower_compile_geneve_opt() 332 struct flow_rule *rule) in nfp_flower_compile_tun_ipv4_addrs() 348 struct flow_rule *rule) in nfp_flower_compile_tun_ipv6_addrs() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rdma.c | 26 struct mlx5_flow_handle *flow_rule = NULL; in mlx5_rdma_enable_roce_steering() local 90 flow_rule = mlx5_add_flow_rules(ft, spec, &flow_act, NULL, 0); in mlx5_rdma_enable_roce_steering() 91 if (IS_ERR(flow_rule)) { in mlx5_rdma_enable_roce_steering() 92 err = PTR_ERR(flow_rule); in mlx5_rdma_enable_roce_steering() 102 roce->allow_rule = flow_rule; in mlx5_rdma_enable_roce_steering()
|
D | eswitch.c | 59 struct mlx5_flow_handle *flow_rule; member 192 struct mlx5_flow_handle *flow_rule = NULL; in __esw_fdb_set_vport_rule() local 235 flow_rule = in __esw_fdb_set_vport_rule() 238 if (IS_ERR(flow_rule)) { in __esw_fdb_set_vport_rule() 241 dmac_v, dmac_c, vport, PTR_ERR(flow_rule)); in __esw_fdb_set_vport_rule() 242 flow_rule = NULL; in __esw_fdb_set_vport_rule() 246 return flow_rule; in __esw_fdb_set_vport_rule() 528 vaddr->flow_rule = esw_fdb_set_vport_rule(esw, mac, vport); in esw_add_uc_addr() 531 vport, mac, vaddr->flow_rule); in esw_add_uc_addr() 556 if (vaddr->flow_rule) in esw_del_uc_addr() [all …]
|
D | eswitch_offloads.c | 774 struct mlx5_flow_handle *flow_rule; in mlx5_eswitch_add_send_to_vport_rule() local 780 flow_rule = ERR_PTR(-ENOMEM); in mlx5_eswitch_add_send_to_vport_rule() 798 flow_rule = mlx5_add_flow_rules(esw->fdb_table.offloads.slow_fdb, in mlx5_eswitch_add_send_to_vport_rule() 800 if (IS_ERR(flow_rule)) in mlx5_eswitch_add_send_to_vport_rule() 801 esw_warn(esw->dev, "FDB: Failed to add send to vport rule err %ld\n", PTR_ERR(flow_rule)); in mlx5_eswitch_add_send_to_vport_rule() 804 return flow_rule; in mlx5_eswitch_add_send_to_vport_rule() 1034 struct mlx5_flow_handle *flow_rule = NULL; in esw_add_fdb_miss_rule() local 1059 flow_rule = mlx5_add_flow_rules(esw->fdb_table.offloads.slow_fdb, in esw_add_fdb_miss_rule() 1061 if (IS_ERR(flow_rule)) { in esw_add_fdb_miss_rule() 1062 err = PTR_ERR(flow_rule); in esw_add_fdb_miss_rule() [all …]
|
D | en_rep.c | 398 struct mlx5_flow_handle *flow_rule; in mlx5e_sqs2vport_start() local 416 flow_rule = mlx5_eswitch_add_send_to_vport_rule(esw, in mlx5e_sqs2vport_start() 419 if (IS_ERR(flow_rule)) { in mlx5e_sqs2vport_start() 420 err = PTR_ERR(flow_rule); in mlx5e_sqs2vport_start() 424 rep_sq->send_to_vport_rule = flow_rule; in mlx5e_sqs2vport_start() 867 struct mlx5_flow_handle *flow_rule; in mlx5e_create_rep_vport_rx_rule() local 873 flow_rule = mlx5_eswitch_create_vport_rx_rule(esw, rep->vport, &dest); in mlx5e_create_rep_vport_rx_rule() 874 if (IS_ERR(flow_rule)) in mlx5e_create_rep_vport_rx_rule() 875 return PTR_ERR(flow_rule); in mlx5e_create_rep_vport_rx_rule() 876 rpriv->vport_rx_rule = flow_rule; in mlx5e_create_rep_vport_rx_rule()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 83 struct mlx5_flow_handle *flow_rule; member 210 mlx5_tc_ct_rule_to_tuple(struct mlx5_ct_tuple *tuple, struct flow_rule *rule) in mlx5_tc_ct_rule_to_tuple() 260 struct flow_rule *rule) in mlx5_tc_ct_rule_to_tuple_nat() 322 struct flow_rule *rule) in mlx5_tc_ct_set_tuple_match() 473 mlx5_tc_ct_get_ct_metadata_action(struct flow_rule *flow_rule) in mlx5_tc_ct_get_ct_metadata_action() argument 475 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_get_ct_metadata_action() 605 struct flow_rule *flow_rule, in mlx5_tc_ct_entry_create_nat() argument 608 struct flow_action *flow_action = &flow_rule->action; in mlx5_tc_ct_entry_create_nat() 650 struct flow_rule *flow_rule, in mlx5_tc_ct_entry_create_mod_hdr() argument 659 meta = mlx5_tc_ct_get_ct_metadata_action(flow_rule); in mlx5_tc_ct_entry_create_mod_hdr() [all …]
|
D | tc_tun_vxlan.c | 21 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_check_udp_dport_vxlan() 107 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_vxlan()
|
D | tc_tun_geneve.c | 25 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_check_udp_dport_geneve() 127 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_geneve_vni() 161 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_geneve_options()
|
D | tc_tun_gre.c | 63 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_gretap()
|
D | tc_tun_mplsoudp.c | 62 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in parse_tunnel()
|
D | tc_ct.h | 158 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5_tc_ct_match_add()
|
D | tc_tun.c | 502 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse() 652 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlx5e_tc_tun_parse_udp_ports()
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_flow_table.h | 45 struct flow_rule *rule; 58 struct nf_flow_rule *flow_rule); 259 struct nf_flow_rule *flow_rule); 262 struct nf_flow_rule *flow_rule);
|
D | nf_tables_offload.h | 67 struct flow_rule *rule;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 220 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_meta() 312 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports() 339 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_tcp() 370 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ip() 403 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_flower.h | 140 int cxgb4_flow_rule_replace(struct net_device *dev, struct flow_rule *rule,
|
D | cxgb4_tc_flower.c | 163 struct flow_rule *rule, in cxgb4_process_flow_match() 309 struct flow_rule *rule) in cxgb4_validate_flow_match() 855 int cxgb4_flow_rule_replace(struct net_device *dev, struct flow_rule *rule, in cxgb4_flow_rule_replace() 929 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in cxgb4_tc_flower_replace()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 427 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_basic_flow() 444 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_ip4_flow() 479 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_ports_flow() 555 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in tc_add_flow()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1712 qede_flow_parse_ports(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_ports() 1733 qede_flow_parse_v6_common(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_v6_common() 1765 qede_flow_parse_v4_common(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_v4_common() 1789 qede_flow_parse_tcp_v6(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_tcp_v6() 1799 qede_flow_parse_tcp_v4(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_tcp_v4() 1809 qede_flow_parse_udp_v6(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_udp_v6() 1819 qede_flow_parse_udp_v4(struct qede_dev *edev, struct flow_rule *rule, in qede_flow_parse_udp_v4() 1830 struct flow_rule *rule, struct qede_arfs_tuple *tuple) in qede_parse_flow_attr()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 199 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_flower_parse_key() 305 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_cls_flower_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 372 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in ocelot_flower_parse_indev() 424 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in ocelot_flower_parse_key()
|