Searched refs:num_hwfns (Results 1 – 16 of 16) sorted by relevance
427 dev_info->num_hwfns = cdev->num_hwfns; in qed_fill_dev_info()596 (rc % cdev->num_hwfns)) { in qed_enable_msix()603 cnt = (rc / cdev->num_hwfns) * cdev->num_hwfns; in qed_enable_msix()661 if (cdev->num_hwfns == 1) { in qed_set_int_mode()910 limit = cdev->num_hwfns * 63; in qed_set_int_fp()984 cdev->num_hwfns; in qed_slowpath_setup_int()1000 / cdev->num_hwfns; in qed_slowpath_setup_int()1024 if (cdev->num_hwfns > 1) { in qed_slowpath_vf_setup_int()1291 if (cdev->num_hwfns == 1) { in qed_slowpath_start()1433 if (cdev->num_hwfns == 1) in qed_slowpath_stop()[all …]
2226 info->num_queues = cdev->num_hwfns; in qed_fill_eth_dev_info()2385 if (cdev->num_hwfns == 1) { in qed_update_vport_rss()2406 t_rss->rss_ind_table[i / cdev->num_hwfns] = cid; in qed_update_vport_rss()2416 if (i == QED_RSS_IND_TABLE_SIZE / cdev->num_hwfns) { in qed_update_vport_rss()2437 rss = vzalloc(array_size(sizeof(*rss), cdev->num_hwfns)); in qed_update_vport()2498 hwfn_index = rss_num % cdev->num_hwfns; in qed_start_rxq()2501 p_params->queue_id = p_params->queue_id / cdev->num_hwfns; in qed_start_rxq()2528 hwfn_index = rss_id % cdev->num_hwfns; in qed_stop_rxq()2550 hwfn_index = rss_num % cdev->num_hwfns; in qed_start_txq()2552 p_params->queue_id = p_params->queue_id / 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; member917 #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()4428 if (QED_PATH_ID(p_hwfn) && cdev->num_hwfns == 1) { in qed_get_num_funcs()4475 if (cdev->num_hwfns > 1) { in qed_hw_info_port_num()4627 cdev->num_hwfns = 2; in qed_get_dev_info()4629 cdev->num_hwfns = 1; in qed_get_dev_info()4766 if (cdev->num_hwfns > 1) { in qed_hw_prepare()5213 if (cdev->num_hwfns > 1) { in qed_configure_vport_wfq()[all …]
408 p_hwfn->cdev->num_hwfns = 2; in qed_vf_pf_acquire()451 p_hwfn->cdev->num_hwfns = 1; in qed_vf_hw_prepare()538 (p_hwfn->cdev->num_hwfns > 1)) { in qed_vf_hw_prepare()
889 if (cdev->num_hwfns > 1) in qed_rdma_get_sb_start()893 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()4763 link.speed = (hwfn->cdev->num_hwfns > 1) ? in qed_inform_vf_link_state()
8292 for (cur_engine = 0; cur_engine < cdev->num_hwfns; cur_engine++) { in qed_dbg_all_data()8533 for (cur_engine = 0; cur_engine < cdev->num_hwfns; cur_engine++) { in qed_dbg_all_data_size()
2633 num *= p_hwfn->cdev->num_hwfns; in qed_mcp_config_vf_msix_bb()
501 idx = i * dev->num_hwfns + dev->affin_hwfn_idx; in qedr_sync_free_irqs()524 idx = i * dev->num_hwfns + dev->affin_hwfn_idx; in qedr_req_msix_irqs()873 dev->num_hwfns = dev_info.common.num_hwfns; in qedr_add()
159 u8 num_hwfns; member160 #define QEDR_IS_CMT(dev) ((dev)->num_hwfns > 1)
483 if (edev->dev_info.common.num_hwfns > 1) in qede_get_priv_flags()1103 if ((count % edev->dev_info.common.num_hwfns) || in qede_set_channels()1104 (channels->tx_count % edev->dev_info.common.num_hwfns) || in qede_set_channels()1105 (channels->rx_count % edev->dev_info.common.num_hwfns)) { in qede_set_channels()1108 edev->dev_info.common.num_hwfns); in qede_set_channels()1388 if (edev->dev_info.common.num_hwfns > 1) { in qede_set_rxfh()
1363 edev->dev_info.common.num_hwfns; in qede_set_num_queues()
1384 idx = i * qedi->dev_info.common.num_hwfns + in qedi_sync_free_irqs()1412 idx = i * qedi->dev_info.common.num_hwfns + in qedi_request_msix_irq()1417 qedi->dev_info.common.num_hwfns, in qedi_request_msix_irq()2570 qedi->dev_info.common.num_hwfns, in __qedi_probe()
625 u8 num_hwfns; member
2355 vector_idx = i * qedf->dev_info.common.num_hwfns + in qedf_sync_free_irqs()2382 vector_idx = i * qedf->dev_info.common.num_hwfns + in qedf_request_msix_irq()3390 qedf->dev_info.common.num_hwfns, in __qedf_probe()
Completed in 98 milliseconds