Home
last modified time | relevance | path

Searched refs:modify_hdr (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.h92 struct mlx5_modify_hdr *modify_hdr);
95 struct mlx5_modify_hdr *modify_hdr);
Dfs_cmd.c128 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_stub_modify_header_alloc() argument
134 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_stub_modify_header_dealloc() argument
463 if (fte->action.modify_hdr) in mlx5_cmd_set_fte()
465 fte->action.modify_hdr->id); in mlx5_cmd_set_fte()
769 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_alloc() argument
824 modify_hdr->id = MLX5_GET(alloc_modify_header_context_out, out, modify_header_id); in mlx5_cmd_modify_header_alloc()
830 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_dealloc() argument
840 modify_hdr->id); in mlx5_cmd_modify_header_dealloc()
Dfs_core.c2916 struct mlx5_modify_hdr *modify_hdr; in mlx5_modify_header_alloc() local
2923 modify_hdr = kzalloc(sizeof(*modify_hdr), GFP_KERNEL); in mlx5_modify_header_alloc()
2924 if (!modify_hdr) in mlx5_modify_header_alloc()
2927 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc()
2929 modify_actions, modify_hdr); in mlx5_modify_header_alloc()
2931 kfree(modify_hdr); in mlx5_modify_header_alloc()
2935 return modify_hdr; in mlx5_modify_header_alloc()
2940 struct mlx5_modify_hdr *modify_hdr) in mlx5_modify_header_dealloc() argument
2944 root = get_root_namespace(dev, modify_hdr->ns_type); in mlx5_modify_header_dealloc()
2947 root->cmds->modify_header_dealloc(root, modify_hdr); in mlx5_modify_header_dealloc()
[all …]
Den_tc.c64 struct mlx5_modify_hdr *modify_hdr; member
204 struct mlx5_modify_hdr *modify_hdr; member
337 mlx5_modify_header_dealloc(priv->mdev, mh->modify_hdr); in mlx5e_mod_hdr_put()
398 mh->modify_hdr = mlx5_modify_header_alloc(priv->mdev, namespace, in mlx5e_attach_mod_hdr()
401 if (IS_ERR(mh->modify_hdr)) { in mlx5e_attach_mod_hdr()
402 err = PTR_ERR(mh->modify_hdr); in mlx5e_attach_mod_hdr()
415 flow->esw_attr->modify_hdr = mh->modify_hdr; in mlx5e_attach_mod_hdr()
417 flow->nic_attr->modify_hdr = mh->modify_hdr; in mlx5e_attach_mod_hdr()
949 flow_act.modify_hdr = attr->modify_hdr; in mlx5e_tc_add_nic_flow()
Deswitch_offloads.c216 flow_act.modify_hdr = attr->modify_hdr; in mlx5_eswitch_add_offloaded_rule()
1782 flow_act.modify_hdr = vport->ingress.modify_metadata; in esw_vport_ingress_prio_tag_config()
1830 flow_act.modify_hdr = vport->ingress.modify_metadata; in esw_vport_add_ingress_acl_modify_metadata()
Deswitch.h393 struct mlx5_modify_hdr *modify_hdr; member
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dfs_dr.c323 fte->action.modify_hdr->action.dr_action; in mlx5_cmd_dr_create_fte()
501 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_alloc() argument
517 modify_hdr->action.dr_action = action; in mlx5_cmd_dr_modify_header_alloc()
523 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_dealloc() argument
525 mlx5dr_action_destroy(modify_hdr->action.dr_action); in mlx5_cmd_dr_modify_header_dealloc()
/drivers/infiniband/hw/mlx5/
Dflow.c334 maction->flow_action_raw.modify_hdr); in mlx5_ib_destroy_flow_action_raw()
364 maction->flow_action_raw.modify_hdr = in mlx5_ib_create_modify_header()
367 if (IS_ERR(maction->flow_action_raw.modify_hdr)) { in mlx5_ib_create_modify_header()
368 ret = PTR_ERR(maction->flow_action_raw.modify_hdr); in mlx5_ib_create_modify_header()
Dmlx5_ib.h872 struct mlx5_modify_hdr *modify_hdr; member
Dmain.c2652 action->modify_hdr = in parse_flow_flow_action()
2653 maction->flow_action_raw.modify_hdr; in parse_flow_flow_action()