Home
last modified time | relevance | path

Searched refs:max_msix (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/scsi/aacraid/
Dcomminit.c121 init->r8.rr_queue_count = cpu_to_le32(dev->max_msix); in aac_alloc_comm()
127 for (i = 0; i < dev->max_msix; i++) { in aac_alloc_comm()
217 cpu_to_le32(dev->max_msix); in aac_alloc_comm()
461 if (dev->max_msix == 0 || in aac_define_int_mode()
464 dev->max_msix = 1; in aac_define_int_mode()
472 msi_count = min(dev->max_msix, in aac_define_int_mode()
475 dev->max_msix = msi_count; in aac_define_int_mode()
497 dev->max_msix = msi_count = 1; in aac_define_int_mode()
499 if (dev->max_msix > msi_count) in aac_define_int_mode()
500 dev->max_msix = msi_count; in aac_define_int_mode()
[all …]
Dsrc.c155 if (dev->msi_enabled && dev->max_msix > 1) in aac_src_intr_message()
310 dev->max_msix = in src_sync_cmd()
398 for (i = 0; i < dev->max_msix; i++) { in aac_src_start_adapter()
474 return atomic_inc_return(&dev->msix_counter)%dev->max_msix; in aac_get_vector()
502 if (dev->msi_enabled && dev->max_msix > 1 && in aac_src_deliver_message()
Dcommsup.c111 if ((dev->max_msix == 1) || in aac_fib_vector_assign()
118 if (vector == dev->max_msix) in aac_fib_vector_assign()
2530 if (!dev->sync_mode && dev->msi_enabled && dev->max_msix > 1) { in aac_acquire_irq()
2531 for (i = 0; i < dev->max_msix; i++) { in aac_acquire_irq()
2568 if (dev->max_msix > 1) { in aac_free_irq()
2569 for (i = 0; i < dev->max_msix; i++) in aac_free_irq()
2580 else if (dev->max_msix > 1) in aac_free_irq()
Dlinit.c1538 if (aac->max_msix > 1) { in __aac_shutdown()
1539 for (i = 0; i < aac->max_msix; i++) { in __aac_shutdown()
1552 else if (aac->max_msix > 1) in __aac_shutdown()
1849 dev->init->r7.no_of_msix_vectors = cpu_to_le32(dev->max_msix); in aac_acquire_resources()
Daacraid.h1668 u32 max_msix; /* max. MSI-X vectors */ member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c61 int num_vf_msix, min_msix, max_msix; in mlx5_get_default_msix_vec_count() local
68 max_msix = MLX5_CAP_GEN(dev, max_dynamic_vf_msix_table_size); in mlx5_get_default_msix_vec_count()
75 return max(min(num_vf_msix / num_vfs, max_msix / 2), min_msix); in mlx5_get_default_msix_vec_count()
90 int num_vf_msix, min_msix, max_msix; in mlx5_set_msix_vec_count() local
103 max_msix = MLX5_CAP_GEN(dev, max_dynamic_vf_msix_table_size); in mlx5_set_msix_vec_count()
108 if (msix_vec_count > max_msix) in mlx5_set_msix_vec_count()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c609 int nvecs, offset, max_msix; in rvu_setup_msix_resources() local
696 max_msix = cfg & 0xFFFFF; in rvu_setup_msix_resources()
703 max_msix * PCI_MSIX_ENTRY_SIZE, in rvu_setup_msix_resources()
728 int id, max_msix; in rvu_free_hw_resources() local
756 max_msix = cfg & 0xFFFFF; in rvu_free_hw_resources()
758 max_msix * PCI_MSIX_ENTRY_SIZE, in rvu_free_hw_resources()
/linux-6.6.21/include/net/mana/
Dgdma.h599 u32 max_msix; member
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/
Dgdma_main.c80 if (gc->num_msix_usable > resp.max_msix) in mana_gd_query_max_resources()
81 gc->num_msix_usable = resp.max_msix; in mana_gd_query_max_resources()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c598 req->max_msix = cpu_to_le16(vf_msix / num_vfs); in bnxt_hwrm_func_vf_resc_cfg()
Dbnxt_hsi.h2445 __le16 max_msix; member
2486 __le16 max_msix; member
Dbnxt.c7585 u16 max_msix = le16_to_cpu(resp->max_msix); in bnxt_hwrm_func_resc_qcaps() local
7587 hw_resc->max_nqs = max_msix; in bnxt_hwrm_func_resc_qcaps()