Searched refs:num_hwfns (Results 1 – 14 of 14) sorted by relevance
263 dev_info->num_hwfns = cdev->num_hwfns; in qed_fill_dev_info()425 (rc % cdev->num_hwfns)) { in qed_enable_msix()432 cnt = (rc / cdev->num_hwfns) * cdev->num_hwfns; in qed_enable_msix()485 if (cdev->num_hwfns == 1) { in qed_set_int_mode()522 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config()523 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_config()531 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean()532 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_clean()552 for (i = 0; i < cdev->num_hwfns; i++) { in qed_single_int()685 for (i = 0; i < cdev->num_hwfns; i++) { in qed_nic_stop()[all …]
2229 info->num_queues = cdev->num_hwfns; in qed_fill_eth_dev_info()2388 if (cdev->num_hwfns == 1) { in qed_update_vport_rss()2409 t_rss->rss_ind_table[i / cdev->num_hwfns] = cid; in qed_update_vport_rss()2414 for (i = 1; i < QED_RSS_IND_TABLE_SIZE / cdev->num_hwfns; i++) { in qed_update_vport_rss()2419 if (i == QED_RSS_IND_TABLE_SIZE / cdev->num_hwfns) { in qed_update_vport_rss()2440 rss = vzalloc(array_size(sizeof(*rss), cdev->num_hwfns)); in qed_update_vport()2501 hwfn_index = rss_num % cdev->num_hwfns; in qed_start_rxq()2504 p_params->queue_id = p_params->queue_id / cdev->num_hwfns; in qed_start_rxq()2531 hwfn_index = rss_id % cdev->num_hwfns; in qed_stop_rxq()2553 hwfn_index = rss_num % cdev->num_hwfns; in qed_start_txq()[all …]
87 if (p_hwfn->cdev->num_hwfns > 1) { in qed_hw_bar_size()1229 if (p_hwfn->cdev->num_hwfns > 1) in qed_calc_hw_mode()1443 if (p_hwfn->cdev->num_hwfns > 1) in qed_hw_init_pf_doorbell_bar()1715 if ((p_params->int_mode == QED_INT_MODE_MSI) && (cdev->num_hwfns > 1)) { in qed_hw_init()2832 if (QED_PATH_ID(p_hwfn) && cdev->num_hwfns == 1) { in qed_get_num_funcs()3042 cdev->num_hwfns = 2; in qed_get_dev_info()3044 cdev->num_hwfns = 1; in qed_get_dev_info()3182 if (cdev->num_hwfns > 1) { in qed_hw_prepare()4168 if (cdev->num_hwfns > 1) { in qed_configure_vport_wfq()4201 if (cdev->num_hwfns > 1) { in qed_configure_vp_wfq_on_link_change()[all …]
128 #define for_each_hwfn(cdev, i) for (i = 0; i < cdev->num_hwfns; i++)774 u8 num_hwfns; member
411 p_hwfn->cdev->num_hwfns = 2; in qed_vf_pf_acquire()454 p_hwfn->cdev->num_hwfns = 1; in qed_vf_hw_prepare()541 (p_hwfn->cdev->num_hwfns > 1)) { in qed_vf_hw_prepare()
885 if (cdev->num_hwfns > 1) in qed_rdma_get_sb_start()889 cdev->num_hwfns; in qed_rdma_get_sb_start()
1440 if (p_hwfn->cdev->num_hwfns > 1) in qed_iov_vf_mbx_acquire_resc_cids()1604 if ((p_hwfn->cdev->num_hwfns > 1) && in qed_iov_vf_mbx_acquire()1628 if (p_hwfn->cdev->num_hwfns > 1) in qed_iov_vf_mbx_acquire()4749 link.speed = (hwfn->cdev->num_hwfns > 1) ? in qed_inform_vf_link_state()
7968 if (cdev->num_hwfns == 1) in qed_dbg_all_data()7972 for (cur_engine = 0; cur_engine < cdev->num_hwfns; cur_engine++) { in qed_dbg_all_data()8140 for (cur_engine = 0; cur_engine < cdev->num_hwfns; cur_engine++) { in qed_dbg_all_data_size()
2110 num *= p_hwfn->cdev->num_hwfns; in qed_mcp_config_vf_msix_bb()
528 vector = dev->int_info.msix[i * dev->num_hwfns].vector; in qedr_sync_free_irqs()549 rc = request_irq(dev->int_info.msix[i * dev->num_hwfns].vector, in qedr_req_msix_irqs()885 dev->num_hwfns = dev_info.common.num_hwfns; in qedr_add()
164 u8 num_hwfns; member
407 return (!!(edev->dev_info.common.num_hwfns > 1)) << QEDE_PRI_FLAG_CMT; in qede_get_priv_flags()1052 if ((count % edev->dev_info.common.num_hwfns) || in qede_set_channels()1053 (channels->tx_count % edev->dev_info.common.num_hwfns) || in qede_set_channels()1054 (channels->rx_count % edev->dev_info.common.num_hwfns)) { in qede_set_channels()1057 edev->dev_info.common.num_hwfns); in qede_set_channels()1337 if (edev->dev_info.common.num_hwfns > 1) { in qede_set_rxfh()
786 if (!IS_VF(edev) && edev->dev_info.common.num_hwfns == 1) in qede_init_ndev()1227 edev->dev_info.common.num_hwfns; in qede_set_num_queues()2083 if (!IS_VF(edev) && edev->dev_info.common.num_hwfns == 1) { in qede_unload()2140 if (!IS_VF(edev) && edev->dev_info.common.num_hwfns == 1) { in qede_load()
605 u8 num_hwfns; member