Lines Matching refs:func_caps

3593 	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()
10548 pf->hw.func_caps.fd_filters_guaranteed, in i40e_get_capabilities()
10549 pf->hw.func_caps.fd_filters_best_effort, in i40e_get_capabilities()
10550 pf->hw.func_caps.num_tx_qp, in i40e_get_capabilities()
10551 pf->hw.func_caps.num_vsis); in i40e_get_capabilities()
10569 #define DEF_NUM_VSI (1 + (pf->hw.func_caps.fcoe ? 1 : 0) \ in i40e_get_capabilities()
10570 + pf->hw.func_caps.num_vfs) in i40e_get_capabilities()
10572 pf->hw.func_caps.num_vsis < DEF_NUM_VSI) { in i40e_get_capabilities()
10575 pf->hw.func_caps.num_vsis, DEF_NUM_VSI); in i40e_get_capabilities()
10576 pf->hw.func_caps.num_vsis = DEF_NUM_VSI; in i40e_get_capabilities()
10972 ret = i40e_init_lan_hmc(hw, hw->func_caps.num_tx_qp, in i40e_rebuild()
10973 hw->func_caps.num_rx_qp, 0, 0); in i40e_rebuild()
11243 pf->hw.func_caps.base_queue; in i40e_handle_mdd_event()
11255 pf->hw.func_caps.base_queue; in i40e_handle_mdd_event()
11815 vectors_left = hw->func_caps.num_msix_vectors; in i40e_init_msix()
12777 pf->rss_size_max = BIT(pf->hw.func_caps.rss_table_entry_width); in i40e_sw_init()
12779 pf->rss_table_size = pf->hw.func_caps.rss_table_size; in i40e_sw_init()
12781 pf->hw.func_caps.num_tx_qp); in i40e_sw_init()
12787 if (pf->hw.func_caps.rss) { in i40e_sw_init()
12794 if (pf->hw.func_caps.npar_enable || pf->hw.func_caps.flex10_enable) { in i40e_sw_init()
12810 if ((pf->hw.func_caps.fd_filters_guaranteed > 0) || in i40e_sw_init()
12811 (pf->hw.func_caps.fd_filters_best_effort > 0)) { in i40e_sw_init()
12820 pf->hw.func_caps.fd_filters_guaranteed; in i40e_sw_init()
12822 pf->hw.func_caps.fd_filters_best_effort; in i40e_sw_init()
12829 if (pf->hw.func_caps.vmdq && num_online_cpus() != 1) { in i40e_sw_init()
12835 if (pf->hw.func_caps.iwarp && num_online_cpus() != 1) { in i40e_sw_init()
12846 pf->hw.func_caps.npar_enable) in i40e_sw_init()
12850 if (pf->hw.func_caps.num_vfs && pf->hw.partition_id == 1) { in i40e_sw_init()
12854 pf->hw.func_caps.num_vfs, in i40e_sw_init()
12866 + (sizeof(u16) * pf->hw.func_caps.num_tx_qp); in i40e_sw_init()
12872 pf->qp_pile->num_entries = pf->hw.func_caps.num_tx_qp; in i40e_sw_init()
13994 !(pf->hw.func_caps.iscsi)) { /* NIC type PF */ in i40e_add_vsi()
14074 ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id; in i40e_add_vsi()
15180 queues_left = pf->hw.func_caps.num_tx_qp; in i40e_determine_queue_usage()
15224 q_max = min_t(int, q_max, pf->hw.func_caps.num_tx_qp); in i40e_determine_queue_usage()
15225 q_max = min_t(int, q_max, pf->hw.func_caps.num_msix_vectors); in i40e_determine_queue_usage()
15258 pf->hw.func_caps.num_tx_qp, in i40e_determine_queue_usage()
15315 pf->hw.func_caps.num_vsis, main_vsi->num_queue_pairs); in i40e_print_features()
15527 if (pf->hw.func_caps.num_vsis < I40E_MIN_VSI_ALLOC) in i40e_init_recovery_mode()
15530 pf->num_alloc_vsi = pf->hw.func_caps.num_vsis; in i40e_init_recovery_mode()
15840 err = i40e_init_lan_hmc(hw, hw->func_caps.num_tx_qp, in i40e_probe()
15841 hw->func_caps.num_rx_qp, 0, 0); in i40e_probe()
15946 if (pf->hw.func_caps.num_vsis < I40E_MIN_VSI_ALLOC) in i40e_probe()
15949 pf->num_alloc_vsi = pf->hw.func_caps.num_vsis; in i40e_probe()
16392 if (hw->func_caps.flex10_enable && hw->partition_id != 1) in i40e_enable_mc_magic_wake()