Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c908 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/hws/
H A Dcmd.c823 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()