[ofa-general] Re: [PATCH] IB/mlx4: enable MSI-X by default
Michael S. Tsirkin
mst at dev.mellanox.co.il
Thu Jul 19 09:18:52 PDT 2007
> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [PATCH] IB/mlx4: enable MSI-X by default
>
> > + mlx4_enable_msi_x(dev);
> > +
> > err = mlx4_init_hca(dev);
> > + if (err == -EBUSY && (dev->flags & MLX4_FLAG_MSI_X)) {
> > + mlx4_warn(dev, "Trying again with MSI/MSI-X disabled.\n");
> > + dev->flags &= ~MLX4_FLAG_MSI_X;
> > + pci_disable_msix(pdev);
> > + err = mlx4_init_hca(dev);
> > + }
> > +
> > if (err)
> > goto err_cmd;
> >
> > + mlx4_enable_msi_x(dev);
> > +
>
> Am I misreading the code or is that last mlx4_enable_msi_x() wrong?
Hmm, looks like it is ..
--
MST
More information about the general
mailing list