| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_diag.c | 90 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()
|
| H A D | i40e_virtchnl_pf.c | 30 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() 693 vf->vf_id + hw->func_caps.vf_base_id); in i40e_config_vsi_tx_queue() 1074 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_free_vf_res() [all …]
|
| H A D | i40e_main.c | 3562 u32 chain_len = vsi->back->hw.func_caps.rx_buf_chain_len; in i40e_configure_rx_ring() 5488 if (pf->hw.func_caps.iscsi) in i40e_pf_get_num_tc() 5522 if (pf->hw.func_caps.iscsi) in i40e_pf_get_tc_map() 5728 ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id + vsi_offset; in i40e_update_adq_vsi_queues() 7200 if ((!hw->func_caps.dcb) || in i40e_init_pf_dcb() 7286 if (pf->hw.func_caps.npar_enable && in i40e_print_link_message() 9572 vf_id -= hw->func_caps.vf_base_id; in i40e_handle_lan_overflow_event() 10478 pf->hw.pf_id, pf->hw.func_caps.num_vfs, in i40e_get_capabilities() 10479 pf->hw.func_caps.num_msix_vectors, in i40e_get_capabilities() 10480 pf->hw.func_caps.num_msix_vectors_vf, in i40e_get_capabilities() [all …]
|
| H A D | i40e_dcb_nl.c | 894 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()
|
| H A D | i40e_common.c | 484 u32 abs_queue_idx = hw->func_caps.base_queue + queue; in i40e_pre_tx_queue_cfg() 875 !hw->func_caps.led[idx]) in i40e_led_is_mine() 2662 p = &hw->func_caps; in i40e_parse_discover_capabilities() 4092 u8 port_num = (u8)hw->func_caps.mdio_port_num; in i40e_read_phy_register_clause22() 4136 u8 port_num = (u8)hw->func_caps.mdio_port_num; in i40e_write_phy_register_clause22() 4177 u8 port_num = hw->func_caps.mdio_port_num; in i40e_read_phy_register_clause45() 4250 u8 port_num = hw->func_caps.mdio_port_num; in i40e_write_phy_register_clause45() 4313 u8 port_num = hw->func_caps.mdio_port_num; in i40e_get_phy_address()
|
| H A D | i40e_type.h | 536 struct i40e_hw_capabilities func_caps; member
|
| H A D | i40e_dcb.c | 839 if (!hw->func_caps.dcb) in i40e_init_dcb()
|
| H A D | i40e_ethtool.c | 4838 if (fsp->location >= (pf->hw.func_caps.fd_filters_best_effort + in i40e_add_fdir_ethtool() 4839 pf->hw.func_caps.fd_filters_guaranteed)) { in i40e_add_fdir_ethtool()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_nl.c | 103 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()
|
| H A D | ice_ptp_hw.c | 205 return hw->func_caps.ts_func_info.tmr_index_assoc; in ice_get_ptp_src_clock_index() 4501 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_init_phc_e810() 4528 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_prep_phy_time_e810() 4558 const u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_prep_phy_adj_ll_e810() 4616 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_prep_phy_adj_e810() 4650 const u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_prep_phy_incval_ll_e810() 4706 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_prep_phy_incval_e810() 4929 u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_write_direct_incval_e830() 4950 u8 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_write_direct_phc_time_e830() 5261 tmr_idx = hw->func_caps.ts_func_info.tmr_index_owned; in ice_ptp_init_time() [all …]
|
| H A D | ice_ptp_hw.h | 320 return hw->func_caps.ts_func_info.time_ref; in ice_e82x_time_ref() 334 hw->func_caps.ts_func_info.time_ref = time_ref; in ice_set_e82x_time_ref()
|
| H A D | ice_irq.c | 131 int total_vectors = pf->hw.func_caps.common_cap.num_msix_vectors; in ice_init_interrupt_scheme()
|
| H A D | ice_common.c | 1266 uld_mask = ICE_RESET_DONE_MASK | (hw->func_caps.common_cap.rdma ? in ice_check_reset() 3179 * @func_caps: pointer to function capabilities structure 3181 * Read the function capabilities and extract them into the func_caps structure 3185 ice_discover_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_caps) in ice_discover_func_caps() argument 3204 ice_parse_func_caps(hw, func_caps, cbuf, cap_count); in ice_discover_func_caps() 3216 struct ice_hw_func_caps *func_caps = &hw->func_caps; in ice_set_safe_mode_caps() local 3221 /* cache some func_caps values that should be restored after memset */ in ice_set_safe_mode_caps() 3222 cached_caps = func_caps->common_cap; in ice_set_safe_mode_caps() 3225 memset(func_caps, in ice_set_safe_mode_caps() [all...] |
| H A D | ice_dcb_lib.c | 651 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() 825 pf->hw.func_caps.common_cap.maxtc); in ice_init_pf_dcb()
|
| H A D | ice_gnss.c | 394 if (!hw->func_caps.ts_func_info.src_tmr_owned || in ice_gnss_is_module_present()
|
| H A D | ice_tspll.c | 590 struct ice_ts_func_info *ts_info = &hw->func_caps.ts_func_info; in ice_tspll_init()
|
| H A D | ice_dcb.c | 1002 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()
|
| H A D | ice_ddp.c | 2404 if (!hw->func_caps.common_cap.tx_sched_topo_comp_mode_en) { in ice_cfg_tx_topo()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_e610.c | 941 struct ixgbe_hw_func_caps *func_caps) in ixgbe_discover_func_caps() argument 962 ixgbe_parse_func_caps(hw, func_caps, cbuf, cap_count); in ixgbe_discover_func_caps() 985 return ixgbe_discover_func_caps(hw, &hw->func_caps); in ixgbe_get_caps()
|