Re: [PATCH V5 11/11] [SCSI] aacraid: Requests at least 2 MSIx in pci_enable_msix_range()

Tomas Henzl
2015-07-23T12:55:08Z

On 22.7.2015 18:49, rajinikanth.pandurangan@pmcs.com wrote:
> From: Rajinikanth Pandurangan <rajinikanth.pandurangan@pmcs.com>
>
> Description:
> In MSIx mode, we need at least 2 vectors.
>
> Changes from V4:
> Newly created for V5 based on review comment.
>
> Signed-off-by: Rajinikanth Pandurangan <rajinikanth.pandurangan@pmcs.

Reviewed-by: Tomas Henzl <thenzl@redhat.com>

Tomas

> ---
> drivers/scsi/aacraid/comminit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c
> index a02cfb3..0e954e3 100644
> --- a/drivers/scsi/aacraid/comminit.c
> +++ b/drivers/scsi/aacraid/comminit.c
> @@ -366,7 +366,7 @@ void aac_define_int_mode(struct aac_dev *dev)
>
> if (msi_count > 1 &&
> pci_find_capability(dev->pdev, PCI_CAP_ID_MSIX)) {
> - min_msix = 1;
> + min_msix = 2;
> i = pci_enable_msix_range(dev->pdev,
> dev->msixentry,
> min_msix,
>