Searched refs:pkt_reformat (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch_offloads_termtbl.c | 33 if (flow_act->pkt_reformat) in mlx5_eswitch_termtbl_hash() 34 hash = jhash(flow_act->pkt_reformat, in mlx5_eswitch_termtbl_hash() 35 sizeof(*flow_act->pkt_reformat), in mlx5_eswitch_termtbl_hash() 56 if (flow_act1->pkt_reformat && flow_act2->pkt_reformat) in mlx5_eswitch_termtbl_cmp() 57 return memcmp(flow_act1->pkt_reformat, flow_act2->pkt_reformat, in mlx5_eswitch_termtbl_cmp() 58 sizeof(*flow_act1->pkt_reformat)); in mlx5_eswitch_termtbl_cmp() 60 return !(flow_act1->pkt_reformat == flow_act2->pkt_reformat); in mlx5_eswitch_termtbl_cmp() 270 term_tbl_act.pkt_reformat = attr->dests[num_vport_dests].pkt_reformat; in mlx5_eswitch_add_termtbl_rule() 273 term_tbl_act.pkt_reformat = NULL; in mlx5_eswitch_add_termtbl_rule() 298 flow_act->pkt_reformat = NULL; in mlx5_eswitch_add_termtbl_rule()
|
| H A D | fs_cmd.c | 118 struct mlx5_pkt_reformat *pkt_reformat) in mlx5_cmd_stub_packet_reformat_alloc() argument 124 struct mlx5_pkt_reformat *pkt_reformat) in mlx5_cmd_stub_packet_reformat_dealloc() argument 609 if (!extended_dest && fte->act_dests.action.pkt_reformat) { in mlx5_cmd_set_fte() 610 struct mlx5_pkt_reformat *pkt_reformat = in mlx5_cmd_set_fte() local 611 fte->act_dests.action.pkt_reformat; in mlx5_cmd_set_fte() 613 err = mlx5_fs_get_packet_reformat_id(pkt_reformat, in mlx5_cmd_set_fte() 618 pkt_reformat->reformat_type); in mlx5_cmd_set_fte() 699 dst->dest_attr.vport.pkt_reformat) { in mlx5_cmd_set_fte() 706 dst->dest_attr.vport.pkt_reformat->id); in mlx5_cmd_set_fte() 904 struct mlx5_pkt_reformat *pkt_reformat) in mlx5_cmd_packet_reformat_alloc() argument [all …]
|
| H A D | fs_cmd.h | 82 struct mlx5_pkt_reformat *pkt_reformat); 85 struct mlx5_pkt_reformat *pkt_reformat);
|
| H A D | en_rep.h | 188 struct mlx5_pkt_reformat *pkt_reformat; member 210 struct mlx5_pkt_reformat *pkt_reformat; member
|
| H A D | fs_core.c | 1836 int mlx5_fs_get_packet_reformat_id(struct mlx5_pkt_reformat *pkt_reformat, in mlx5_fs_get_packet_reformat_id() argument 1839 switch (pkt_reformat->owner) { in mlx5_fs_get_packet_reformat_id() 1841 *id = pkt_reformat->id; in mlx5_fs_get_packet_reformat_id() 1844 return mlx5_fs_dr_action_get_pkt_reformat_id(pkt_reformat, id); in mlx5_fs_get_packet_reformat_id() 1846 return mlx5_fs_hws_action_get_pkt_reformat_id(pkt_reformat, id); in mlx5_fs_get_packet_reformat_id() 1878 mlx5_pkt_reformat_cmp(d1->vport.pkt_reformat, in mlx5_flow_dests_cmp() 1879 d2->vport.pkt_reformat) : true)) || in mlx5_flow_dests_cmp() 1945 act1->pkt_reformat != act2->pkt_reformat) in check_conflicting_actions() 4173 struct mlx5_pkt_reformat *pkt_reformat; in mlx5_packet_reformat_alloc() local 4181 pkt_reformat = kzalloc(sizeof(*pkt_reformat), GFP_KERNEL); in mlx5_packet_reformat_alloc() [all …]
|
| H A D | fs_core.h | 376 int mlx5_fs_get_packet_reformat_id(struct mlx5_pkt_reformat *pkt_reformat,
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | fs_hws.c | 799 int reformat_type = fte_action->pkt_reformat->reformat_type; in mlx5_fs_fte_get_hws_actions() 801 if (fte_action->pkt_reformat->owner == MLX5_FLOW_RESOURCE_OWNER_FW) { in mlx5_fs_fte_get_hws_actions() 808 pr_data = fte_action->pkt_reformat->fs_hws_action.pr_data; in mlx5_fs_fte_get_hws_actions() 813 fte_action->pkt_reformat->fs_hws_action.hws_action; in mlx5_fs_fte_get_hws_actions() 816 fte_action->pkt_reformat->fs_hws_action.hws_action; in mlx5_fs_fte_get_hws_actions() 871 pr_data = fte_action->pkt_reformat->fs_hws_action.pr_data; in mlx5_fs_fte_get_hws_actions() 875 fte_action->pkt_reformat->fs_hws_action.hws_action; in mlx5_fs_fte_get_hws_actions() 1273 struct mlx5_pkt_reformat *pkt_reformat) in mlx5_cmd_hws_packet_reformat_alloc() argument 1353 pkt_reformat->fs_hws_action.pr_data = pr_data; in mlx5_cmd_hws_packet_reformat_alloc() 1356 mutex_init(&pkt_reformat->fs_hws_action.lock); in mlx5_cmd_hws_packet_reformat_alloc() [all …]
|
| /linux/include/linux/mlx5/ |
| H A D | fs.h | 195 struct mlx5_pkt_reformat *pkt_reformat; member 296 struct mlx5_pkt_reformat *pkt_reformat; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec_fs.c | 1925 struct mlx5_pkt_reformat *pkt_reformat; in setup_pkt_reformat() local 1942 pkt_reformat = in setup_pkt_reformat() 1945 if (IS_ERR(pkt_reformat)) in setup_pkt_reformat() 1946 return PTR_ERR(pkt_reformat); in setup_pkt_reformat() 1948 flow_act->pkt_reformat = pkt_reformat; in setup_pkt_reformat() 2132 sa_entry->ipsec_rule.pkt_reformat = flow_act.pkt_reformat; in rx_add_rule() 2150 if (flow_act.pkt_reformat) in rx_add_rule() 2151 mlx5_packet_reformat_dealloc(mdev, flow_act.pkt_reformat); in rx_add_rule() 2238 sa_entry->ipsec_rule.pkt_reformat = flow_act.pkt_reformat; in tx_add_rule() 2244 if (flow_act.pkt_reformat) in tx_add_rule() [all …]
|
| H A D | ipsec.h | 213 struct mlx5_pkt_reformat *pkt_reformat; member
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | fs.c | 179 action->pkt_reformat = in parse_flow_flow_action() 180 maction->flow_action_raw.pkt_reformat; in parse_flow_flow_action() 2235 maction->flow_action_raw.pkt_reformat); in destroy_flow_action_raw() 3223 maction->flow_action_raw.pkt_reformat = in mlx5_ib_flow_action_create_packet_reformat_ctx() 3226 if (IS_ERR(maction->flow_action_raw.pkt_reformat)) { in mlx5_ib_flow_action_create_packet_reformat_ctx() 3227 ret = PTR_ERR(maction->flow_action_raw.pkt_reformat); in mlx5_ib_flow_action_create_packet_reformat_ctx()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | bridge_mcast.c | 595 flow_act.pkt_reformat = vlan->pkt_reformat_pop; in mlx5_esw_bridge_mcast_vlan_flow_create()
|