/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
A D | sample.c | 54 struct mlx5_modify_hdr *modify_hdr; member 236 struct mlx5_modify_hdr *modify_hdr; in sample_modify_hdr_get() local 247 if (IS_ERR(modify_hdr)) { in sample_modify_hdr_get() 248 err = PTR_ERR(modify_hdr); in sample_modify_hdr_get() 253 return modify_hdr; in sample_modify_hdr_get() 268 struct mlx5_modify_hdr *modify_hdr; in sample_restore_get() local 284 if (IS_ERR(modify_hdr)) { in sample_restore_get() 285 err = PTR_ERR(modify_hdr); in sample_restore_get() 288 restore->modify_hdr = modify_hdr; in sample_restore_get() 303 mlx5_modify_header_dealloc(mdev, restore->modify_hdr); in sample_restore_get() [all …]
|
A D | ct_fs_smfs.c | 316 actions[num_actions++] = attr->modify_hdr->action.dr_action; in mlx5_ct_fs_smfs_ct_rule_add()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ipsec_fs.c | 75 struct mlx5_modify_hdr *modify_hdr; in ipsec_status_rule() local 95 if (IS_ERR(modify_hdr)) { in ipsec_status_rule() 96 err = PTR_ERR(modify_hdr); in ipsec_status_rule() 106 flow_act.modify_hdr = modify_hdr; in ipsec_status_rule() 116 rx->status.modify_hdr = modify_hdr; in ipsec_status_rule() 552 if (IS_ERR(modify_hdr)) { in setup_modify_header() 554 PTR_ERR(modify_hdr)); in setup_modify_header() 555 return PTR_ERR(modify_hdr); in setup_modify_header() 558 flow_act->modify_hdr = modify_hdr; in setup_modify_header() 667 sa_entry->ipsec_rule.modify_hdr = flow_act.modify_hdr; in rx_add_rule() [all …]
|
A D | macsec_fs.c | 1120 struct mlx5_modify_hdr *modify_hdr = NULL; in macsec_fs_rx_add_rule() local 1156 modify_hdr = mlx5_modify_header_alloc(macsec_fs->mdev, MLX5_FLOW_NAMESPACE_KERNEL_RX_MACSEC, in macsec_fs_rx_add_rule() 1158 if (IS_ERR(modify_hdr)) { in macsec_fs_rx_add_rule() 1159 err = PTR_ERR(modify_hdr); in macsec_fs_rx_add_rule() 1161 modify_hdr = NULL; in macsec_fs_rx_add_rule() 1164 rx_rule->meta_modhdr = modify_hdr; in macsec_fs_rx_add_rule() 1169 flow_act.modify_hdr = modify_hdr; in macsec_fs_rx_add_rule() 1194 flow_act.modify_hdr = modify_hdr; in macsec_fs_rx_add_rule()
|
A D | ipsec.h | 162 struct mlx5_modify_hdr *modify_hdr; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | mod_hdr.c | 20 struct mlx5_modify_hdr *modify_hdr; member 118 mh->modify_hdr = mlx5_modify_header_alloc(mdev, namespace, in mlx5e_mod_hdr_attach() 121 if (IS_ERR(mh->modify_hdr)) { in mlx5e_mod_hdr_attach() 122 err = PTR_ERR(mh->modify_hdr); in mlx5e_mod_hdr_attach() 149 mlx5_modify_header_dealloc(mdev, mh->modify_hdr); in mlx5e_mod_hdr_detach() 156 return mh->modify_hdr; in mlx5e_mod_hdr_get()
|
A D | tc_ct.c | 105 struct mlx5_modify_hdr *modify_hdr; member 763 if (IS_ERR(attr->modify_hdr)) { in mlx5_tc_ct_entry_create_mod_hdr() 764 err = PTR_ERR(attr->modify_hdr); in mlx5_tc_ct_entry_create_mod_hdr() 778 attr->modify_hdr = mlx5e_mod_hdr_get(*mh); in mlx5_tc_ct_entry_create_mod_hdr() 798 mlx5_modify_header_dealloc(ct_priv->dev, attr->modify_hdr); in mlx5_tc_ct_entry_destroy_mod_hdr() 1604 pre_ct->modify_hdr = mod_hdr; in tc_ct_pre_ct_add_rules() 1609 flow_act.modify_hdr = mod_hdr; in tc_ct_pre_ct_add_rules() 1646 mlx5_modify_header_dealloc(dev, pre_ct->modify_hdr); in tc_ct_pre_ct_add_rules() 1662 mlx5_modify_header_dealloc(dev, pre_ct->modify_hdr); in tc_ct_pre_ct_del_rules() 2036 pre_ct_attr->modify_hdr = mod_hdr; in __mlx5_tc_ct_flow_offload() [all …]
|
A D | tc_tun_encap.c | 1354 attr->modify_hdr = NULL; in mlx5e_invalidate_encap()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | indir_table.c | 130 flow_act.modify_hdr = mlx5_modify_header_alloc(esw->dev, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get() 132 if (IS_ERR(flow_act.modify_hdr)) { in mlx5_esw_indir_table_rule_get() 133 err = PTR_ERR(flow_act.modify_hdr); in mlx5_esw_indir_table_rule_get() 154 rule->mh = flow_act.modify_hdr; in mlx5_esw_indir_table_rule_get() 162 mlx5_modify_header_dealloc(esw->dev, flow_act.modify_hdr); in mlx5_esw_indir_table_rule_get()
|
A D | bridge.c | 694 flow_act.modify_hdr = vlan->pkt_mod_hdr_push_mark; in mlx5_esw_bridge_ingress_flow_with_esw_create()
|
/linux-6.3-rc2/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 | 131 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_stub_modify_header_alloc() argument 137 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_stub_modify_header_dealloc() argument 569 if (fte->action.modify_hdr) in mlx5_cmd_set_fte() 571 fte->action.modify_hdr->id); in mlx5_cmd_set_fte() 909 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_alloc() argument 971 modify_hdr->id = MLX5_GET(alloc_modify_header_context_out, out, modify_header_id); in mlx5_cmd_modify_header_alloc() 977 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_modify_header_dealloc() argument 985 modify_hdr->id); in mlx5_cmd_modify_header_dealloc()
|
A D | fs_core.c | 1672 act1->modify_hdr != act2->modify_hdr) in check_conflicting_actions() 3497 struct mlx5_modify_hdr *modify_hdr; in mlx5_modify_header_alloc() local 3504 modify_hdr = kzalloc(sizeof(*modify_hdr), GFP_KERNEL); in mlx5_modify_header_alloc() 3505 if (!modify_hdr) in mlx5_modify_header_alloc() 3508 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc() 3510 modify_actions, modify_hdr); in mlx5_modify_header_alloc() 3512 kfree(modify_hdr); in mlx5_modify_header_alloc() 3516 return modify_hdr; in mlx5_modify_header_alloc() 3521 struct mlx5_modify_hdr *modify_hdr) in mlx5_modify_header_dealloc() argument 3525 root = get_root_namespace(dev, modify_hdr->ns_type); in mlx5_modify_header_dealloc() [all …]
|
A D | en_tc.h | 76 struct mlx5_modify_hdr *modify_hdr; member
|
A D | en_tc.c | 685 WARN_ON(attr->modify_hdr); in mlx5e_tc_attach_mod_hdr() 686 attr->modify_hdr = mlx5e_mod_hdr_get(mh); in mlx5e_tc_attach_mod_hdr() 1305 flow_act.modify_hdr = attr->modify_hdr; in mlx5e_add_offloaded_nic_rule() 1561 slow_attr->modify_hdr = mlx5e_mod_hdr_get(mh); in mlx5e_tc_offload_to_slow_path() 1610 slow_attr->modify_hdr = mlx5e_mod_hdr_get(slow_mh); in mlx5e_tc_unoffload_from_slow_path()
|
A D | eswitch_offloads.c | 629 flow_act.modify_hdr = attr->modify_hdr; in mlx5_eswitch_add_offloaded_rule() 1252 flow_act.modify_hdr = esw->offloads.restore_copy_hdr_id; in esw_add_restore_rule()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
A D | fs_dr.c | 368 fte->action.modify_hdr->action.dr_action; in mlx5_cmd_dr_create_fte() 678 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_alloc() argument 694 modify_hdr->action.dr_action = action; in mlx5_cmd_dr_modify_header_alloc() 700 struct mlx5_modify_hdr *modify_hdr) in mlx5_cmd_dr_modify_header_dealloc() argument 702 mlx5dr_action_destroy(modify_hdr->action.dr_action); in mlx5_cmd_dr_modify_header_dealloc()
|
A D | dr_cmd.c | 783 if (fte->action.modify_hdr) in mlx5dr_cmd_set_fte() 785 fte->action.modify_hdr->id); in mlx5dr_cmd_set_fte()
|
/linux-6.3-rc2/include/linux/mlx5/ |
A D | fs.h | 261 struct mlx5_modify_hdr *modify_hdr; member 315 struct mlx5_modify_hdr *modify_hdr);
|
/linux-6.3-rc2/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-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | fs.c | 155 action->modify_hdr = in parse_flow_flow_action() 156 maction->flow_action_raw.modify_hdr; in parse_flow_flow_action() 1693 maction->flow_action_raw.modify_hdr); in destroy_flow_action_raw() 2235 maction->flow_action_raw.modify_hdr = in mlx5_ib_create_modify_header() 2238 if (IS_ERR(maction->flow_action_raw.modify_hdr)) { in mlx5_ib_create_modify_header() 2239 ret = PTR_ERR(maction->flow_action_raw.modify_hdr); in mlx5_ib_create_modify_header()
|
A D | mlx5_ib.h | 976 struct mlx5_modify_hdr *modify_hdr; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | fs_chains.c | 386 act.modify_hdr = chain->miss_modify_hdr; in mlx5_chains_add_miss_rule()
|