Searched refs:actions_size (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | mod_hdr.c | 76 int num_actions, actions_size, err; in mlx5e_mod_hdr_attach() local 82 actions_size = MLX5_MH_ACT_SZ * num_actions; in mlx5e_mod_hdr_attach() 102 mh = kzalloc(sizeof(*mh) + actions_size, GFP_KERNEL); in mlx5e_mod_hdr_attach() 109 memcpy(mh->key.actions, key.actions, actions_size); in mlx5e_mod_hdr_attach()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 762 int max_actions, actions_size, inlen, err; in mlx5_cmd_modify_header_alloc() local 803 actions_size = MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto) * num_actions; in mlx5_cmd_modify_header_alloc() 804 inlen = MLX5_ST_SZ_BYTES(alloc_modify_header_context_in) + actions_size; in mlx5_cmd_modify_header_alloc() 816 memcpy(actions_in, modify_actions, actions_size); in mlx5_cmd_modify_header_alloc()
|