Home
last modified time | relevance | path

Searched refs:func_caps (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_diag.c90 hw->func_caps.num_tx_qp != 0) in i40e_diag_reg_test()
91 elements = hw->func_caps.num_tx_qp; in i40e_diag_reg_test()
97 hw->func_caps.num_msix_vectors != 0) in i40e_diag_reg_test()
98 elements = hw->func_caps.num_msix_vectors - 1; in i40e_diag_reg_test()
Di40e_virtchnl_pf.c30 int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; in i40e_vc_vf_broadcast()
116 int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; in i40e_vc_notify_vf_link_state()
203 abs_vf_id = vf->vf_id + (int)vf->pf->hw.func_caps.vf_base_id; in i40e_vc_notify_vf_reset()
296 return vector_id < pf->hw.func_caps.num_msix_vectors_vf; in i40e_vc_isvalid_vector_id()
388 ((pf->hw.func_caps.num_msix_vectors_vf - 1) * vf->vf_id) + in i40e_config_irq_link_list()
486 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_release_rdma_qvlist()
539 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_config_rdma_qvlist()
560 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_config_rdma_qvlist()
686 vf->vf_id + hw->func_caps.vf_base_id); in i40e_config_vsi_tx_queue()
1059 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_free_vf_res()
[all …]
Di40e_main.c3593 u32 chain_len = vsi->back->hw.func_caps.rx_buf_chain_len; in i40e_configure_rx_ring()
5519 if (pf->hw.func_caps.iscsi) in i40e_pf_get_num_tc()
5553 if (pf->hw.func_caps.iscsi) in i40e_pf_get_tc_map()
5759 ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id + vsi_offset; in i40e_update_adq_vsi_queues()
7241 if ((!hw->func_caps.dcb) || in i40e_init_pf_dcb()
7328 if (pf->hw.func_caps.npar_enable && in i40e_print_link_message()
9623 vf_id -= hw->func_caps.vf_base_id; in i40e_handle_lan_overflow_event()
10545 pf->hw.pf_id, pf->hw.func_caps.num_vfs, in i40e_get_capabilities()
10546 pf->hw.func_caps.num_msix_vectors, in i40e_get_capabilities()
10547 pf->hw.func_caps.num_msix_vectors_vf, in i40e_get_capabilities()
[all …]
Di40e_dcb_nl.c894 if (test_bit(I40E_FLAG_MFP_ENA, pf->flags) && !(hw->func_caps.iscsi)) in i40e_dcbnl_set_all()
1001 if (test_bit(I40E_FLAG_MFP_ENA, pf->flags) && !(pf->hw.func_caps.iscsi)) in i40e_dcbnl_flush_apps()
Di40e_common.c544 u32 abs_queue_idx = hw->func_caps.base_queue + queue; in i40e_pre_tx_queue_cfg()
934 !hw->func_caps.led[idx]) in i40e_led_is_mine()
2855 p = &hw->func_caps; in i40e_parse_discover_capabilities()
4360 u8 port_num = (u8)hw->func_caps.mdio_port_num; in i40e_read_phy_register_clause22()
4404 u8 port_num = (u8)hw->func_caps.mdio_port_num; in i40e_write_phy_register_clause22()
4445 u8 port_num = hw->func_caps.mdio_port_num; in i40e_read_phy_register_clause45()
4518 u8 port_num = hw->func_caps.mdio_port_num; in i40e_write_phy_register_clause45()
4659 u8 port_num = hw->func_caps.mdio_port_num; in i40e_get_phy_address()
Di40e_type.h536 struct i40e_hw_capabilities func_caps; member
Di40e_dcb.c839 if (!hw->func_caps.dcb) in i40e_init_dcb()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_sriov.c191 reg_idx = (hw->func_caps.vf_base_id + vf->vf_id) / 32; in ice_free_vfs()
192 bit_idx = (hw->func_caps.vf_base_id + vf->vf_id) % 32; in ice_free_vfs()
268 pf->hw.func_caps.common_cap.msix_vector_first_id; in ice_ena_vf_msix_mappings()
271 device_based_vf_id = vf->vf_id + hw->func_caps.vf_base_id; in ice_ena_vf_msix_mappings()
390 u16 total_vectors = pf->hw.func_caps.common_cap.num_msix_vectors; in ice_sriov_set_msix_res()
443 msix_avail_for_sriov = pf->hw.func_caps.common_cap.num_msix_vectors - in ice_set_per_vf_res()
689 vf_abs_id = vf->vf_id + hw->func_caps.vf_base_id; in ice_sriov_trigger_reset_register()
858 int total_vectors = pf->hw.func_caps.common_cap.num_msix_vectors; in ice_ena_vfs()
1226 reg_idx = (hw->func_caps.vf_base_id + vf->vf_id) / 32; in ice_process_vflr_event()
1227 bit_idx = (hw->func_caps.vf_base_id + vf->vf_id) % 32; in ice_process_vflr_event()
[all …]
Dice_irq.c143 hw_num_msix = pf->hw.func_caps.common_cap.num_msix_vectors; in ice_ena_msix_range()
254 int total_vectors = pf->hw.func_caps.common_cap.num_msix_vectors; in ice_init_interrupt_scheme()
Dice_dcb_nl.c103 new_cfg->etscfg.maxtcs = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_setets()
139 *num = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_getnumtcs()
286 new_cfg->pfc.pfccap = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_setpfc()
348 new_cfg->pfc.pfccap = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_set_pfc_cfg()
768 max_tc = pf->hw.func_caps.common_cap.maxtc; in ice_dcbnl_setapp()
Dice_common.c1247 uld_mask = ICE_RESET_DONE_MASK | (hw->func_caps.common_cap.rdma ? in ice_check_reset()
2882 ice_discover_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_caps) in ice_discover_func_caps() argument
2901 ice_parse_func_caps(hw, func_caps, cbuf, cap_count); in ice_discover_func_caps()
2913 struct ice_hw_func_caps *func_caps = &hw->func_caps; in ice_set_safe_mode_caps() local
2919 cached_caps = func_caps->common_cap; in ice_set_safe_mode_caps()
2922 memset(func_caps, 0, sizeof(*func_caps)); in ice_set_safe_mode_caps()
2925 func_caps->common_cap.name = cached_caps.name in ice_set_safe_mode_caps()
2939 func_caps->common_cap.num_rxq = 1; in ice_set_safe_mode_caps()
2940 func_caps->common_cap.num_txq = 1; in ice_set_safe_mode_caps()
2943 func_caps->common_cap.num_msix_vectors = 2; in ice_set_safe_mode_caps()
[all …]
Dice_dcb_lib.c651 dcbcfg->etscfg.maxtcs = hw->func_caps.common_cap.maxtc; in ice_dcb_sw_dflt_cfg()
660 dcbcfg->pfc.pfccap = hw->func_caps.common_cap.maxtc; in ice_dcb_sw_dflt_cfg()
819 pf->hw.func_caps.common_cap.maxtc); in ice_init_pf_dcb()
Dice_ptp_hw.h363 return hw->func_caps.ts_func_info.time_ref; in ice_e82x_time_ref()
377 hw->func_caps.ts_func_info.time_ref = time_ref; in ice_set_e82x_time_ref()
Dice_ptp_hw.c206 return hw->func_caps.ts_func_info.tmr_index_assoc; in ice_get_ptp_src_clock_index()
722 struct ice_ts_func_info *ts_info = &hw->func_caps.ts_func_info; in ice_init_cgu_e82x()
4999 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_init_phc_e810()
5026 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_prep_phy_time_e810()
5062 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_prep_phy_adj_e810()
5099 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_prep_phy_incval_e810()
5555 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_init_time()
5604 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_write_incval()
5669 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_adj_clock()
5826 u8 src_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_init_phc()
Dice_gnss.c389 if (!hw->func_caps.ts_func_info.src_tmr_owned) in ice_gnss_is_gps_present()
Dice_main.c3295 u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_misc_intr()
4002 struct ice_hw_func_caps *func_caps = &pf->hw.func_caps; in ice_set_pf_caps() local
4005 if (func_caps->common_cap.rdma) in ice_set_pf_caps()
4008 if (func_caps->common_cap.dcb) in ice_set_pf_caps()
4011 if (func_caps->common_cap.sr_iov_1_1) { in ice_set_pf_caps()
4013 pf->vfs.num_supported = min_t(int, func_caps->num_allocd_vfs, in ice_set_pf_caps()
4017 if (func_caps->common_cap.rss_table_size) in ice_set_pf_caps()
4021 if (func_caps->fd_fltr_guar > 0 || func_caps->fd_fltr_best_effort > 0) { in ice_set_pf_caps()
4031 func_caps->fd_fltr_guar); in ice_set_pf_caps()
4034 func_caps->fd_fltr_best_effort); in ice_set_pf_caps()
[all …]
Dice.h200 #define ice_pf_src_tmr_owned(pf) ((pf)->hw.func_caps.ts_func_info.src_tmr_owned)
1030 if (pf->hw.func_caps.common_cap.rdma && pf->num_rdma_msix) { in ice_set_rdma_cap()
Dice_fdir.c750 return hw->func_caps.fd_fltr_guar + hw->func_caps.fd_fltr_best_effort; in ice_get_fdir_cnt_all()
Dice_ptp.c1629 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_extts_event()
1676 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_cfg_extts()
1778 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_cfg_clkout()
2219 tmr_idx = hw->func_caps.ts_func_info.tmr_index_assoc; in ice_ptp_get_syncdevicetime()
Dice_dcb.c1002 if (!hw->func_caps.common_cap.dcb) in ice_init_dcb()
1044 if (!hw->func_caps.common_cap.dcb) in ice_cfg_lldp_mib_change()
Dice_lib.c673 g_val = pf->hw.func_caps.fd_fltr_guar; in ice_alloc_fd_res()
678 b_val = pf->hw.func_caps.fd_fltr_best_effort; in ice_alloc_fd_res()
889 cap = &pf->hw.func_caps.common_cap; in ice_vsi_set_rss_params()
1241 ctxt->vf_num = vsi->vf->vf_id + hw->func_caps.vf_base_id; in ice_vsi_init()
Dice_ethtool.c1034 u32 int_elements = hw->func_caps.common_cap.num_msix_vectors ? in ice_reg_test()
1035 hw->func_caps.common_cap.num_msix_vectors - 1 : 1; in ice_reg_test()
3815 (u16)pf->hw.func_caps.common_cap.num_txq); in ice_get_max_txq()
3825 (u16)pf->hw.func_caps.common_cap.num_rxq); in ice_get_max_rxq()
3884 struct ice_hw_common_caps *caps = &hw->func_caps.common_cap; in ice_get_valid_rss_size()
Dice_type.h928 struct ice_hw_func_caps func_caps; /* function capabilities */ member
Dice_base.c325 tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf->vf_id; in ice_setup_tx_ctx()
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/
Ddevlink.c1647 if (hw->func_caps.common_cap.tx_sched_topo_comp_mode_en) in ice_devlink_register_params()
1662 if (hw->func_caps.common_cap.tx_sched_topo_comp_mode_en) in ice_devlink_unregister_params()

12