Searched refs:modify_hdr (Results 1 – 10 of 10) sorted by relevance
92 struct mlx5_modify_hdr *modify_hdr);95 struct mlx5_modify_hdr *modify_hdr);
128 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_stub_modify_header_alloc() argument134 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_stub_modify_header_dealloc() argument463 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() argument824 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() argument840 modify_hdr->id); in mlx5_cmd_modify_header_dealloc()
2916 struct mlx5_modify_hdr *modify_hdr; in mlx5_modify_header_alloc() local2923 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() argument2944 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 …]
64 struct mlx5_modify_hdr *modify_hdr; member204 struct mlx5_modify_hdr *modify_hdr; member337 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()
216 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()
393 struct mlx5_modify_hdr *modify_hdr; member
323 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() argument517 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() argument525 mlx5dr_action_destroy(modify_hdr->action.dr_action); in mlx5_cmd_dr_modify_header_dealloc()
334 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()
872 struct mlx5_modify_hdr *modify_hdr; member
2652 action->modify_hdr = in parse_flow_flow_action()2653 maction->flow_action_raw.modify_hdr; in parse_flow_flow_action()