Lines Matching refs:func_caps
3553 u32 chain_len = vsi->back->hw.func_caps.rx_buf_chain_len; in i40e_configure_rx_ring()
5329 for (v = 0; v < pf->hw.func_caps.num_vsis; v++) { in i40e_pf_wait_queues_disabled()
5475 if (pf->hw.func_caps.iscsi) in i40e_pf_get_num_tc()
5509 if (pf->hw.func_caps.iscsi) in i40e_pf_get_tc_map()
5715 ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id + vsi_offset; in i40e_update_adq_vsi_queues()
7174 if ((!hw->func_caps.dcb) || in i40e_init_pf_dcb()
7241 if (pf->hw.func_caps.npar_enable && in i40e_print_link_message()
9540 vf_id -= hw->func_caps.vf_base_id; in i40e_handle_lan_overflow_event()
10472 pf->hw.pf_id, pf->hw.func_caps.num_vfs, in i40e_get_capabilities()
10473 pf->hw.func_caps.num_msix_vectors, in i40e_get_capabilities()
10474 pf->hw.func_caps.num_msix_vectors_vf, in i40e_get_capabilities()
10475 pf->hw.func_caps.fd_filters_guaranteed, in i40e_get_capabilities()
10476 pf->hw.func_caps.fd_filters_best_effort, in i40e_get_capabilities()
10477 pf->hw.func_caps.num_tx_qp, in i40e_get_capabilities()
10478 pf->hw.func_caps.num_vsis); in i40e_get_capabilities()
10496 #define DEF_NUM_VSI (1 + (pf->hw.func_caps.fcoe ? 1 : 0) \ in i40e_get_capabilities()
10497 + pf->hw.func_caps.num_vfs) in i40e_get_capabilities()
10499 pf->hw.func_caps.num_vsis < DEF_NUM_VSI) { in i40e_get_capabilities()
10502 pf->hw.func_caps.num_vsis, DEF_NUM_VSI); in i40e_get_capabilities()
10503 pf->hw.func_caps.num_vsis = DEF_NUM_VSI; in i40e_get_capabilities()
10897 ret = i40e_init_lan_hmc(hw, hw->func_caps.num_tx_qp, in i40e_rebuild()
10898 hw->func_caps.num_rx_qp, 0, 0); in i40e_rebuild()
11173 pf->hw.func_caps.base_queue; in i40e_handle_mdd_event()
11188 pf->hw.func_caps.base_queue; in i40e_handle_mdd_event()
11750 vectors_left = hw->func_caps.num_msix_vectors; in i40e_init_msix()
12712 pf->rss_size_max = BIT(pf->hw.func_caps.rss_table_entry_width); in i40e_sw_init()
12714 pf->rss_table_size = pf->hw.func_caps.rss_table_size; in i40e_sw_init()
12716 pf->hw.func_caps.num_tx_qp); in i40e_sw_init()
12722 if (pf->hw.func_caps.rss) { in i40e_sw_init()
12729 if (pf->hw.func_caps.npar_enable || pf->hw.func_caps.flex10_enable) { in i40e_sw_init()
12745 if ((pf->hw.func_caps.fd_filters_guaranteed > 0) || in i40e_sw_init()
12746 (pf->hw.func_caps.fd_filters_best_effort > 0)) { in i40e_sw_init()
12756 pf->hw.func_caps.fd_filters_guaranteed; in i40e_sw_init()
12758 pf->hw.func_caps.fd_filters_best_effort; in i40e_sw_init()
12817 if (pf->hw.func_caps.vmdq && num_online_cpus() != 1) { in i40e_sw_init()
12823 if (pf->hw.func_caps.iwarp && num_online_cpus() != 1) { in i40e_sw_init()
12834 pf->hw.func_caps.npar_enable && in i40e_sw_init()
12839 if (pf->hw.func_caps.num_vfs && pf->hw.partition_id == 1) { in i40e_sw_init()
12843 pf->hw.func_caps.num_vfs, in i40e_sw_init()
12856 + (sizeof(u16) * pf->hw.func_caps.num_tx_qp); in i40e_sw_init()
12862 pf->qp_pile->num_entries = pf->hw.func_caps.num_tx_qp; in i40e_sw_init()
13958 !(pf->hw.func_caps.iscsi)) { /* NIC type PF */ in i40e_add_vsi()
14038 ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id; in i40e_add_vsi()
15168 queues_left = pf->hw.func_caps.num_tx_qp; in i40e_determine_queue_usage()
15212 q_max = min_t(int, q_max, pf->hw.func_caps.num_tx_qp); in i40e_determine_queue_usage()
15213 q_max = min_t(int, q_max, pf->hw.func_caps.num_msix_vectors); in i40e_determine_queue_usage()
15246 pf->hw.func_caps.num_tx_qp, in i40e_determine_queue_usage()
15301 pf->hw.func_caps.num_vsis, in i40e_print_features()
15510 if (pf->hw.func_caps.num_vsis < I40E_MIN_VSI_ALLOC) in i40e_init_recovery_mode()
15513 pf->num_alloc_vsi = pf->hw.func_caps.num_vsis; in i40e_init_recovery_mode()
15824 err = i40e_init_lan_hmc(hw, hw->func_caps.num_tx_qp, in i40e_probe()
15825 hw->func_caps.num_rx_qp, 0, 0); in i40e_probe()
15929 if (pf->hw.func_caps.num_vsis < I40E_MIN_VSI_ALLOC) in i40e_probe()
15932 pf->num_alloc_vsi = pf->hw.func_caps.num_vsis; in i40e_probe()
16483 if (hw->func_caps.flex10_enable && hw->partition_id != 1) in i40e_enable_mc_magic_wake()