Searched refs:num_hwfns (Results 1 – 16 of 16) sorted by relevance
400 dev_info->num_hwfns = cdev->num_hwfns; in qed_fill_dev_info()569 (rc % cdev->num_hwfns)) { in qed_enable_msix()576 cnt = (rc / cdev->num_hwfns) * cdev->num_hwfns; in qed_enable_msix()634 if (cdev->num_hwfns == 1) { in qed_set_int_mode()671 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config()672 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_config()680 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean()681 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_clean()701 for (i = 0; i < cdev->num_hwfns; i++) { in qed_single_int()833 for (i = 0; i < cdev->num_hwfns; i++) { in qed_nic_stop()[all …]
2235 info->num_queues = cdev->num_hwfns; in qed_fill_eth_dev_info()2394 if (cdev->num_hwfns == 1) { in qed_update_vport_rss()2415 t_rss->rss_ind_table[i / cdev->num_hwfns] = cid; in qed_update_vport_rss()2420 for (i = 1; i < QED_RSS_IND_TABLE_SIZE / cdev->num_hwfns; i++) { in qed_update_vport_rss()2425 if (i == QED_RSS_IND_TABLE_SIZE / cdev->num_hwfns) { in qed_update_vport_rss()2446 rss = vzalloc(array_size(sizeof(*rss), cdev->num_hwfns)); in qed_update_vport()2507 hwfn_index = rss_num % cdev->num_hwfns; in qed_start_rxq()2510 p_params->queue_id = p_params->queue_id / cdev->num_hwfns; in qed_start_rxq()2537 hwfn_index = rss_id % cdev->num_hwfns; in qed_stop_rxq()2559 hwfn_index = rss_num % cdev->num_hwfns; in qed_start_txq()[all …]
97 #define for_each_hwfn(cdev, i) for (i = 0; i < (cdev)->num_hwfns; i++)772 u8 num_hwfns; member916 #define QED_IS_CMT(dev) ((dev)->num_hwfns > 1)
115 if (cdev->num_hwfns > 1) in qed_db_rec_find_hwfn()1283 if (p_hwfn->cdev->num_hwfns > 1) { in qed_hw_bar_size()2557 if (p_hwfn->cdev->num_hwfns > 1) in qed_calc_hw_mode()2789 if (p_hwfn->cdev->num_hwfns > 1) in qed_hw_init_pf_doorbell_bar()3076 if ((p_params->int_mode == QED_INT_MODE_MSI) && (cdev->num_hwfns > 1)) { in qed_hw_init()4431 if (QED_PATH_ID(p_hwfn) && cdev->num_hwfns == 1) { in qed_get_num_funcs()4478 if (cdev->num_hwfns > 1) { in qed_hw_info_port_num()4630 cdev->num_hwfns = 2; in qed_get_dev_info()4632 cdev->num_hwfns = 1; in qed_get_dev_info()4769 if (cdev->num_hwfns > 1) { in qed_hw_prepare()[all …]
405 p_hwfn->cdev->num_hwfns = 2; in qed_vf_pf_acquire()448 p_hwfn->cdev->num_hwfns = 1; in qed_vf_hw_prepare()538 (p_hwfn->cdev->num_hwfns > 1)) { in qed_vf_hw_prepare()
871 if (cdev->num_hwfns > 1) in qed_rdma_get_sb_start()875 cdev->num_hwfns; in qed_rdma_get_sb_start()
1424 if (p_hwfn->cdev->num_hwfns > 1) in qed_iov_vf_mbx_acquire_resc_cids()1588 if ((p_hwfn->cdev->num_hwfns > 1) && in qed_iov_vf_mbx_acquire()1612 if (p_hwfn->cdev->num_hwfns > 1) in qed_iov_vf_mbx_acquire()4782 link.speed = (hwfn->cdev->num_hwfns > 1) ? in qed_inform_vf_link_state()
8305 for (cur_engine = 0; cur_engine < cdev->num_hwfns; cur_engine++) { in qed_dbg_all_data()8546 for (cur_engine = 0; cur_engine < cdev->num_hwfns; cur_engine++) { in qed_dbg_all_data_size()
2695 num *= p_hwfn->cdev->num_hwfns; in qed_mcp_config_vf_msix_bb()
159 u8 num_hwfns; member160 #define QEDR_IS_CMT(dev) ((dev)->num_hwfns > 1)
508 idx = i * dev->num_hwfns + dev->affin_hwfn_idx; in qedr_sync_free_irqs()530 idx = i * dev->num_hwfns + dev->affin_hwfn_idx; in qedr_req_msix_irqs()879 dev->num_hwfns = dev_info.common.num_hwfns; in qedr_add()
491 if (edev->dev_info.common.num_hwfns > 1) in qede_get_priv_flags()1137 if ((count % edev->dev_info.common.num_hwfns) || in qede_set_channels()1138 (channels->tx_count % edev->dev_info.common.num_hwfns) || in qede_set_channels()1139 (channels->rx_count % edev->dev_info.common.num_hwfns)) { in qede_set_channels()1142 edev->dev_info.common.num_hwfns); in qede_set_channels()1422 if (edev->dev_info.common.num_hwfns > 1) { in qede_set_rxfh()
1468 edev->dev_info.common.num_hwfns; in qede_set_num_queues()
1385 idx = i * qedi->dev_info.common.num_hwfns + in qedi_sync_free_irqs()1413 idx = i * qedi->dev_info.common.num_hwfns + in qedi_request_msix_irq()1418 qedi->dev_info.common.num_hwfns, in qedi_request_msix_irq()2588 qedi->dev_info.common.num_hwfns, in __qedi_probe()
625 u8 num_hwfns; member
2376 vector_idx = i * qedf->dev_info.common.num_hwfns + in qedf_sync_free_irqs()2403 vector_idx = i * qedf->dev_info.common.num_hwfns + in qedf_request_msix_irq()3413 qedf->dev_info.common.num_hwfns, in __qedf_probe()