Searched refs:modify_hdr (Results 1 - 24 of 24) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.c49 struct mlx5_modify_hdr *modify_hdr; local
70 modify_hdr = mlx5_modify_header_alloc(mdev, MLX5_FLOW_NAMESPACE_FDB,
72 if (IS_ERR(modify_hdr)) {
73 err = PTR_ERR(modify_hdr);
78 flow_act->modify_hdr = modify_hdr;
H A Dindir_table.c130 flow_act.modify_hdr = mlx5_modify_header_alloc(esw->dev, MLX5_FLOW_NAMESPACE_FDB,
132 if (IS_ERR(flow_act.modify_hdr)) {
133 err = PTR_ERR(flow_act.modify_hdr);
154 rule->mh = flow_act.modify_hdr;
162 mlx5_modify_header_dealloc(esw->dev, flow_act.modify_hdr);
H A Dbridge.c609 flow_act.modify_hdr = vlan->pkt_mod_hdr_push_mark;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.c54 struct mlx5_modify_hdr *modify_hdr; member in struct:mlx5e_sample_restore
236 struct mlx5_modify_hdr *modify_hdr; local
244 modify_hdr = mlx5_modify_header_alloc(mdev, MLX5_FLOW_NAMESPACE_FDB,
247 if (IS_ERR(modify_hdr)) {
248 err = PTR_ERR(modify_hdr);
253 return modify_hdr;
268 struct mlx5_modify_hdr *modify_hdr; local
283 modify_hdr = sample_modify_hdr_get(mdev, obj_id, mod_acts);
284 if (IS_ERR(modify_hdr)) {
285 err = PTR_ERR(modify_hdr);
[all...]
H A Dct_fs_smfs.c321 actions[num_actions++] = attr->modify_hdr->action.dr_action;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmod_hdr.c20 struct mlx5_modify_hdr *modify_hdr; member in struct:mlx5e_mod_hdr_handle
118 mh->modify_hdr = mlx5_modify_header_alloc(mdev, namespace,
121 if (IS_ERR(mh->modify_hdr)) {
122 err = PTR_ERR(mh->modify_hdr);
149 mlx5_modify_header_dealloc(mdev, mh->modify_hdr);
156 return mh->modify_hdr;
H A Dtc_ct.c99 struct mlx5_modify_hdr *modify_hdr; member in struct:mlx5_tc_ct_pre
748 attr->modify_hdr = mlx5_modify_header_alloc(ct_priv->dev, ct_priv->ns_type,
751 if (IS_ERR(attr->modify_hdr)) {
752 err = PTR_ERR(attr->modify_hdr);
766 attr->modify_hdr = mlx5e_mod_hdr_get(*mh);
786 mlx5_modify_header_dealloc(ct_priv->dev, attr->modify_hdr);
1593 pre_ct->modify_hdr = mod_hdr;
1598 flow_act.modify_hdr = mod_hdr;
1635 mlx5_modify_header_dealloc(dev, pre_ct->modify_hdr);
1651 mlx5_modify_header_dealloc(dev, pre_ct->modify_hdr);
[all...]
H A Dtc_tun_encap.c1474 attr->modify_hdr = NULL;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.h90 struct mlx5_modify_hdr *modify_hdr);
93 struct mlx5_modify_hdr *modify_hdr);
H A Dfs_cmd.c131 struct mlx5_modify_hdr *modify_hdr)
137 struct mlx5_modify_hdr *modify_hdr)
600 if (fte->action.modify_hdr) {
601 if (fte->action.modify_hdr->owner == MLX5_FLOW_RESOURCE_OWNER_SW) {
602 mlx5_core_err(dev, "Can't use SW-owned modify_hdr in FW-owned table\n");
608 fte->action.modify_hdr->id);
949 struct mlx5_modify_hdr *modify_hdr)
1012 modify_hdr->id = MLX5_GET(alloc_modify_header_context_out, out, modify_header_id);
1013 modify_hdr->owner = MLX5_FLOW_RESOURCE_OWNER_FW;
1019 struct mlx5_modify_hdr *modify_hdr)
128 mlx5_cmd_stub_modify_header_alloc(struct mlx5_flow_root_namespace *ns, u8 namespace, u8 num_actions, void *modify_actions, struct mlx5_modify_hdr *modify_hdr) argument
136 mlx5_cmd_stub_modify_header_dealloc(struct mlx5_flow_root_namespace *ns, struct mlx5_modify_hdr *modify_hdr) argument
946 mlx5_cmd_modify_header_alloc(struct mlx5_flow_root_namespace *ns, u8 namespace, u8 num_actions, void *modify_actions, struct mlx5_modify_hdr *modify_hdr) argument
1018 mlx5_cmd_modify_header_dealloc(struct mlx5_flow_root_namespace *ns, struct mlx5_modify_hdr *modify_hdr) argument
[all...]
H A Dfs_core.c1759 act1->modify_hdr != act2->modify_hdr)
3613 struct mlx5_modify_hdr *modify_hdr; local
3620 modify_hdr = kzalloc(sizeof(*modify_hdr), GFP_KERNEL);
3621 if (!modify_hdr)
3624 modify_hdr->ns_type = ns_type;
3626 modify_actions, modify_hdr);
3628 kfree(modify_hdr);
3632 return modify_hdr;
3636 mlx5_modify_header_dealloc(struct mlx5_core_dev *dev, struct mlx5_modify_hdr *modify_hdr) argument
[all...]
H A Den_tc.h76 struct mlx5_modify_hdr *modify_hdr; member in struct:mlx5_flow_attr
H A Den_tc.c670 WARN_ON(attr->modify_hdr);
671 attr->modify_hdr = mlx5e_mod_hdr_get(mh);
1291 flow_act.modify_hdr = attr->modify_hdr;
1540 slow_attr->modify_hdr = mlx5e_mod_hdr_get(mh);
1589 slow_attr->modify_hdr = mlx5e_mod_hdr_get(slow_mh);
H A Deswitch_offloads.c727 flow_act.modify_hdr = attr->modify_hdr;
1433 flow_act.modify_hdr = esw->offloads.restore_copy_hdr_id;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c1328 struct mlx5_modify_hdr *modify_hdr; local
1351 modify_hdr = mlx5_modify_header_alloc(macsec_fs->mdev, MLX5_FLOW_NAMESPACE_KERNEL_RX_MACSEC,
1354 if (IS_ERR(modify_hdr)) {
1355 err = PTR_ERR(modify_hdr);
1362 flow_act.modify_hdr = modify_hdr;
1373 roce->copy_modify_hdr = modify_hdr;
1392 mlx5_modify_header_dealloc(macsec_fs->mdev, modify_hdr);
1736 struct mlx5_modify_hdr *modify_hdr = NULL; local
1772 modify_hdr
2200 struct mlx5_modify_hdr *modify_hdr = NULL; local
[all...]
H A Dfs_chains.c387 act.modify_hdr = chain->miss_modify_hdr;
/linux-master/include/linux/mlx5/
H A Dfs.h267 struct mlx5_modify_hdr *modify_hdr; member in struct:mlx5_flow_act
321 struct mlx5_modify_hdr *modify_hdr);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c754 mlx5_modify_header_dealloc(mdev, rx->status.modify_hdr);
1322 struct mlx5_modify_hdr *modify_hdr; local
1361 modify_hdr = mlx5_modify_header_alloc(mdev, ns_type, num_of_actions, action);
1362 if (IS_ERR(modify_hdr)) {
1364 PTR_ERR(modify_hdr));
1365 return PTR_ERR(modify_hdr);
1368 flow_act->modify_hdr = modify_hdr;
1672 sa_entry->ipsec_rule.modify_hdr = flow_act.modify_hdr;
[all...]
H A Dipsec.h198 struct mlx5_modify_hdr *modify_hdr; member in struct:mlx5e_ipsec_rule
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dfs_dr.c383 fte->action.modify_hdr->action.dr_action;
694 struct mlx5_modify_hdr *modify_hdr)
710 modify_hdr->owner = MLX5_FLOW_RESOURCE_OWNER_SW;
711 modify_hdr->action.dr_action = action;
717 struct mlx5_modify_hdr *modify_hdr)
719 mlx5dr_action_destroy(modify_hdr->action.dr_action);
691 mlx5_cmd_dr_modify_header_alloc(struct mlx5_flow_root_namespace *ns, u8 namespace, u8 num_actions, void *modify_actions, struct mlx5_modify_hdr *modify_hdr) argument
716 mlx5_cmd_dr_modify_header_dealloc(struct mlx5_flow_root_namespace *ns, struct mlx5_modify_hdr *modify_hdr) argument
H A Ddr_cmd.c848 if (fte->action.modify_hdr)
850 fte->action.modify_hdr->id);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_ofld.c45 flow_act.modify_hdr = vport->ingress.offloads.modify_metadata;
94 flow_act.modify_hdr = vport->ingress.offloads.modify_metadata;
/linux-master/drivers/infiniband/hw/mlx5/
H A Dfs.c155 action->modify_hdr =
156 maction->flow_action_raw.modify_hdr;
1691 maction->flow_action_raw.modify_hdr);
2497 maction->flow_action_raw.modify_hdr =
2500 if (IS_ERR(maction->flow_action_raw.modify_hdr)) {
2501 ret = PTR_ERR(maction->flow_action_raw.modify_hdr);
H A Dmlx5_ib.h1007 struct mlx5_modify_hdr *modify_hdr; member in union:mlx5_ib_flow_action::__anon66::__anon68::__anon69

Completed in 300 milliseconds