| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ipsec_fs.c | 58 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() 502 if (IS_ERR(modify_hdr)) { in rx_add_rule() 503 err = PTR_ERR(modify_hdr); in rx_add_rule() 506 modify_hdr = NULL; in rx_add_rule() 514 flow_act.modify_hdr = modify_hdr; in rx_add_rule() 525 ipsec_rule->set_modify_hdr = modify_hdr; in rx_add_rule() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | mod_hdr.c | 20 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()
|
| A D | tc_ct.c | 82 struct mlx5_modify_hdr *modify_hdr; member 691 if (IS_ERR(attr->modify_hdr)) { in mlx5_tc_ct_entry_create_mod_hdr() 692 err = PTR_ERR(attr->modify_hdr); in mlx5_tc_ct_entry_create_mod_hdr() 706 attr->modify_hdr = mlx5e_mod_hdr_get(*mh); in mlx5_tc_ct_entry_create_mod_hdr() 726 mlx5_modify_header_dealloc(ct_priv->dev, attr->modify_hdr); in mlx5_tc_ct_entry_destroy_mod_hdr() 1428 pre_ct->modify_hdr = mod_hdr; in tc_ct_pre_ct_add_rules() 1433 flow_act.modify_hdr = mod_hdr; in tc_ct_pre_ct_add_rules() 1470 mlx5_modify_header_dealloc(dev, pre_ct->modify_hdr); in tc_ct_pre_ct_add_rules() 1486 mlx5_modify_header_dealloc(dev, pre_ct->modify_hdr); in tc_ct_pre_ct_del_rules() 1854 pre_ct_attr->modify_hdr = mod_hdr; in __mlx5_tc_ct_flow_offload() [all …]
|
| A D | tc_tun_encap.c | 1326 mlx5_modify_header_dealloc(priv->mdev, attr->modify_hdr); in mlx5e_invalidate_encap() 1327 attr->modify_hdr = NULL; in mlx5e_invalidate_encap()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| A D | sample.c | 53 struct mlx5_modify_hdr *modify_hdr; member 236 struct mlx5_modify_hdr *modify_hdr; in sample_modify_hdr_get() local 253 if (IS_ERR(modify_hdr)) { in sample_modify_hdr_get() 254 err = PTR_ERR(modify_hdr); in sample_modify_hdr_get() 259 return modify_hdr; in sample_modify_hdr_get() 288 struct mlx5_modify_hdr *modify_hdr; in sample_restore_get() local 307 if (IS_ERR(modify_hdr)) { in sample_restore_get() 308 err = PTR_ERR(modify_hdr); in sample_restore_get() 311 restore->modify_hdr = modify_hdr; in sample_restore_get() 326 mlx5_modify_header_dealloc(mdev, restore->modify_hdr); in sample_restore_get() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_cmd.h | 90 struct mlx5_modify_hdr *modify_hdr); 93 struct mlx5_modify_hdr *modify_hdr);
|
| A D | fs_cmd.c | 129 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_stub_modify_header_alloc() argument 135 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_stub_modify_header_dealloc() argument 540 if (fte->action.modify_hdr) in mlx5_cmd_set_fte() 542 fte->action.modify_hdr->id); in mlx5_cmd_set_fte() 852 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_alloc() argument 913 modify_hdr->id = MLX5_GET(alloc_modify_header_context_out, out, modify_header_id); in mlx5_cmd_modify_header_alloc() 919 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_dealloc() argument 927 modify_hdr->id); in mlx5_cmd_modify_header_dealloc()
|
| A D | fs_core.c | 3213 struct mlx5_modify_hdr *modify_hdr; in mlx5_modify_header_alloc() local 3220 modify_hdr = kzalloc(sizeof(*modify_hdr), GFP_KERNEL); in mlx5_modify_header_alloc() 3221 if (!modify_hdr) in mlx5_modify_header_alloc() 3224 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc() 3226 modify_actions, modify_hdr); in mlx5_modify_header_alloc() 3228 kfree(modify_hdr); in mlx5_modify_header_alloc() 3232 return modify_hdr; in mlx5_modify_header_alloc() 3237 struct mlx5_modify_hdr *modify_hdr) in mlx5_modify_header_dealloc() argument 3241 root = get_root_namespace(dev, modify_hdr->ns_type); in mlx5_modify_header_dealloc() 3244 root->cmds->modify_header_dealloc(root, modify_hdr); in mlx5_modify_header_dealloc() [all …]
|
| A D | en_tc.h | 72 struct mlx5_modify_hdr *modify_hdr; member
|
| A D | en_tc.c | 436 struct mlx5_modify_hdr *modify_hdr; in mlx5e_attach_mod_hdr() local 445 modify_hdr = mlx5e_mod_hdr_get(mh); in mlx5e_attach_mod_hdr() 446 flow->attr->modify_hdr = modify_hdr; in mlx5e_attach_mod_hdr() 996 flow_act.modify_hdr = attr->modify_hdr; in mlx5e_add_offloaded_nic_rule() 1375 WARN_ON(flow->attr->modify_hdr); in mlx5e_tc_add_flow_mod_hdr() 1376 flow->attr->modify_hdr = mod_hdr; in mlx5e_tc_add_flow_mod_hdr() 1629 if (vf_tun && attr->modify_hdr) in mlx5e_tc_del_fdb_flow() 1630 mlx5_modify_header_dealloc(priv->mdev, attr->modify_hdr); in mlx5e_tc_del_fdb_flow()
|
| A D | eswitch_offloads.c | 574 flow_act.modify_hdr = attr->modify_hdr; in mlx5_eswitch_add_offloaded_rule() 1421 flow_act.modify_hdr = esw->offloads.restore_copy_hdr_id; in esw_add_restore_rule()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| A D | indir_table.c | 208 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()
|
| A D | bridge.c | 560 flow_act.modify_hdr = vlan->pkt_mod_hdr_push_mark; in mlx5_esw_bridge_ingress_flow_with_esw_create()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| A D | fs_dr.c | 341 fte->action.modify_hdr->action.dr_action; in mlx5_cmd_dr_create_fte() 601 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_alloc() argument 617 modify_hdr->action.dr_action = action; in mlx5_cmd_dr_modify_header_alloc() 623 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_dealloc() argument 625 mlx5dr_action_destroy(modify_hdr->action.dr_action); in mlx5_cmd_dr_modify_header_dealloc()
|
| A D | dr_cmd.c | 689 if (fte->action.modify_hdr) in mlx5dr_cmd_set_fte() 691 fte->action.modify_hdr->id); in mlx5dr_cmd_set_fte()
|
| /linux/include/linux/mlx5/ |
| A D | fs.h | 217 struct mlx5_modify_hdr *modify_hdr; member 267 struct mlx5_modify_hdr *modify_hdr);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| A D | ingress_ofld.c | 45 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()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| A D | fs.c | 167 action->modify_hdr = in parse_flow_flow_action() 168 maction->flow_action_raw.modify_hdr; in parse_flow_flow_action() 1891 maction->flow_action_raw.modify_hdr); in destroy_flow_action_raw() 2356 maction->flow_action_raw.modify_hdr = in mlx5_ib_create_modify_header() 2359 if (IS_ERR(maction->flow_action_raw.modify_hdr)) { in mlx5_ib_create_modify_header() 2360 ret = PTR_ERR(maction->flow_action_raw.modify_hdr); in mlx5_ib_create_modify_header()
|
| A D | mlx5_ib.h | 982 struct mlx5_modify_hdr *modify_hdr; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | fs_chains.c | 385 act.modify_hdr = chain->miss_modify_hdr; in mlx5_chains_add_miss_rule()
|