Home
last modified time | relevance | path

Searched refs:mh_data (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpat_arg.c136 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 Dfs_hws.c755 struct mlx5_fs_hws_mh *mh_data; in mlx5_fs_fte_get_hws_actions() local
842 mh_data = fte_action->modify_hdr->fs_hws_action.mh_data; in mlx5_fs_fte_get_hws_actions()
1466 struct mlx5_fs_hws_mh *mh_data = NULL; in mlx5_cmd_hws_modify_header_alloc() local
1492 if (IS_ERR(mh_data)) { in mlx5_cmd_hws_modify_header_alloc()
1493 err = PTR_ERR(mh_data); in mlx5_cmd_hws_modify_header_alloc()
1496 hws_action = mh_data->bulk->hws_action; in mlx5_cmd_hws_modify_header_alloc()
1498 if (!mh_data->data) { in mlx5_cmd_hws_modify_header_alloc()
1502 modify_hdr->fs_hws_action.mh_data = mh_data; in mlx5_cmd_hws_modify_header_alloc()
1520 struct mlx5_fs_hws_mh *mh_data; in mlx5_cmd_hws_modify_header_dealloc() local
1528 mh_data = modify_hdr->fs_hws_action.mh_data; in mlx5_cmd_hws_modify_header_dealloc()
[all …]
H A Daction.c997 u8 *mh_data, in hws_action_prepare_decap_l3_actions() argument
1004 MLX5_SET(stc_ste_param_remove, mh_data, action_type, in hws_action_prepare_decap_l3_actions()
1006 MLX5_SET(stc_ste_param_remove, mh_data, decap, 0x1); in hws_action_prepare_decap_l3_actions()
1009 MLX5_SET(stc_ste_param_remove, mh_data, remove_end_anchor, in hws_action_prepare_decap_l3_actions()
1020 MLX5_SET(stc_ste_param_insert, mh_data, action_type, in hws_action_prepare_decap_l3_actions()
1023 MLX5_SET(stc_ste_param_insert, mh_data, insert_anchor, in hws_action_prepare_decap_l3_actions()
1025 MLX5_SET(stc_ste_param_insert, mh_data, insert_size, 2); in hws_action_prepare_decap_l3_actions()
1026 mh_data += MLX5HWS_ACTION_DOUBLE_SIZE; in hws_action_prepare_decap_l3_actions()
1048 u8 mh_data[MLX5HWS_ACTION_REFORMAT_DATA_SIZE] = {0}; in hws_action_handle_tunnel_l3_to_l2() local
1070 (__be64 *)mh_data, in hws_action_handle_tunnel_l3_to_l2()
[all …]
H A Dfs_hws_pools.c372 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()
H A Dfs_hws.h43 struct mlx5_fs_hws_mh *mh_data; member
H A Dfs_hws_pools.h67 struct mlx5_fs_hws_mh *mh_data);
H A Dpat_arg.h33 } mh_data; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_hmfs.c177 if (mh_action->mh_data) { in mlx5_ct_fs_hmfs_fill_rule_actions()
178 rule_actions[1].modify_header.offset = mh_action->mh_data->offset; in mlx5_ct_fs_hmfs_fill_rule_actions()
179 rule_actions[1].modify_header.data = mh_action->mh_data->data; in mlx5_ct_fs_hmfs_fill_rule_actions()