Searched refs:reformat_id (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_cmd.c | 529 int reformat_id = 0; in mlx5_cmd_set_fte() local 585 reformat_id = mlx5_fs_dr_action_get_pkt_reformat_id(pkt_reformat); in mlx5_cmd_set_fte() 586 if (reformat_id < 0) { in mlx5_cmd_set_fte() 590 err = reformat_id; in mlx5_cmd_set_fte() 594 reformat_id = fte->action.pkt_reformat->id; in mlx5_cmd_set_fte() 598 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, (u32)reformat_id); in mlx5_cmd_set_fte()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_cmd.c | 535 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()
|
H A D | dr_action.c | 1212 hw_dests[i].vport.reformat_id = in mlx5dr_action_create_mult_dest_tbl() 1401 u32 reformat_id; in dr_action_create_reformat_action() local 1417 &reformat_id); in dr_action_create_reformat_action() 1421 action->reformat->id = reformat_id; in dr_action_create_reformat_action() 1465 &reformat_id); in dr_action_create_reformat_action() 1469 action->reformat->id = reformat_id; in dr_action_create_reformat_action()
|
H A D | dr_ste_v1.c | 388 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()
|
H A D | dr_types.h | 1358 u32 *reformat_id); 1360 u32 reformat_id); 1519 u32 reformat_id; member
|
H A D | dr_ste_v0.c | 357 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()
|