Home
last modified time | relevance | path

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

123

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c58 struct mlx5_modify_hdr *modify_hdr; in rx_err_add_rule() local
78 if (IS_ERR(modify_hdr)) { in rx_err_add_rule()
79 err = PTR_ERR(modify_hdr); in rx_err_add_rule()
88 flow_act.modify_hdr = modify_hdr; in rx_err_add_rule()
98 rx_err->copy_modify_hdr = modify_hdr; in rx_err_add_rule()
501 if (IS_ERR(modify_hdr)) { in rx_add_rule()
502 err = PTR_ERR(modify_hdr); in rx_add_rule()
505 modify_hdr = NULL; in rx_add_rule()
513 flow_act.modify_hdr = modify_hdr; in rx_add_rule()
524 ipsec_rule->set_modify_hdr = modify_hdr; in rx_add_rule()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c58 struct mlx5_modify_hdr *modify_hdr; in rx_err_add_rule() local
78 if (IS_ERR(modify_hdr)) { in rx_err_add_rule()
79 err = PTR_ERR(modify_hdr); in rx_err_add_rule()
88 flow_act.modify_hdr = modify_hdr; in rx_err_add_rule()
98 rx_err->copy_modify_hdr = modify_hdr; in rx_err_add_rule()
501 if (IS_ERR(modify_hdr)) { in rx_add_rule()
502 err = PTR_ERR(modify_hdr); in rx_add_rule()
505 modify_hdr = NULL; in rx_add_rule()
513 flow_act.modify_hdr = modify_hdr; in rx_add_rule()
524 ipsec_rule->set_modify_hdr = modify_hdr; in rx_add_rule()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c58 struct mlx5_modify_hdr *modify_hdr; in rx_err_add_rule() local
78 if (IS_ERR(modify_hdr)) { in rx_err_add_rule()
79 err = PTR_ERR(modify_hdr); in rx_err_add_rule()
88 flow_act.modify_hdr = modify_hdr; in rx_err_add_rule()
98 rx_err->copy_modify_hdr = modify_hdr; in rx_err_add_rule()
501 if (IS_ERR(modify_hdr)) { in rx_add_rule()
502 err = PTR_ERR(modify_hdr); in rx_add_rule()
505 modify_hdr = NULL; in rx_add_rule()
513 flow_act.modify_hdr = modify_hdr; in rx_add_rule()
524 ipsec_rule->set_modify_hdr = modify_hdr; in rx_add_rule()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dsample.c49 struct mlx5_modify_hdr *modify_hdr; member
224 struct mlx5_modify_hdr *modify_hdr; in sample_metadata_rule_get() local
235 if (IS_ERR(modify_hdr)) { in sample_metadata_rule_get()
236 err = PTR_ERR(modify_hdr); in sample_metadata_rule_get()
241 return modify_hdr; in sample_metadata_rule_get()
255 struct mlx5_modify_hdr *modify_hdr; in sample_restore_get() local
270 modify_hdr = sample_metadata_rule_get(mdev, obj_id); in sample_restore_get()
271 if (IS_ERR(modify_hdr)) { in sample_restore_get()
272 err = PTR_ERR(modify_hdr); in sample_restore_get()
275 restore->modify_hdr = modify_hdr; in sample_restore_get()
[all …]
H A Dindir_table.c208 flow_act.modify_hdr = mlx5_modify_header_alloc(esw->dev, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get()
210 if (IS_ERR(flow_act.modify_hdr)) { in mlx5_esw_indir_table_rule_get()
211 err = PTR_ERR(flow_act.modify_hdr); in mlx5_esw_indir_table_rule_get()
232 rule->mh = flow_act.modify_hdr; in mlx5_esw_indir_table_rule_get()
243 mlx5_modify_header_dealloc(esw->dev, flow_act.modify_hdr); in mlx5_esw_indir_table_rule_get()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dsample.c49 struct mlx5_modify_hdr *modify_hdr; member
224 struct mlx5_modify_hdr *modify_hdr; in sample_metadata_rule_get() local
235 if (IS_ERR(modify_hdr)) { in sample_metadata_rule_get()
236 err = PTR_ERR(modify_hdr); in sample_metadata_rule_get()
241 return modify_hdr; in sample_metadata_rule_get()
255 struct mlx5_modify_hdr *modify_hdr; in sample_restore_get() local
270 modify_hdr = sample_metadata_rule_get(mdev, obj_id); in sample_restore_get()
271 if (IS_ERR(modify_hdr)) { in sample_restore_get()
272 err = PTR_ERR(modify_hdr); in sample_restore_get()
275 restore->modify_hdr = modify_hdr; in sample_restore_get()
[all …]
H A Dindir_table.c208 flow_act.modify_hdr = mlx5_modify_header_alloc(esw->dev, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get()
210 if (IS_ERR(flow_act.modify_hdr)) { in mlx5_esw_indir_table_rule_get()
211 err = PTR_ERR(flow_act.modify_hdr); in mlx5_esw_indir_table_rule_get()
232 rule->mh = flow_act.modify_hdr; in mlx5_esw_indir_table_rule_get()
243 mlx5_modify_header_dealloc(esw->dev, flow_act.modify_hdr); in mlx5_esw_indir_table_rule_get()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dsample.c49 struct mlx5_modify_hdr *modify_hdr; member
224 struct mlx5_modify_hdr *modify_hdr; in sample_metadata_rule_get() local
235 if (IS_ERR(modify_hdr)) { in sample_metadata_rule_get()
236 err = PTR_ERR(modify_hdr); in sample_metadata_rule_get()
241 return modify_hdr; in sample_metadata_rule_get()
255 struct mlx5_modify_hdr *modify_hdr; in sample_restore_get() local
270 modify_hdr = sample_metadata_rule_get(mdev, obj_id); in sample_restore_get()
271 if (IS_ERR(modify_hdr)) { in sample_restore_get()
272 err = PTR_ERR(modify_hdr); in sample_restore_get()
275 restore->modify_hdr = modify_hdr; in sample_restore_get()
[all …]
H A Dindir_table.c208 flow_act.modify_hdr = mlx5_modify_header_alloc(esw->dev, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get()
210 if (IS_ERR(flow_act.modify_hdr)) { in mlx5_esw_indir_table_rule_get()
211 err = PTR_ERR(flow_act.modify_hdr); in mlx5_esw_indir_table_rule_get()
232 rule->mh = flow_act.modify_hdr; in mlx5_esw_indir_table_rule_get()
243 mlx5_modify_header_dealloc(esw->dev, flow_act.modify_hdr); in mlx5_esw_indir_table_rule_get()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmod_hdr.c20 struct mlx5_modify_hdr *modify_hdr; member
117 mh->modify_hdr = mlx5_modify_header_alloc(mdev, namespace, in mlx5e_mod_hdr_attach()
120 if (IS_ERR(mh->modify_hdr)) { in mlx5e_mod_hdr_attach()
121 err = PTR_ERR(mh->modify_hdr); in mlx5e_mod_hdr_attach()
148 mlx5_modify_header_dealloc(mdev, mh->modify_hdr); in mlx5e_mod_hdr_detach()
155 return mh->modify_hdr; in mlx5e_mod_hdr_get()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmod_hdr.c20 struct mlx5_modify_hdr *modify_hdr; member
117 mh->modify_hdr = mlx5_modify_header_alloc(mdev, namespace, in mlx5e_mod_hdr_attach()
120 if (IS_ERR(mh->modify_hdr)) { in mlx5e_mod_hdr_attach()
121 err = PTR_ERR(mh->modify_hdr); in mlx5e_mod_hdr_attach()
148 mlx5_modify_header_dealloc(mdev, mh->modify_hdr); in mlx5e_mod_hdr_detach()
155 return mh->modify_hdr; in mlx5e_mod_hdr_get()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmod_hdr.c20 struct mlx5_modify_hdr *modify_hdr; member
117 mh->modify_hdr = mlx5_modify_header_alloc(mdev, namespace, in mlx5e_mod_hdr_attach()
120 if (IS_ERR(mh->modify_hdr)) { in mlx5e_mod_hdr_attach()
121 err = PTR_ERR(mh->modify_hdr); in mlx5e_mod_hdr_attach()
148 mlx5_modify_header_dealloc(mdev, mh->modify_hdr); in mlx5e_mod_hdr_detach()
155 return mh->modify_hdr; in mlx5e_mod_hdr_get()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.h92 struct mlx5_modify_hdr *modify_hdr);
95 struct mlx5_modify_hdr *modify_hdr);
H A 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
453 if (fte->action.modify_hdr) in mlx5_cmd_set_fte()
455 fte->action.modify_hdr->id); in mlx5_cmd_set_fte()
756 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_alloc() argument
817 modify_hdr->id = MLX5_GET(alloc_modify_header_context_out, out, modify_header_id); in mlx5_cmd_modify_header_alloc()
823 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_dealloc() argument
831 modify_hdr->id); in mlx5_cmd_modify_header_dealloc()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.h92 struct mlx5_modify_hdr *modify_hdr);
95 struct mlx5_modify_hdr *modify_hdr);
H A 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
453 if (fte->action.modify_hdr) in mlx5_cmd_set_fte()
455 fte->action.modify_hdr->id); in mlx5_cmd_set_fte()
756 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_alloc() argument
817 modify_hdr->id = MLX5_GET(alloc_modify_header_context_out, out, modify_header_id); in mlx5_cmd_modify_header_alloc()
823 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_dealloc() argument
831 modify_hdr->id); in mlx5_cmd_modify_header_dealloc()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.h92 struct mlx5_modify_hdr *modify_hdr);
95 struct mlx5_modify_hdr *modify_hdr);
H A 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
453 if (fte->action.modify_hdr) in mlx5_cmd_set_fte()
455 fte->action.modify_hdr->id); in mlx5_cmd_set_fte()
756 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_alloc() argument
817 modify_hdr->id = MLX5_GET(alloc_modify_header_context_out, out, modify_header_id); in mlx5_cmd_modify_header_alloc()
823 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_dealloc() argument
831 modify_hdr->id); in mlx5_cmd_modify_header_dealloc()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dfs_dr.c335 fte->action.modify_hdr->action.dr_action; in mlx5_cmd_dr_create_fte()
574 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_alloc() argument
590 modify_hdr->action.dr_action = action; in mlx5_cmd_dr_modify_header_alloc()
596 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_dealloc() argument
598 mlx5dr_action_destroy(modify_hdr->action.dr_action); in mlx5_cmd_dr_modify_header_dealloc()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dfs_dr.c335 fte->action.modify_hdr->action.dr_action; in mlx5_cmd_dr_create_fte()
574 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_alloc() argument
590 modify_hdr->action.dr_action = action; in mlx5_cmd_dr_modify_header_alloc()
596 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_dealloc() argument
598 mlx5dr_action_destroy(modify_hdr->action.dr_action); in mlx5_cmd_dr_modify_header_dealloc()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dfs_dr.c335 fte->action.modify_hdr->action.dr_action; in mlx5_cmd_dr_create_fte()
574 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_alloc() argument
590 modify_hdr->action.dr_action = action; in mlx5_cmd_dr_modify_header_alloc()
596 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_dealloc() argument
598 mlx5dr_action_destroy(modify_hdr->action.dr_action); in mlx5_cmd_dr_modify_header_dealloc()
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/mlx5/
H A Dfs.h209 struct mlx5_modify_hdr *modify_hdr; member
255 struct mlx5_modify_hdr *modify_hdr);
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/mlx5/
H A Dfs.h209 struct mlx5_modify_hdr *modify_hdr; member
255 struct mlx5_modify_hdr *modify_hdr);
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/mlx5/
H A Dfs.h209 struct mlx5_modify_hdr *modify_hdr; member
255 struct mlx5_modify_hdr *modify_hdr);
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_ofld.c45 flow_act.modify_hdr = vport->ingress.offloads.modify_metadata; in esw_acl_ingress_prio_tag_create()
94 flow_act.modify_hdr = vport->ingress.offloads.modify_metadata; in esw_acl_ingress_mod_metadata_create()

123