Home
last modified time | relevance | path

Searched refs:tbl_type (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_table.c46 u8 tbl_type = tbl->type; in hws_table_up_default_fdb_miss_tbl() local
51 if (ctx->common_res[tbl_type].default_miss) { in hws_table_up_default_fdb_miss_tbl()
52 ctx->common_res[tbl_type].default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
69 mlx5hws_err(ctx, "Failed to default miss table type: 0x%x\n", tbl_type); in hws_table_up_default_fdb_miss_tbl()
74 ctx->common_res[tbl_type].default_miss = default_miss; in hws_table_up_default_fdb_miss_tbl()
75 ctx->common_res[tbl_type].default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
85 u8 tbl_type = tbl->type; in hws_table_down_default_fdb_miss_tbl() local
90 default_miss = ctx->common_res[tbl_type].default_miss; in hws_table_down_default_fdb_miss_tbl()
95 ctx->common_res[tbl_type].default_miss = NULL; in hws_table_down_default_fdb_miss_tbl()
Dmlx5hws_action.c79 u8 tbl_type) in hws_action_get_shared_stc_nic() argument
86 if (ctx->common_res[tbl_type].shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
87 ctx->common_res[tbl_type].shared_stc[stc_type]->refcount++; in hws_action_get_shared_stc_nic()
120 ret = mlx5hws_action_alloc_single_stc(ctx, &stc_attr, tbl_type, in hws_action_get_shared_stc_nic()
127 ctx->common_res[tbl_type].shared_stc[stc_type] = shared_stc; in hws_action_get_shared_stc_nic()
128 ctx->common_res[tbl_type].shared_stc[stc_type]->refcount = 1; in hws_action_get_shared_stc_nic()
171 enum mlx5hws_table_type tbl_type = MLX5HWS_TABLE_TYPE_FDB; in hws_action_put_shared_stc() local
181 if (--ctx->common_res[tbl_type].shared_stc[stc_type]->refcount) { in hws_action_put_shared_stc()
186 shared_stc = ctx->common_res[tbl_type].shared_stc[stc_type]; in hws_action_put_shared_stc()
188 mlx5hws_action_free_single_stc(ctx, tbl_type, &shared_stc->stc_chunk); in hws_action_put_shared_stc()
[all …]
Dmlx5hws_table.h39 u32 mlx5hws_table_get_res_fw_ft_type(enum mlx5hws_table_type tbl_type, in mlx5hws_table_get_res_fw_ft_type() argument
42 if (tbl_type == MLX5HWS_TABLE_TYPE_FDB) in mlx5hws_table_get_res_fw_ft_type()
Dmlx5hws_debug.c119 enum mlx5hws_table_type tbl_type = matcher->tbl->type; in hws_debug_dump_matcher() local
141 if (tbl_type == MLX5HWS_TABLE_TYPE_FDB) in hws_debug_dump_matcher()
155 if (tbl_type == MLX5HWS_TABLE_TYPE_FDB) in hws_debug_dump_matcher()
371 u32 tbl_type, in hws_debug_dump_context_stc_resource() argument
377 tbl_type, in hws_debug_dump_context_stc_resource()
Dmlx5hws_action.h88 enum mlx5hws_table_type tbl_type; member
202 u8 tbl_type);
205 u8 tbl_type);
Dmlx5hws_pool.c29 if (pool->tbl_type == MLX5HWS_TABLE_TYPE_FDB) { in hws_pool_resource_free()
86 fw_ft_type = mlx5hws_table_get_res_fw_ft_type(pool->tbl_type, false); in hws_pool_resource_alloc()
96 if (pool->tbl_type == MLX5HWS_TABLE_TYPE_FDB) { in hws_pool_resource_alloc()
99 fw_ft_type = mlx5hws_table_get_res_fw_ft_type(pool->tbl_type, true); in hws_pool_resource_alloc()
599 pool->tbl_type = pool_attr->table_type; in mlx5hws_pool_create()
Dmlx5hws_pool.h114 enum mlx5hws_table_type tbl_type; member
Dmlx5hws_rule.c317 apply->tbl_type = tbl->type; in hws_rule_create_init()
/linux-6.12.1/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c805 struct il_scale_tbl_info tbl_type; in il4965_rs_tx_status() local
838 il4965_rs_get_tbl_info_from_mcs(tx_rate, il->band, &tbl_type, &rs_idx); in il4965_rs_tx_status()
857 tbl_type.is_SGI != !!(mac_flags & IEEE80211_TX_RC_SHORT_GI) || in il4965_rs_tx_status()
858 tbl_type.is_ht40 != !!(mac_flags & IEEE80211_TX_RC_40_MHZ_WIDTH) || in il4965_rs_tx_status()
859 tbl_type.is_dup != !!(mac_flags & IEEE80211_TX_RC_DUP_DATA) || in il4965_rs_tx_status()
860 tbl_type.ant_type != info->status.antenna || in il4965_rs_tx_status()
884 (&tbl_type, &(lq_sta->lq_info[lq_sta->active_tbl]))) { in il4965_rs_tx_status()
889 (&tbl_type, &lq_sta->lq_info[1 - lq_sta->active_tbl])) { in il4965_rs_tx_status()
900 D_RATE("actual- lq:%x, ant:%x, SGI:%d\n", tbl_type.lq_type, in il4965_rs_tx_status()
901 tbl_type.ant_type, tbl_type.is_SGI); in il4965_rs_tx_status()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c860 struct iwl_scale_tbl_info tbl_type; in rs_tx_status() local
895 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, &rs_index); in rs_tx_status()
914 (tbl_type.is_SGI != !!(mac_flags & IEEE80211_TX_RC_SHORT_GI)) || in rs_tx_status()
915 (tbl_type.is_ht40 != !!(mac_flags & IEEE80211_TX_RC_40_MHZ_WIDTH)) || in rs_tx_status()
916 (tbl_type.is_dup != !!(mac_flags & IEEE80211_TX_RC_DUP_DATA)) || in rs_tx_status()
917 (tbl_type.ant_type != info->status.antenna) || in rs_tx_status()
939 if (table_type_matches(&tbl_type, in rs_tx_status()
943 } else if (table_type_matches(&tbl_type, in rs_tx_status()
956 tbl_type.lq_type, tbl_type.ant_type, tbl_type.is_SGI); in rs_tx_status()
974 rs_get_tbl_info_from_mcs(tx_rate, priv->band, &tbl_type, in rs_tx_status()
[all …]