/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | mirred.c | 108 struct mlx5e_tc_flow_parse_attr *parse_attr; in tc_act_can_offload_mirred() local 113 parse_attr = attr->parse_attr; in tc_act_can_offload_mirred() 161 if (parse_attr->filter_dev != priv->netdev) { in tc_act_can_offload_mirred() 180 struct mlx5e_tc_flow_parse_attr *parse_attr = attr->parse_attr; in parse_mirred_encap() local 184 parse_attr->mirred_ifindex[esw_attr->out_count] = out_dev->ifindex; in parse_mirred_encap() 185 parse_attr->tun_info[esw_attr->out_count] = in parse_mirred_encap() 188 if (!parse_attr->tun_info[esw_attr->out_count]) in parse_mirred_encap() 194 memcpy(&parse_attr->mpls_info[esw_attr->out_count], in parse_mirred_encap() 211 struct mlx5e_tc_flow_parse_attr *parse_attr = attr->parse_attr; in parse_mirred() local 249 if (is_vlan_dev(parse_attr->filter_dev)) { in parse_mirred()
|
D | vlan.c | 11 struct mlx5e_tc_flow_parse_attr *parse_attr, in add_vlan_prio_tag_rewrite_action() argument 19 &parse_attr->spec), in add_vlan_prio_tag_rewrite_action() 23 &parse_attr->spec), in add_vlan_prio_tag_rewrite_action() 28 &prio_tag_act, parse_attr, action, in add_vlan_prio_tag_rewrite_action() 149 nest_level = attr->parse_attr->filter_dev->lower_level - in mlx5e_tc_act_vlan_add_pop_action() 184 attr->parse_attr, &attr->action, in tc_act_parse_vlan() 204 struct mlx5e_tc_flow_parse_attr *parse_attr = attr->parse_attr; in tc_act_post_parse_vlan() local 215 err = add_vlan_prio_tag_rewrite_action(priv, parse_attr, in tc_act_post_parse_vlan()
|
D | vlan_mangle.c | 14 struct mlx5e_tc_flow_parse_attr *parse_attr, in mlx5e_tc_act_vlan_add_rewrite_action() argument 30 headers_c = mlx5e_get_match_headers_criteria(*action, &parse_attr->spec); in mlx5e_tc_act_vlan_add_rewrite_action() 31 headers_v = mlx5e_get_match_headers_value(*action, &parse_attr->spec); in mlx5e_tc_act_vlan_add_rewrite_action() 46 err = mlx5e_tc_act_pedit_parse_action(priv, &pedit_act, namespace, parse_attr->hdrs, in mlx5e_tc_act_vlan_add_rewrite_action() 72 err = mlx5e_tc_act_vlan_add_rewrite_action(priv, ns_type, act, attr->parse_attr, in tc_act_parse_vlan_mangle()
|
D | redirect_ingress.c | 14 struct mlx5e_tc_flow_parse_attr *parse_attr; in tc_act_can_offload_redirect_ingress() local 18 parse_attr = attr->parse_attr; in tc_act_can_offload_redirect_ingress() 30 if (netif_is_ovs_master(parse_attr->filter_dev)) { in tc_act_can_offload_redirect_ingress()
|
D | goto.c | 91 struct mlx5e_tc_flow_parse_attr *parse_attr = attr->parse_attr; in tc_act_post_parse_goto() local 112 if (!mlx5e_is_eswitch_flow(flow) && parse_attr->mirred_ifindex[0]) { in tc_act_post_parse_goto()
|
D | ct.c | 39 &attr->parse_attr->mod_hdr_acts, in tc_act_parse_ct() 64 struct mlx5e_tc_mod_hdr_acts *mod_acts = &attr->parse_attr->mod_hdr_acts; in tc_act_post_parse_ct()
|
D | vlan.h | 26 struct mlx5e_tc_flow_parse_attr *parse_attr,
|
D | mirred_nic.c | 41 attr->parse_attr->mirred_ifindex[0] = act->dev->ifindex; in tc_act_parse_mirred_nic()
|
D | mpls.c | 57 filter_dev = attr->parse_attr->filter_dev; in tc_act_can_offload_mpls_pop()
|
D | pedit.c | 103 err = mlx5e_tc_act_pedit_parse_action(flow->priv, act, ns_type, attr->parse_attr->hdrs, in tc_act_parse_pedit()
|
D | act.c | 141 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_act_set_next_post_act()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 451 &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_rule_offload() 622 struct mlx5e_tc_flow_parse_attr *parse_attr) in mlx5e_attach_mod_hdr() argument 629 &parse_attr->mod_hdr_acts); in mlx5e_attach_mod_hdr() 1000 struct mlx5e_tc_flow_parse_attr *parse_attr, in mlx5e_hairpin_flow_add() argument 1004 int peer_ifindex = parse_attr->mirred_ifindex[0]; in mlx5e_hairpin_flow_add() 1027 err = mlx5e_hairpin_get_prio(priv, &parse_attr->spec, &match_prio, in mlx5e_hairpin_flow_add() 1265 struct mlx5e_tc_flow_parse_attr *parse_attr; in mlx5e_tc_add_nic_flow() local 1270 parse_attr = attr->parse_attr; in mlx5e_tc_add_nic_flow() 1273 err = mlx5e_hairpin_flow_add(priv, flow, parse_attr, extack); in mlx5e_tc_add_nic_flow() 1285 err = mlx5e_attach_mod_hdr(priv, flow, parse_attr); in mlx5e_tc_add_nic_flow() [all …]
|
D | en_tc.h | 77 struct mlx5e_tc_flow_parse_attr *parse_attr; member
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_encap.c | 177 spec = &flow->attr->parse_attr->spec; in mlx5e_tc_encap_flows_add() 235 spec = &flow->attr->parse_attr->spec; in mlx5e_tc_encap_flows_del() 770 struct mlx5e_tc_flow_parse_attr *parse_attr; in mlx5e_attach_encap() local 781 parse_attr = attr->parse_attr; in mlx5e_attach_encap() 782 tun_info = parse_attr->tun_info[out_index]; in mlx5e_attach_encap() 783 mpls_info = &parse_attr->mpls_info[out_index]; in mlx5e_attach_encap() 1166 struct mlx5e_tc_flow_parse_attr *parse_attr; in mlx5e_attach_decap_route() local 1174 parse_attr = attr->parse_attr; in mlx5e_attach_decap_route() 1181 err = mlx5e_tc_tun_route_lookup(priv, &parse_attr->spec, attr, parse_attr->filter_dev); in mlx5e_attach_decap_route() 1191 r = mlx5e_route_get_create(priv, &key, parse_attr->filter_dev->ifindex, in mlx5e_attach_decap_route() [all …]
|
D | tc_ct.c | 1846 pre_mod_acts = &pre_ct_attr->parse_attr->mod_hdr_acts; in __mlx5_tc_ct_flow_offload()
|
/Linux-v6.1/net/sched/ |
D | sch_mqprio.c | 119 static int parse_attr(struct nlattr *tb[], int maxtype, struct nlattr *nla, in parse_attr() function 169 err = parse_attr(tb, TCA_MQPRIO_MAX, opt, mqprio_policy, in mqprio_init()
|
D | sch_netem.c | 934 static int parse_attr(struct nlattr *tb[], int maxtype, struct nlattr *nla, in parse_attr() function 965 ret = parse_attr(tb, TCA_NETEM_MAX, opt, netem_policy, sizeof(*qopt)); in netem_change()
|
/Linux-v6.1/tools/lib/bpf/ |
D | netlink.c | 216 libbpf_dump_nlmsg_t parse_attr, in libbpf_netlink_send_recv() argument 235 parse_msg, parse_attr, cookie); in libbpf_netlink_send_recv()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | sample.c | 532 mod_acts = &attr->parse_attr->mod_hdr_acts; in mlx5e_tc_sample_offload()
|