Searched refs:sd_table (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_hmc.c65 if (NULL == hmc_info->sd_table.sd_entry) {
71 if (sd_index >= hmc_info->sd_table.sd_cnt) {
77 sd_entry = &hmc_info->sd_table.sd_entry[sd_index];
112 hmc_info->sd_table.sd_entry[sd_index].entry_type = type;
115 I40E_INC_SD_REFCNT(&hmc_info->sd_table);
159 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) {
168 hmc_info->sd_table.sd_entry[sd_idx].entry_type)
172 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
241 if (sd_idx >= hmc_info->sd_table.sd_cnt) {
246 sd_entry = &hmc_info->sd_table
[all...]
H A Di40e_hmc.h112 struct i40e_hmc_sd_table sd_table; member in struct:i40e_hmc_info
115 #define I40E_INC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt++)
119 #define I40E_DEC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt--)
H A Di40e_lan_hmc.c224 hw->hmc.sd_table.ref_cnt = 0;
227 if (NULL == hw->hmc.sd_table.sd_entry) {
228 hw->hmc.sd_table.sd_cnt = (u32)
232 /* allocate the sd_entry members in the sd_table */
233 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.sd_table.addr,
235 hw->hmc.sd_table.sd_cnt));
238 hw->hmc.sd_table.sd_entry =
239 (struct i40e_hmc_sd_entry *)hw->hmc.sd_table.addr.va;
355 if (sd_idx >= info->hmc_info->sd_table.sd_cnt ||
356 sd_lmt > info->hmc_info->sd_table
[all...]

Completed in 46 milliseconds