Searched refs:num_msix (Results 1 - 22 of 22) sorted by relevance

/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c67 last_vector_idx = vf->first_vector_idx + vf->num_msix - 1;
105 last = first + vf->num_msix - 1;
267 pf_based_last_msix = (pf_based_first_msix + vf->num_msix) - 1;
272 (device_based_first_msix + vf->num_msix) - 1;
540 int bm_i = pf->sriov_irq_size - vf->first_vector_idx - vf->num_msix;
542 bitmap_clear(pf->sriov_irq_bm, bm_i, vf->num_msix);
559 vf->first_vector_idx = ice_sriov_get_irqs(pf, vf->num_msix);
837 vf->num_msix = pf->vfs.num_msix_per;
1041 ice_sriov_get_irqs(pf, tmp_vf->num_msix);
1109 prev_msix = vf->num_msix;
[all...]
H A Dice_vf_lib.h134 u16 num_msix; /* num of MSI-X configured on this VF */ member in struct:ice_vf
H A Dice_virtchnl.c497 vfres->max_vectors = vf->num_msix;
1579 vf->num_msix < num_q_vectors_mapped ||
1601 if (!(vector_id < vf->num_msix) ||
H A Dice_lib.c239 vsi->num_q_vectors = vf->num_msix - ICE_NONQ_VECS_VF;
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_main.c665 int num_msix = 0, err = 0, vector; local
670 num_msix += adapter->drv_tss_rings;
672 num_msix += adapter->drv_tx_rings;
675 num_msix += adapter->drv_rss_rings;
677 num_msix += adapter->drv_sds_rings;
680 num_msix += 1;
683 adapter->msix_entries = kcalloc(num_msix,
690 for (vector = 0; vector < num_msix; vector++)
694 err = pci_enable_msix_exact(pdev, adapter->msix_entries, num_msix);
701 num_msix, er
732 qlcnic_enable_msix(struct qlcnic_adapter *adapter, u32 num_msix) argument
807 int num_msix; local
855 int num_msix, err = 0; local
[all...]
H A Dqlcnic_83xx_hw.c345 int num_msix; local
347 num_msix = adapter->drv_sds_rings;
350 num_msix += 1;
353 num_msix += adapter->drv_tx_rings;
355 return num_msix;
361 int err, i, num_msix; local
367 num_msix = ahw->num_msix;
369 num_msix = qlcnic_83xx_calculate_msix_vector(adapter);
371 err = qlcnic_enable_msix(adapter, num_msix);
570 u32 num_msix; local
[all...]
H A Dqlcnic_sriov_pf.c1780 QLCWRX(ahw, QLCNIC_MBX_INTR_ENBL, (ahw->num_msix - 1) << 8);
H A Dqlcnic_ctx.c781 for (i = 0; i < ahw->num_msix; i++) {
H A Dqlcnic.h490 u8 num_msix; member in struct:qlcnic_hardware_context
H A Dqlcnic_sriov_common.c1721 u8 i, max_ints = ahw->num_msix - 1;
H A Dqlcnic_83xx_init.c409 for (i = 0; i < adapter->ahw->num_msix; i++) {
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dbnxt_re.h157 int num_msix; member in struct:bnxt_re_dev
H A Dmain.c308 for (indx = BNXT_RE_NQ_IDX; indx < rdev->num_msix; indx++) {
337 for (indx = 0; indx < rdev->num_msix; indx++)
346 for (indx = BNXT_RE_NQ_IDX ; indx < rdev->num_msix; indx++) {
893 ibdev->num_comp_vectors = rdev->num_msix - 1;
1228 for (i = 1; i < rdev->num_msix; i++)
1243 for (i = 1; i < rdev->num_msix ; i++) {
1268 for (i = 0; i < rdev->num_msix - 1; i++) {
1314 for (i = 0; i < rdev->num_msix - 1; i++) {
1569 rdev->num_msix = 0;
1626 rdev->num_msix
[all...]
H A Dib_verbs.c3016 nq = &rdev->nq[nq_alloc_cnt % (rdev->num_msix - 1)];
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_main.c112 int num_msix, msix_allocated; local
116 //num_msix = oct->num_oqs + CFG_GET_NON_IOQ_MSIX(oct->conf);
117 num_msix = oct->num_oqs;
118 oct->msix_entries = kcalloc(num_msix, sizeof(struct msix_entry), GFP_KERNEL);
122 for (i = 0; i < num_msix; i++)
126 num_msix, num_msix);
127 if (msix_allocated != num_msix) {
130 num_msix, msix_allocated);
/linux-master/drivers/scsi/isci/
H A Dinit.c333 int err, i, num_msix; local
341 num_msix = num_controllers(pdev) * SCI_NUM_MSI_X_INT;
343 err = pci_alloc_irq_vectors(pdev, num_msix, num_msix, PCI_IRQ_MSIX);
347 for (i = 0; i < num_msix; i++) {
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ulp.c34 int num_msix, idx, i; local
40 num_msix = edev->ulp_tbl->msix_requested;
42 for (i = 0; i < num_msix; i++) {
H A Dbnxt_hsi.h1630 __le16 num_msix; member in struct:hwrm_func_vf_cfg_input
2018 __le16 num_msix; member in struct:hwrm_func_cfg_input
H A Dbnxt.c7158 req->num_msix = cpu_to_le16(hwr->cp);
/linux-master/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.c113 int num_msix, msix_allocated; local
117 num_msix = oct->num_oqs + CFG_GET_NON_IOQ_MSIX(oct->conf);
118 oct->msix_entries = kcalloc(num_msix,
123 for (i = 0; i < num_msix; i++)
127 num_msix, num_msix);
128 if (msix_allocated != num_msix) {
131 num_msix, msix_allocated);
/linux-master/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c598 int vecs, num_msix = pci_msix_vec_count(pdev); local
600 if (num_msix < 0)
601 return num_msix;
602 if (min_vecs > num_msix)
605 vecs = pci_alloc_irq_vectors(pdev, min_vecs, num_msix, PCI_IRQ_MSIX);
609 vecs, num_msix);
/linux-master/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c607 int num_msix)
614 netxen_init_msix_entries(adapter, num_msix);
616 num_msix, num_msix);
622 adapter->max_sds_rings = num_msix;
646 int num_msix; local
649 num_msix = (num_online_cpus() >= MSIX_ENTRIES_PER_ADAPTER) ?
652 num_msix = 1;
661 if (!netxen_setup_msi_interrupts(adapter, num_msix))
667 netxen_setup_msi_interrupts(adapter, num_msix)) {
606 netxen_setup_msi_interrupts(struct netxen_adapter *adapter, int num_msix) argument
[all...]

Completed in 636 milliseconds