Home
last modified time | relevance | path

Searched refs:common_cap (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_common.c1762 funcs = hweight8(hw->dev_caps.common_cap.valid_functions & in ice_get_num_per_func()
2015 found = ice_parse_common_caps(hw, &func_p->common_cap, in ice_parse_func_caps()
2038 ice_recalc_port_limited_caps(hw, &func_p->common_cap); in ice_parse_func_caps()
2146 found = ice_parse_common_caps(hw, &dev_p->common_cap, in ice_parse_dev_caps()
2172 ice_recalc_port_limited_caps(hw, &dev_p->common_cap); in ice_parse_dev_caps()
2297 cached_caps = func_caps->common_cap; in ice_set_safe_mode_caps()
2303 func_caps->common_cap.name = cached_caps.name in ice_set_safe_mode_caps()
2317 func_caps->common_cap.num_rxq = 1; in ice_set_safe_mode_caps()
2318 func_caps->common_cap.num_txq = 1; in ice_set_safe_mode_caps()
2321 func_caps->common_cap.num_msix_vectors = 2; in ice_set_safe_mode_caps()
[all …]
Dice_fw_update.c745 if (dev_caps->common_cap.nvm_update_pending_nvm) { in ice_check_for_pending_update()
750 if (dev_caps->common_cap.nvm_update_pending_orom) { in ice_check_for_pending_update()
755 if (dev_caps->common_cap.nvm_update_pending_netlist) { in ice_check_for_pending_update()
Dice_dcb_nl.c97 max_tc = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_setets()
135 *num = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_getnumtcs()
266 new_cfg->pfc.pfccap = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_setpfc()
323 new_cfg->pfc.pfccap = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_set_pfc_cfg()
Dice_dcb_lib.c552 dcbcfg->etscfg.maxtcs = hw->func_caps.common_cap.maxtc; in ice_dcb_sw_dflt_cfg()
561 dcbcfg->pfc.pfccap = hw->func_caps.common_cap.maxtc; in ice_dcb_sw_dflt_cfg()
701 pf->hw.func_caps.common_cap.maxtc); in ice_init_pf_dcb()
Dice_type.h260 struct ice_hw_common_caps common_cap; member
270 struct ice_hw_common_caps common_cap; member
Dice_dcb.c942 if (!hw->func_caps.common_cap.dcb) in ice_init_dcb()
984 if (!hw->func_caps.common_cap.dcb) in ice_cfg_lldp_mib_change()
Dice_devlink.c273 if (!hw->dev_caps.common_cap.nvm_unified_update) { in ice_devlink_flash_update()
Dice_ethtool.c422 u32 int_elements = hw->func_caps.common_cap.num_msix_vectors ? in ice_reg_test()
423 hw->func_caps.common_cap.num_msix_vectors - 1 : 1; in ice_reg_test()
3230 (u16)pf->hw.func_caps.common_cap.num_txq); in ice_get_max_txq()
3240 (u16)pf->hw.func_caps.common_cap.num_rxq); in ice_get_max_rxq()
3299 struct ice_hw_common_caps *caps = &hw->func_caps.common_cap; in ice_get_valid_rss_size()
Dice_virtchnl_pf.c690 pf->hw.func_caps.common_cap.msix_vector_first_id; in ice_ena_vf_msix_mappings()
880 u16 total_vectors = pf->hw.func_caps.common_cap.num_msix_vectors; in ice_sriov_set_msix_res()
929 msix_avail_for_sriov = pf->hw.func_caps.common_cap.num_msix_vectors - in ice_set_per_vf_res()
1774 return globalq - pf->hw.func_caps.common_cap.rxq_first_id; in ice_globalq_to_pfq()
Dice_main.c3342 if (func_caps->common_cap.dcb) in ice_set_pf_caps()
3345 if (func_caps->common_cap.sr_iov_1_1) { in ice_set_pf_caps()
3351 if (func_caps->common_cap.rss_table_size) in ice_set_pf_caps()
3371 pf->max_pf_txqs = func_caps->common_cap.num_txq; in ice_set_pf_caps()
3372 pf->max_pf_rxqs = func_caps->common_cap.num_rxq; in ice_set_pf_caps()
3424 v_left = pf->hw.func_caps.common_cap.num_msix_vectors; in ice_ena_msix_range()
Dice_lib.c666 cap = &pf->hw.func_caps.common_cap; in ice_vsi_set_rss_params()