Home
last modified time | relevance | path

Searched refs:prctx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c539 void *prctx; in mlx5dr_cmd_create_reformat_ctx() local
555 prctx = MLX5_ADDR_OF(alloc_packet_reformat_context_in, in, packet_reformat_context); in mlx5dr_cmd_create_reformat_ctx()
556 pdata = MLX5_ADDR_OF(packet_reformat_context_in, prctx, reformat_data); in mlx5dr_cmd_create_reformat_ctx()
558 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, rt); in mlx5dr_cmd_create_reformat_ctx()
559 MLX5_SET(packet_reformat_context_in, prctx, reformat_param_0, reformat_param_0); in mlx5dr_cmd_create_reformat_ctx()
560 MLX5_SET(packet_reformat_context_in, prctx, reformat_param_1, reformat_param_1); in mlx5dr_cmd_create_reformat_ctx()
561 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 Dmlx5hws_cmd.c817 void *prctx; in mlx5hws_cmd_packet_reformat_create() local
833 prctx = MLX5_ADDR_OF(alloc_packet_reformat_context_in, in, 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()