| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_ste_v3.c | 8 u32 reformat_id, int size) in dr_ste_v3_set_encap() argument 14 MLX5_SET(ste_double_action_insert_with_ptr_v3, d_action, pointer, reformat_id); in dr_ste_v3_set_encap() 49 u32 reformat_id, in dr_ste_v3_set_encap_l3() argument 63 MLX5_SET(ste_double_action_insert_with_ptr_v3, scnd_d_action, pointer, reformat_id); in dr_ste_v3_set_encap_l3() 83 u32 reformat_id, u8 anchor, in dr_ste_v3_set_insert_hdr() argument 98 pointer, reformat_id); in dr_ste_v3_set_insert_hdr()
|
| H A D | dr_ste_v1.h | 153 void dr_ste_v1_set_encap(u8 *hw_ste_p, u8 *d_action, u32 reformat_id, int size); 157 u32 reformat_id, int size); 159 void dr_ste_v1_set_insert_hdr(u8 *hw_ste_p, u8 *d_action, u32 reformat_id,
|
| H A D | dr_ste.h | 204 u32 reformat_id, int size); 211 u8 *scnd_d_action, u32 reformat_id, 213 void (*set_insert_hdr)(u8 *hw_ste_p, u8 *d_action, u32 reformat_id,
|
| 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 | 1222 hw_dests[i].vport.reformat_id = in mlx5dr_action_create_mult_dest_tbl() 1429 u32 reformat_id; in dr_action_create_reformat_action() local 1445 &reformat_id); in dr_action_create_reformat_action() 1449 action->reformat->id = reformat_id; in dr_action_create_reformat_action() 1493 &reformat_id); in dr_action_create_reformat_action() 1497 action->reformat->id = reformat_id; in dr_action_create_reformat_action()
|
| H A D | dr_ste_v1.c | 257 void dr_ste_v1_set_encap(u8 *hw_ste_p, u8 *d_action, u32 reformat_id, int size) in dr_ste_v1_set_encap() argument 263 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, pointer, reformat_id); in dr_ste_v1_set_encap() 270 u32 reformat_id, in dr_ste_v1_set_insert_hdr() argument 282 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, pointer, reformat_id); in dr_ste_v1_set_insert_hdr() 331 u32 reformat_id, int size) in dr_ste_v1_set_encap_l3() argument 344 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 | 1355 u32 *reformat_id); 1357 u32 reformat_id); 1520 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()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | cmd.h | 312 u32 *reformat_id); 315 u32 reformat_id);
|
| H A D | cmd.c | 813 u32 *reformat_id) in mlx5hws_cmd_packet_reformat_create() argument 848 *reformat_id = MLX5_GET(alloc_packet_reformat_context_out, out, packet_reformat_id); in mlx5hws_cmd_packet_reformat_create() 855 u32 reformat_id) in mlx5hws_cmd_packet_reformat_destroy() argument 864 packet_reformat_id, reformat_id); in mlx5hws_cmd_packet_reformat_destroy()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_cmd.c | 530 int reformat_id = 0; in mlx5_cmd_set_fte() local 586 reformat_id = mlx5_fs_dr_action_get_pkt_reformat_id(pkt_reformat); in mlx5_cmd_set_fte() 587 if (reformat_id < 0) { in mlx5_cmd_set_fte() 591 err = reformat_id; in mlx5_cmd_set_fte() 595 reformat_id = fte->act_dests.action.pkt_reformat->id; in mlx5_cmd_set_fte() 599 MLX5_SET(flow_context, in_flow_context, packet_reformat_id, (u32)reformat_id); in mlx5_cmd_set_fte()
|