Searched refs:rtc_attr (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | action_ste_pool.c | 48 struct mlx5hws_cmd_rtc_create_attr rtc_attr = { 0 }; in hws_action_ste_table_create_single_rtc() local 51 rtc_attr.log_depth = 0; in hws_action_ste_table_create_single_rtc() 52 rtc_attr.update_index_mode = MLX5_IFC_RTC_STE_UPDATE_MODE_BY_OFFSET; in hws_action_ste_table_create_single_rtc() 54 rtc_attr.match_definer_0 = ctx->caps->trivial_match_definer; in hws_action_ste_table_create_single_rtc() 55 rtc_attr.is_frst_jumbo = false; in hws_action_ste_table_create_single_rtc() 56 rtc_attr.miss_ft_id = 0; in hws_action_ste_table_create_single_rtc() 57 rtc_attr.pd = ctx->pd_num; in hws_action_ste_table_create_single_rtc() 58 rtc_attr.reparse_mode = mlx5hws_context_get_reparse_mode(ctx); in hws_action_ste_table_create_single_rtc() 61 rtc_attr.table_type = FS_FT_FDB_TX; in hws_action_ste_table_create_single_rtc() 62 rtc_attr.ste_base = in hws_action_ste_table_create_single_rtc() [all …]
|
| H A D | matcher.c | 455 struct mlx5hws_cmd_rtc_create_attr *rtc_attr, in hws_matcher_set_rtc_attr_sz() argument 463 rtc_attr->log_size = 0; in hws_matcher_set_rtc_attr_sz() 464 rtc_attr->log_depth = 0; in hws_matcher_set_rtc_attr_sz() 471 struct mlx5hws_cmd_rtc_create_attr rtc_attr = {0}; in hws_matcher_create_rtc() local 482 rtc_attr.log_size = size_rx->table.sz_row_log; in hws_matcher_create_rtc() 483 rtc_attr.log_depth = size_rx->table.sz_col_log; in hws_matcher_create_rtc() 484 rtc_attr.is_frst_jumbo = mlx5hws_matcher_mt_is_jumbo(mt); in hws_matcher_create_rtc() 485 rtc_attr.is_scnd_range = 0; in hws_matcher_create_rtc() 486 rtc_attr.miss_ft_id = matcher->end_ft_id; in hws_matcher_create_rtc() 490 rtc_attr.update_index_mode = in hws_matcher_create_rtc() [all …]
|
| H A D | cmd.c | 373 struct mlx5hws_cmd_rtc_create_attr *rtc_attr, in mlx5hws_cmd_rtc_create() argument 388 MLX5_SET(rtc, attr, ste_format_0, rtc_attr->is_frst_jumbo ? in mlx5hws_cmd_rtc_create() 392 if (rtc_attr->is_scnd_range) { in mlx5hws_cmd_rtc_create() 397 MLX5_SET(rtc, attr, pd, rtc_attr->pd); in mlx5hws_cmd_rtc_create() 398 MLX5_SET(rtc, attr, update_method, rtc_attr->fw_gen_wqe); in mlx5hws_cmd_rtc_create() 399 MLX5_SET(rtc, attr, update_index_mode, rtc_attr->update_index_mode); in mlx5hws_cmd_rtc_create() 400 MLX5_SET(rtc, attr, access_index_mode, rtc_attr->access_index_mode); in mlx5hws_cmd_rtc_create() 401 MLX5_SET(rtc, attr, num_hash_definer, rtc_attr->num_hash_definer); in mlx5hws_cmd_rtc_create() 402 MLX5_SET(rtc, attr, log_depth, rtc_attr->log_depth); in mlx5hws_cmd_rtc_create() 403 MLX5_SET(rtc, attr, log_hash_size, rtc_attr->log_size); in mlx5hws_cmd_rtc_create() [all …]
|
| H A D | action.c | 1589 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 | cmd.h | 262 struct mlx5hws_cmd_rtc_create_attr *rtc_attr,
|
| /linux/drivers/rtc/ |
| H A D | sysfs.c | 301 __ATTRIBUTE_GROUPS(rtc_attr);
|