/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_diag.c | 88 hw->func_caps.num_tx_qp != 0) in i40e_diag_reg_test() 89 i40e_reg_list[i].elements = hw->func_caps.num_tx_qp; in i40e_diag_reg_test() 95 hw->func_caps.num_msix_vectors != 0) in i40e_diag_reg_test() 97 hw->func_caps.num_msix_vectors - 1; in i40e_diag_reg_test()
|
D | i40e_virtchnl_pf.c | 28 int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; in i40e_vc_vf_broadcast() 54 int abs_vf_id = vf->vf_id + (int)hw->func_caps.vf_base_id; in i40e_vc_notify_vf_link_state() 122 abs_vf_id = vf->vf_id + (int)vf->pf->hw.func_caps.vf_base_id; in i40e_vc_notify_vf_reset() 215 return vector_id < pf->hw.func_caps.num_msix_vectors_vf; in i40e_vc_isvalid_vector_id() 307 ((pf->hw.func_caps.num_msix_vectors_vf - 1) * vf->vf_id) + in i40e_config_irq_link_list() 405 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_release_iwarp_qvlist() 458 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_config_iwarp_qvlist() 479 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_config_iwarp_qvlist() 607 qtx_ctl |= (((vf->vf_id + hw->func_caps.vf_base_id) in i40e_config_vsi_tx_queue() 982 msix_vf = pf->hw.func_caps.num_msix_vectors_vf; in i40e_free_vf_res() [all …]
|
D | i40e_dcb_nl.c | 160 if ((pf->flags & I40E_FLAG_MFP_ENABLED) && !(pf->hw.func_caps.iscsi)) in i40e_dcbnl_set_all() 267 if ((pf->flags & I40E_FLAG_MFP_ENABLED) && !(pf->hw.func_caps.iscsi)) in i40e_dcbnl_flush_apps()
|
D | i40e_main.c | 3396 u32 chain_len = vsi->back->hw.func_caps.rx_buf_chain_len; in i40e_configure_rx_ring() 5150 for (v = 0; v < pf->hw.func_caps.num_vsis; v++) { in i40e_pf_wait_queues_disabled() 5296 if (pf->hw.func_caps.iscsi) in i40e_pf_get_num_tc() 5330 if (pf->hw.func_caps.iscsi) in i40e_pf_get_tc_map() 5535 ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id + vsi_offset; in i40e_update_adq_vsi_queues() 6664 if ((!hw->func_caps.dcb) || in i40e_init_pf_dcb() 6731 if (pf->hw.func_caps.npar_enable && in i40e_print_link_message() 8994 vf_id -= hw->func_caps.vf_base_id; in i40e_handle_lan_overflow_event() 9871 pf->hw.pf_id, pf->hw.func_caps.num_vfs, in i40e_get_capabilities() 9872 pf->hw.func_caps.num_msix_vectors, in i40e_get_capabilities() [all …]
|
D | i40e_common.c | 1056 u32 abs_queue_idx = hw->func_caps.base_queue + queue; in i40e_pre_tx_queue_cfg() 1443 !hw->func_caps.led[idx]) in i40e_led_is_mine() 3249 p = &hw->func_caps; in i40e_parse_discover_capabilities() 4694 u8 port_num = (u8)hw->func_caps.mdio_port_num; in i40e_read_phy_register_clause22() 4739 u8 port_num = (u8)hw->func_caps.mdio_port_num; in i40e_write_phy_register_clause22() 4782 u8 port_num = hw->func_caps.mdio_port_num; in i40e_read_phy_register_clause45() 4856 u8 port_num = hw->func_caps.mdio_port_num; in i40e_write_phy_register_clause45() 4992 u8 port_num = hw->func_caps.mdio_port_num; in i40e_get_phy_address()
|
D | i40e_dcb.c | 876 if (!hw->func_caps.dcb) in i40e_init_dcb()
|
D | i40e_type.h | 548 struct i40e_hw_capabilities func_caps; member
|
D | i40e_ethtool.c | 4548 if (fsp->location >= (pf->hw.func_caps.fd_filters_best_effort + in i40e_add_fdir_ethtool() 4549 pf->hw.func_caps.fd_filters_guaranteed)) { in i40e_add_fdir_ethtool()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 2261 ice_discover_func_caps(struct ice_hw *hw, struct ice_hw_func_caps *func_caps) in ice_discover_func_caps() argument 2280 ice_parse_func_caps(hw, func_caps, cbuf, cap_count); in ice_discover_func_caps() 2292 struct ice_hw_func_caps *func_caps = &hw->func_caps; in ice_set_safe_mode_caps() local 2298 cached_caps = func_caps->common_cap; in ice_set_safe_mode_caps() 2301 memset(func_caps, 0, sizeof(*func_caps)); in ice_set_safe_mode_caps() 2304 func_caps->common_cap.name = cached_caps.name in ice_set_safe_mode_caps() 2318 func_caps->common_cap.num_rxq = 1; in ice_set_safe_mode_caps() 2319 func_caps->common_cap.num_txq = 1; in ice_set_safe_mode_caps() 2322 func_caps->common_cap.num_msix_vectors = 2; in ice_set_safe_mode_caps() 2323 func_caps->guar_num_vsi = 1; in ice_set_safe_mode_caps() [all …]
|
D | ice_dcb_nl.c | 97 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()
|
D | ice_dcb_lib.c | 552 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()
|
D | ice_virtchnl_pf.c | 404 reg_idx = (hw->func_caps.vf_base_id + vf_id) / 32; in ice_free_vfs() 405 bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; in ice_free_vfs() 433 vf_abs_id = vf->vf_id + hw->func_caps.vf_base_id; in ice_trigger_vf_reset() 696 pf->hw.func_caps.common_cap.msix_vector_first_id; in ice_ena_vf_msix_mappings() 699 device_based_vf_id = vf->vf_id + hw->func_caps.vf_base_id; in ice_ena_vf_msix_mappings() 886 u16 total_vectors = pf->hw.func_caps.common_cap.num_msix_vectors; in ice_sriov_set_msix_res() 935 msix_avail_for_sriov = pf->hw.func_caps.common_cap.num_msix_vectors - in ice_set_per_vf_res() 1734 reg_idx = (hw->func_caps.vf_base_id + vf_id) / 32; in ice_process_vflr_event() 1735 bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; in ice_process_vflr_event() 1791 return globalq - pf->hw.func_caps.common_cap.rxq_first_id; in ice_globalq_to_pfq()
|
D | ice_main.c | 3343 struct ice_hw_func_caps *func_caps = &pf->hw.func_caps; in ice_set_pf_caps() local 3346 if (func_caps->common_cap.dcb) in ice_set_pf_caps() 3349 if (func_caps->common_cap.sr_iov_1_1) { in ice_set_pf_caps() 3351 pf->num_vfs_supported = min_t(int, func_caps->num_allocd_vfs, in ice_set_pf_caps() 3355 if (func_caps->common_cap.rss_table_size) in ice_set_pf_caps() 3359 if (func_caps->fd_fltr_guar > 0 || func_caps->fd_fltr_best_effort > 0) { in ice_set_pf_caps() 3369 func_caps->fd_fltr_guar); in ice_set_pf_caps() 3372 func_caps->fd_fltr_best_effort); in ice_set_pf_caps() 3375 pf->max_pf_txqs = func_caps->common_cap.num_txq; in ice_set_pf_caps() 3376 pf->max_pf_rxqs = func_caps->common_cap.num_rxq; in ice_set_pf_caps() [all …]
|
D | ice_fdir.c | 455 return hw->func_caps.fd_fltr_guar + hw->func_caps.fd_fltr_best_effort; in ice_get_fdir_cnt_all()
|
D | ice_dcb.c | 942 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()
|
D | ice_lib.c | 507 g_val = pf->hw.func_caps.fd_fltr_guar; in ice_alloc_fd_res() 512 b_val = pf->hw.func_caps.fd_fltr_best_effort; in ice_alloc_fd_res() 666 cap = &pf->hw.func_caps.common_cap; in ice_vsi_set_rss_params() 968 ctxt->vf_num = vsi->vf_id + hw->func_caps.vf_base_id; in ice_vsi_init()
|
D | ice_type.h | 613 struct ice_hw_func_caps func_caps; /* function capabilities */ member
|
D | ice_ethtool.c | 422 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() 3260 (u16)pf->hw.func_caps.common_cap.num_txq); in ice_get_max_txq() 3270 (u16)pf->hw.func_caps.common_cap.num_rxq); in ice_get_max_rxq() 3329 struct ice_hw_common_caps *caps = &hw->func_caps.common_cap; in ice_get_valid_rss_size()
|
D | ice_base.c | 257 tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf_id; in ice_setup_tx_ctx()
|
D | ice_ethtool_fdir.c | 473 num_be = hw->func_caps.fd_fltr_best_effort; in ice_fdir_num_avail_fltr()
|