Home
last modified time | relevance | path

Searched refs:reformat_id (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c529 int reformat_id = 0; in mlx5_cmd_set_fte() local
583 reformat_id = mlx5_fs_dr_action_get_pkt_reformat_id(pkt_reformat); in mlx5_cmd_set_fte()
584 if (reformat_id < 0) { in mlx5_cmd_set_fte()
588 err = reformat_id; in mlx5_cmd_set_fte()
592 reformat_id = fte->action.pkt_reformat->id; in mlx5_cmd_set_fte()
596 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, (u32)reformat_id); in mlx5_cmd_set_fte()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c535 u32 *reformat_id) in mlx5dr_cmd_create_reformat_ctx() argument
569 *reformat_id = MLX5_GET(alloc_packet_reformat_context_out, out, packet_reformat_id); in mlx5dr_cmd_create_reformat_ctx()
577 u32 reformat_id) in mlx5dr_cmd_destroy_reformat_ctx() argument
584 reformat_id); in mlx5dr_cmd_destroy_reformat_ctx()
918 fte->dest_arr[i].vport.reformat_id); in mlx5dr_cmd_set_fte()
Ddr_action.c1205 hw_dests[i].vport.reformat_id = in mlx5dr_action_create_mult_dest_tbl()
1394 u32 reformat_id; in dr_action_create_reformat_action() local
1410 &reformat_id); in dr_action_create_reformat_action()
1414 action->reformat->id = reformat_id; in dr_action_create_reformat_action()
1458 &reformat_id); in dr_action_create_reformat_action()
1462 action->reformat->id = reformat_id; in dr_action_create_reformat_action()
Ddr_ste_v1.c388 u32 reformat_id, int size) in dr_ste_v1_set_encap() argument
394 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, pointer, reformat_id); in dr_ste_v1_set_encap()
401 u32 reformat_id, in dr_ste_v1_set_insert_hdr() argument
413 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, pointer, reformat_id); in dr_ste_v1_set_insert_hdr()
465 u32 reformat_id, in dr_ste_v1_set_encap_l3() argument
479 MLX5_SET(ste_double_action_insert_with_ptr_v1, scnd_d_action, pointer, reformat_id); in dr_ste_v1_set_encap_l3()
Ddr_types.h1358 u32 *reformat_id);
1360 u32 reformat_id);
1519 u32 reformat_id; member
Ddr_ste_v0.c357 static void dr_ste_v0_set_tx_encap(void *hw_ste_p, u32 reformat_id, in dr_ste_v0_set_tx_encap() argument
364 MLX5_SET(ste_sx_transmit, hw_ste_p, encap_pointer_vlan_data, reformat_id); in dr_ste_v0_set_tx_encap()