Home
last modified time | relevance | path

Searched refs:msix_vec_count (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c231 int mlx5_core_sriov_set_msix_vec_count(struct pci_dev *vf, int msix_vec_count) in mlx5_core_sriov_set_msix_vec_count() argument
243 if (!msix_vec_count) in mlx5_core_sriov_set_msix_vec_count()
244 msix_vec_count = in mlx5_core_sriov_set_msix_vec_count()
252 return mlx5_set_msix_vec_count(dev, id + 1, msix_vec_count); in mlx5_core_sriov_set_msix_vec_count()
H A Dpci_irq.c87 int msix_vec_count) in mlx5_set_msix_vec_count() argument
107 if (msix_vec_count < min_msix) in mlx5_set_msix_vec_count()
110 if (msix_vec_count > max_msix) in mlx5_set_msix_vec_count()
129 MLX5_SET(cmd_hca_cap, cap, dynamic_msix_table_size, msix_vec_count); in mlx5_set_msix_vec_count()
H A Dmlx5_irq.h24 int msix_vec_count);
H A Dmlx5_core.h224 int mlx5_core_sriov_set_msix_vec_count(struct pci_dev *vf, int msix_vec_count);
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.h66 int ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count);
163 ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count) in ice_sriov_set_msix_vec_count() argument
H A Dice_sriov.c1057 int ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count) in ice_sriov_set_msix_vec_count() argument
1070 if (!msix_vec_count) in ice_sriov_set_msix_vec_count()
1073 queues = msix_vec_count; in ice_sriov_set_msix_vec_count()
1075 msix_vec_count += 1; in ice_sriov_set_msix_vec_count()
1081 if (msix_vec_count < ICE_MIN_INTR_PER_VF) in ice_sriov_set_msix_vec_count()
1105 if (ice_sriov_move_base_vector(pf, msix_vec_count - prev_msix)) { in ice_sriov_set_msix_vec_count()
1116 vf->num_msix = msix_vec_count; in ice_sriov_set_msix_vec_count()
/linux/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c684 if (vec > (AMD_DB_CNT - 1) || (ndev->msix_vec_count == 1)) in ndev_interrupt()
759 ndev->msix_vec_count = msix_max; in ndev_init_isr()
786 ndev->msix_vec_count = 1; in ndev_init_isr()
803 ndev->msix_vec_count = 1; in ndev_init_isr()
823 i = ndev->msix_vec_count; in ndev_deinit_isr()
890 "MSIX Vector Count -\t%u\n", ndev->msix_vec_count); in ndev_debugfs_read()
H A Dntb_hw_amd.h192 unsigned char msix_vec_count; member
/linux/include/linux/
H A Dpci.h952 int (*sriov_set_msix_vec_count)(struct pci_dev *vf, int msix_vec_count); /* On PF */