Searched refs:num_msix (Results 1 – 15 of 15) sorted by relevance
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 665 int num_msix = 0, err = 0, vector; in qlcnic_setup_tss_rss_intr() local 670 num_msix += adapter->drv_tss_rings; in qlcnic_setup_tss_rss_intr() 672 num_msix += adapter->drv_tx_rings; in qlcnic_setup_tss_rss_intr() 675 num_msix += adapter->drv_rss_rings; in qlcnic_setup_tss_rss_intr() 677 num_msix += adapter->drv_sds_rings; in qlcnic_setup_tss_rss_intr() 680 num_msix += 1; in qlcnic_setup_tss_rss_intr() 683 adapter->msix_entries = kcalloc(num_msix, in qlcnic_setup_tss_rss_intr() 690 for (vector = 0; vector < num_msix; vector++) in qlcnic_setup_tss_rss_intr() 694 err = pci_enable_msix_exact(pdev, adapter->msix_entries, num_msix); in qlcnic_setup_tss_rss_intr() 701 num_msix, err); in qlcnic_setup_tss_rss_intr() [all …]
|
D | qlcnic_83xx_hw.c | 346 int num_msix; in qlcnic_83xx_calculate_msix_vector() local 348 num_msix = adapter->drv_sds_rings; in qlcnic_83xx_calculate_msix_vector() 351 num_msix += 1; in qlcnic_83xx_calculate_msix_vector() 354 num_msix += adapter->drv_tx_rings; in qlcnic_83xx_calculate_msix_vector() 356 return num_msix; in qlcnic_83xx_calculate_msix_vector() 362 int err, i, num_msix; in qlcnic_83xx_setup_intr() local 368 num_msix = ahw->num_msix; in qlcnic_83xx_setup_intr() 370 num_msix = qlcnic_83xx_calculate_msix_vector(adapter); in qlcnic_83xx_setup_intr() 372 err = qlcnic_enable_msix(adapter, num_msix); in qlcnic_83xx_setup_intr() 377 num_msix = ahw->num_msix; in qlcnic_83xx_setup_intr() [all …]
|
D | qlcnic_ctx.c | 781 for (i = 0; i < ahw->num_msix; i++) { in qlcnic_82xx_config_intrpt()
|
D | qlcnic.h | 490 u8 num_msix; member
|
D | qlcnic_sriov_pf.c | 1780 QLCWRX(ahw, QLCNIC_MBX_INTR_ENBL, (ahw->num_msix - 1) << 8); in qlcnic_sriov_pf_reset()
|
D | qlcnic_sriov_common.c | 1722 u8 i, max_ints = ahw->num_msix - 1; in qlcnic_sriov_vf_detach()
|
D | qlcnic_83xx_init.c | 409 for (i = 0; i < adapter->ahw->num_msix; i++) { in qlcnic_83xx_idc_detach_driver()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 101 int num_msix, idx, i; in bnxt_fill_msix_vecs() local 103 num_msix = edev->ulp_tbl[BNXT_ROCE_ULP].msix_requested; in bnxt_fill_msix_vecs() 105 for (i = 0; i < num_msix; i++) { in bnxt_fill_msix_vecs() 119 struct bnxt_msix_entry *ent, int num_msix) in bnxt_req_msix_vecs() argument 140 avail_msix = bnxt_get_avail_msix(bp, num_msix); in bnxt_req_msix_vecs() 143 if (avail_msix > num_msix) in bnxt_req_msix_vecs() 144 avail_msix = num_msix; in bnxt_req_msix_vecs()
|
D | bnxt_hsi.h | 1774 __le16 num_msix; member
|
D | bnxt.c | 6098 req->num_msix = cpu_to_le16(cp_rings); in __bnxt_hwrm_reserve_pf_rings()
|
/drivers/scsi/isci/ |
D | init.c | 335 int err, i, num_msix; in isci_setup_interrupts() local 343 num_msix = num_controllers(pdev) * SCI_NUM_MSI_X_INT; in isci_setup_interrupts() 345 err = pci_alloc_irq_vectors(pdev, num_msix, num_msix, PCI_IRQ_MSIX); in isci_setup_interrupts() 349 for (i = 0; i < num_msix; i++) { in isci_setup_interrupts()
|
/drivers/infiniband/hw/bnxt_re/ |
D | main.c | 302 for (indx = BNXT_RE_NQ_IDX; indx < rdev->num_msix; indx++) { in bnxt_re_stop_irq() 331 for (indx = 0; indx < rdev->num_msix; indx++) in bnxt_re_start_irq() 340 for (indx = BNXT_RE_NQ_IDX ; indx < rdev->num_msix; indx++) { in bnxt_re_start_irq() 438 rdev->num_msix = num_msix_got; in bnxt_re_request_msix() 738 ibdev->num_comp_vectors = rdev->num_msix - 1; in bnxt_re_register_ib() 943 for (i = 1; i < rdev->num_msix; i++) in bnxt_re_cleanup_res() 958 for (i = 1; i < rdev->num_msix ; i++) { in bnxt_re_init_res() 983 for (i = 0; i < rdev->num_msix - 1; i++) { in bnxt_re_free_nq_res() 1031 for (i = 0; i < rdev->num_msix - 1; i++) { in bnxt_re_alloc_res()
|
D | bnxt_re.h | 148 int num_msix; member
|
D | ib_verbs.c | 2878 nq = &rdev->nq[nq_alloc_cnt % (rdev->num_msix - 1)]; in bnxt_re_create_cq()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 609 int num_msix) in netxen_setup_msi_interrupts() argument 616 netxen_init_msix_entries(adapter, num_msix); in netxen_setup_msi_interrupts() 618 num_msix, num_msix); in netxen_setup_msi_interrupts() 624 adapter->max_sds_rings = num_msix; in netxen_setup_msi_interrupts() 648 int num_msix; in netxen_setup_intr() local 651 num_msix = (num_online_cpus() >= MSIX_ENTRIES_PER_ADAPTER) ? in netxen_setup_intr() 654 num_msix = 1; in netxen_setup_intr() 663 if (!netxen_setup_msi_interrupts(adapter, num_msix)) in netxen_setup_intr() 669 netxen_setup_msi_interrupts(adapter, num_msix)) { in netxen_setup_intr()
|