[dpdk-dev] i40e igb_uio: reset pci on process exit
Shijith Thotton
shijith.thotton at caviumnetworks.com
Fri May 26 08:05:11 CEST 2017
On Fri, May 26, 2017 at 07:30:58AM +0300, Gregory Etelson wrote:
Hi Gregory,
The patch is useful for LiquidIO PMD as we can avoid VF FLR request to
PF. One comment inline..
[..]
> > >
> > > +static int
> > > +igbuio_pci_release(struct uio_info *info, struct inode *inode)
> > > +{
> > > + int ret;
> > > + struct rte_uio_pci_dev *udev = info->priv;
> > > + struct pci_dev *dev = udev->pdev;
> > > + ret = __pci_reset_function(dev);
s/__pci_reset_function/pci_reset_function
> > > + dev_info(&dev->dev, "pci_reset_function %s \n",
> > > + ret == 0 ? "succeded" : "failed");
> > > + return 0;
> > > +}
[..]
Thanks,
Shijith
More information about the dev
mailing list