Searched refs:mh_data (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | pat_arg.c | 136 if (mlx5hws_pat_compare_pattern(cached_pat->mh_data.num_of_actions, in mlx5hws_pat_find_cached_pattern() 137 (__be64 *)cached_pat->mh_data.data, in mlx5hws_pat_find_cached_pattern() 175 cached_pattern->mh_data.num_of_actions = num_of_actions; in mlx5hws_pat_add_pattern_to_cache() 176 cached_pattern->mh_data.pattern_id = pattern_id; in mlx5hws_pat_add_pattern_to_cache() 177 cached_pattern->mh_data.data = in mlx5hws_pat_add_pattern_to_cache() 179 if (!cached_pattern->mh_data.data) in mlx5hws_pat_add_pattern_to_cache() 199 if (cached_pattern->mh_data.pattern_id == ptrn_id) in mlx5hws_pat_find_cached_pattern_by_id() 211 kfree(cached_pattern->mh_data.data); in mlx5hws_pat_remove_pattern() 253 *pattern_id = cached_pattern->mh_data.pattern_id; in mlx5hws_pat_get_pattern()
|
| H A D | fs_hws.c | 754 struct mlx5_fs_hws_mh *mh_data; in mlx5_fs_fte_get_hws_actions() local 841 mh_data = fte_action->modify_hdr->fs_hws_action.mh_data; in mlx5_fs_fte_get_hws_actions() 842 (*ractions)[num_actions].modify_header.offset = mh_data->offset; in mlx5_fs_fte_get_hws_actions() 843 (*ractions)[num_actions].modify_header.data = mh_data->data; in mlx5_fs_fte_get_hws_actions() 1467 struct mlx5_fs_hws_mh *mh_data = NULL; in mlx5_cmd_hws_modify_header_alloc() local 1492 mh_data = mlx5_fs_hws_mh_pool_acquire_mh(pool); in mlx5_cmd_hws_modify_header_alloc() 1493 if (IS_ERR(mh_data)) { in mlx5_cmd_hws_modify_header_alloc() 1494 err = PTR_ERR(mh_data); in mlx5_cmd_hws_modify_header_alloc() 1497 hws_action = mh_data->bulk->hws_action; in mlx5_cmd_hws_modify_header_alloc() 1498 mh_data->data = kmemdup(pattern.data, pattern.sz, GFP_KERNEL); in mlx5_cmd_hws_modify_header_alloc() [all …]
|
| H A D | action.c | 1001 u8 *mh_data, in hws_action_prepare_decap_l3_actions() argument 1008 MLX5_SET(stc_ste_param_remove, mh_data, action_type, in hws_action_prepare_decap_l3_actions() 1010 MLX5_SET(stc_ste_param_remove, mh_data, decap, 0x1); in hws_action_prepare_decap_l3_actions() 1011 MLX5_SET(stc_ste_param_remove, mh_data, remove_start_anchor, in hws_action_prepare_decap_l3_actions() 1013 MLX5_SET(stc_ste_param_remove, mh_data, remove_end_anchor, in hws_action_prepare_decap_l3_actions() 1015 mh_data += MLX5HWS_ACTION_DOUBLE_SIZE; /* Assume every action is 2 dw */ in hws_action_prepare_decap_l3_actions() 1024 MLX5_SET(stc_ste_param_insert, mh_data, action_type, in hws_action_prepare_decap_l3_actions() 1026 MLX5_SET(stc_ste_param_insert, mh_data, inline_data, 0x1); in hws_action_prepare_decap_l3_actions() 1027 MLX5_SET(stc_ste_param_insert, mh_data, insert_anchor, in hws_action_prepare_decap_l3_actions() 1029 MLX5_SET(stc_ste_param_insert, mh_data, insert_size, 2); in hws_action_prepare_decap_l3_actions() [all …]
|
| H A D | fs_hws_pools.c | 372 struct mlx5_fs_hws_mh *mh_data) in mlx5_fs_hws_mh_pool_release_mh() argument 374 struct mlx5_fs_bulk *fs_bulk = &mh_data->bulk->fs_bulk; in mlx5_fs_hws_mh_pool_release_mh() 379 pool_index.index = mh_data->offset; in mlx5_fs_hws_mh_pool_release_mh()
|