Searched refs:packet_reformat_context_in (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_cmd.c | 908 void *packet_reformat_context_in; in mlx5_cmd_packet_reformat_alloc() local 932 packet_reformat_context_in = MLX5_ADDR_OF(alloc_packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc() 934 reformat = MLX5_ADDR_OF(packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc() 935 packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc() 941 MLX5_SET(packet_reformat_context_in, packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc() 943 MLX5_SET(packet_reformat_context_in, packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc() 945 MLX5_SET(packet_reformat_context_in, packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc() 947 MLX5_SET(packet_reformat_context_in, packet_reformat_context_in, in mlx5_cmd_packet_reformat_alloc()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_cmd.c | 544 pdata = MLX5_ADDR_OF(packet_reformat_context_in, prctx, reformat_data); in mlx5dr_cmd_create_reformat_ctx() 546 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, rt); in mlx5dr_cmd_create_reformat_ctx() 547 MLX5_SET(packet_reformat_context_in, prctx, reformat_param_0, reformat_param_0); in mlx5dr_cmd_create_reformat_ctx() 548 MLX5_SET(packet_reformat_context_in, prctx, reformat_param_1, reformat_param_1); in mlx5dr_cmd_create_reformat_ctx() 549 MLX5_SET(packet_reformat_context_in, prctx, reformat_data_size, reformat_size); in mlx5dr_cmd_create_reformat_ctx()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | cmd.c | 823 cmd_total_sz += MLX5_ST_SZ_BYTES(packet_reformat_context_in); in mlx5hws_cmd_packet_reformat_create() 824 cmd_data_sz = MLX5_FLD_SZ_BYTES(packet_reformat_context_in, reformat_data); in mlx5hws_cmd_packet_reformat_create() 835 pdata = MLX5_ADDR_OF(packet_reformat_context_in, prctx, reformat_data); in mlx5hws_cmd_packet_reformat_create() 837 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, attr->type); in mlx5hws_cmd_packet_reformat_create() 838 MLX5_SET(packet_reformat_context_in, prctx, reformat_param_0, attr->reformat_param_0); in mlx5hws_cmd_packet_reformat_create() 839 MLX5_SET(packet_reformat_context_in, prctx, reformat_data_size, attr->data_sz); in mlx5hws_cmd_packet_reformat_create()
|