Searched refs:rtc_attr (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | mlx5hws_matcher.c | 207 struct mlx5hws_cmd_rtc_create_attr *rtc_attr, in hws_matcher_set_rtc_attr_sz() argument 218 rtc_attr->log_size = 0; in hws_matcher_set_rtc_attr_sz() 219 rtc_attr->log_depth = 0; in hws_matcher_set_rtc_attr_sz() 222 rtc_attr->log_size = is_match_rtc ? matcher->attr.table.sz_row_log : ste->order; in hws_matcher_set_rtc_attr_sz() 223 rtc_attr->log_depth = is_match_rtc ? matcher->attr.table.sz_col_log : 0; in hws_matcher_set_rtc_attr_sz() 232 struct mlx5hws_cmd_rtc_create_attr rtc_attr = {0}; in hws_matcher_create_rtc() local 252 rtc_attr.log_size = attr->table.sz_row_log; in hws_matcher_create_rtc() 253 rtc_attr.log_depth = attr->table.sz_col_log; in hws_matcher_create_rtc() 254 rtc_attr.is_frst_jumbo = mlx5hws_matcher_mt_is_jumbo(mt); in hws_matcher_create_rtc() 255 rtc_attr.is_scnd_range = 0; in hws_matcher_create_rtc() [all …]
|
H A D | mlx5hws_cmd.c | 372 struct mlx5hws_cmd_rtc_create_attr *rtc_attr, in mlx5hws_cmd_rtc_create() argument 387 MLX5_SET(rtc, attr, ste_format_0, rtc_attr->is_frst_jumbo ? in mlx5hws_cmd_rtc_create() 391 if (rtc_attr->is_scnd_range) { in mlx5hws_cmd_rtc_create() 396 MLX5_SET(rtc, attr, pd, rtc_attr->pd); in mlx5hws_cmd_rtc_create() 397 MLX5_SET(rtc, attr, update_method, rtc_attr->fw_gen_wqe); in mlx5hws_cmd_rtc_create() 398 MLX5_SET(rtc, attr, update_index_mode, rtc_attr->update_index_mode); in mlx5hws_cmd_rtc_create() 399 MLX5_SET(rtc, attr, access_index_mode, rtc_attr->access_index_mode); in mlx5hws_cmd_rtc_create() 400 MLX5_SET(rtc, attr, num_hash_definer, rtc_attr->num_hash_definer); in mlx5hws_cmd_rtc_create() 401 MLX5_SET(rtc, attr, log_depth, rtc_attr->log_depth); in mlx5hws_cmd_rtc_create() 402 MLX5_SET(rtc, attr, log_hash_size, rtc_attr->log_size); in mlx5hws_cmd_rtc_create() [all …]
|
H A D | mlx5hws_action.c | 1584 struct mlx5hws_cmd_rtc_create_attr rtc_attr = {0}; in hws_action_create_dest_match_range_table() local 1623 rtc_attr.log_size = 0; in hws_action_create_dest_match_range_table() 1624 rtc_attr.log_depth = 0; in hws_action_create_dest_match_range_table() 1625 rtc_attr.miss_ft_id = miss_ft_id; in hws_action_create_dest_match_range_table() 1626 rtc_attr.num_hash_definer = 1; in hws_action_create_dest_match_range_table() 1627 rtc_attr.update_index_mode = MLX5_IFC_RTC_STE_UPDATE_MODE_BY_HASH; in hws_action_create_dest_match_range_table() 1628 rtc_attr.access_index_mode = MLX5_IFC_RTC_STE_ACCESS_MODE_BY_HASH; in hws_action_create_dest_match_range_table() 1629 rtc_attr.match_definer_0 = ctx->caps->trivial_match_definer; in hws_action_create_dest_match_range_table() 1630 rtc_attr.fw_gen_wqe = true; in hws_action_create_dest_match_range_table() 1631 rtc_attr.is_scnd_range = true; in hws_action_create_dest_match_range_table() [all …]
|
H A D | mlx5hws_cmd.h | 265 struct mlx5hws_cmd_rtc_create_attr *rtc_attr,
|