Searched refs:num_hwfns (Results 1 – 14 of 14) sorted by relevance
399 dev_info->num_hwfns = cdev->num_hwfns; in qed_fill_dev_info() 568 (rc % cdev->num_hwfns)) { in qed_enable_msix() 575 cnt = (rc / cdev->num_hwfns) * cdev->num_hwfns; in qed_enable_msix() 633 if (cdev->num_hwfns == 1) { in qed_set_int_mode() 670 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config() 671 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_config() 679 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean() 680 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_clean() [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++)770 u8 num_hwfns; member 914 #define QED_IS_CMT(dev) ((dev)->num_hwfns > 1)
115 if (cdev->num_hwfns > 1) in qed_db_rec_find_hwfn() 1264 if (p_hwfn->cdev->num_hwfns > 1) { in qed_hw_bar_size() 2538 if (p_hwfn->cdev->num_hwfns > 1) in qed_calc_hw_mode() 2770 if (p_hwfn->cdev->num_hwfns > 1) in qed_hw_init_pf_doorbell_bar() 3057 if ((p_params->int_mode == QED_INT_MODE_MSI) && (cdev->num_hwfns > 1)) { in qed_hw_init() 4412 if (QED_PATH_ID(p_hwfn) && cdev->num_hwfns == 1) { in qed_get_num_funcs() 4459 if (cdev->num_hwfns > 1) { in qed_hw_info_port_num() 4611 cdev->num_hwfns = 2; in qed_get_dev_info() 4613 cdev->num_hwfns = 1; in qed_get_dev_info() 4750 if (cdev->num_hwfns > in qed_hw_prepare() [all...]
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()
8280 for (cur_engine = 0; cur_engine < cdev->num_hwfns; cur_engine++) { in qed_dbg_all_data() 8521 for (cur_engine = 0; cur_engine < cdev->num_hwfns; cur_engine++) { in qed_dbg_all_data_size()
2689 num *= p_hwfn->cdev->num_hwfns; in qed_mcp_config_vf_msix_bb()
159 u8 num_hwfns; member 160 #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()
465 if (edev->dev_info.common.num_hwfns > 1) in qede_get_priv_flags() 1111 if ((count % edev->dev_info.common.num_hwfns) || in qede_set_channels() 1112 (channels->tx_count % edev->dev_info.common.num_hwfns) || in qede_set_channels() 1113 (channels->rx_count % edev->dev_info.common.num_hwfns)) { in qede_set_channels() 1116 edev->dev_info.common.num_hwfns); in qede_set_channels() 1397 if (edev->dev_info.common.num_hwfns > 1) { in qede_set_rxfh()
1468 edev->dev_info.common.num_hwfns; in qede_set_num_queues()
1386 idx = i * qedi->dev_info.common.num_hwfns + in qedi_sync_free_irqs() 1414 idx = i * qedi->dev_info.common.num_hwfns + in qedi_request_msix_irq() 1418 "dev_info: num_hwfns=%d affin_hwfn_idx=%d.\n", in qedi_request_msix_irq() 1419 qedi->dev_info.common.num_hwfns, in qedi_request_msix_irq() 2578 "dev_info: num_hwfns=%d affin_hwfn_idx=%d.\n", in __qedi_probe() 2579 qedi->dev_info.common.num_hwfns, in __qedi_probe()
625 u8 num_hwfns; member